echidna icon indicating copy to clipboard operation
echidna copied to clipboard

Show how many times a property/assertion was covered

Open montyly opened this issue 1 year ago • 1 comments

When a property passed, we should show some statistics, for example:

  • number of times the assertion was executed
  • % of times the assertion was executed when the current function was called

This will help evaluating the probabilistic guarantees of a property. We could also provide a config option, like:

  • assertionIteration: number of times every assertion must be executed before the fuzzing stops (note: assertionIteration is not a great name)

This will allow long fuzzing campaign to be run until some threshold of number of execution is reached per assertion, instead of number of total transaction calls.

Related to https://github.com/crytic/echidna/issues/1055

montyly avatar May 24 '23 10:05 montyly

means echidna need to count the number of times the process runs and show it in to output , so I think we need to use the time complexity function of data structure

BrightTNut avatar Jun 20 '23 17:06 BrightTNut