Giter Club home page Giter Club logo

Comments (3)

franck44 avatar franck44 commented on July 30, 2024

Stats (per file) can be collected using the Dafny command line /stats for each file.
e.g.

$ dafny /dafnyVerify:1 /compile:0  /stats Serialise.dfy 
Dafny 2.3.0.10506

Dafny program verifier finished with 7 verified, 0 errors

Statistics
----------
Call graph width (max)     13
Classes                     3
Datatypes                   5
Functions (total)          15
Functions recursive         3
Methods (total)            18
Methods ghost              18
Module height (max)        19
Modules                     8

Not sure if the /stats flag is recursive (seems to collect 8 modules in this file ...)

from eth2.0-dafny.

booleanfunction avatar booleanfunction commented on July 30, 2024

Python notebook created to automate the process of collecting stats relating to the Dafny files.

This notebook is a first cut and is not efficient. It should also be converted to a python script once finalised.

from eth2.0-dafny.

franck44 avatar franck44 commented on July 30, 2024

The scripts (script folder) have been updated. It is also possible to generate a call graph using Dafny call graph features.

from eth2.0-dafny.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.