jalextowle / coverage Goto Github PK
View Code? Open in Web Editor NEWA solidity code coverage tool
A solidity code coverage tool
After modifying ganache-core and ganache-cli to print the codehash and the bytecode of a given contract, it has become apparent that the bytecode will not be printed if the currently executing code is the code of a constructor (this makes sense because the code is stored after the call to the constructor).
With this in mind, I am going to continue to address the parts of analysis that do not have this issue, and return to this consideration later.
To create new test cases as well as to create the code coverage tool, I will need to specify the input format to the tool. There are two types of input to specify: (1) The RPC input that includes codehashes, a list of program counters, and any other information about the VM state during the test execution and (2) The bytecode and deployed bytecode input.
Currently the strip module will return a list of the name, bytecode, and deployed bytecode of every contract represented in the build folder. This is a good start, but more needs to be done. There are some things that I doubt I will need that are in the logs, and these should be cleaned from the logs output.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.