crytic / medusa

Parallelized, coverage-guided, mutational Solidity smart contract fuzzing, powered by go-ethereum
https://www.trailofbits.com/
GNU Affero General Public License v3.0
273 stars 33 forks source link

Files with no coverage should be marked 0% #296

Closed damilolaedwards closed 4 months ago

damilolaedwards commented 4 months ago

In the coverage report generated during fuzzing, if a file has no coverage (e.g interfaces), medusa calculates a 100% coverage for the file since 0/0 = 100%. In this case it should be marked 0% sample

anishnaik commented 4 months ago

Agreed :) This PR should solve it https://github.com/crytic/medusa/pull/216