echidna icon indicating copy to clipboard operation
echidna copied to clipboard

Add html coverage output

Open samalws opened this issue 4 years ago • 1 comments

This PR adds an extra coverage output (generated in the corpus directory) that is in html, and has color-coded lines - green indicates covered, red indicates not covered.

This PR also modifies the current txt coverage output so that it includes line numbers.

Here's an example of what the html coverage output looks like: image

samalws avatar Jan 07 '22 15:01 samalws

This looks great. However, we still need to use a different color (e.g. yellow?) if we cover with only reverts certain lines. In summary:

If a line is covered with execution and reverts, then use green. If a line is covered only with reverts, use yellow. If a line is not covered, use red.

Can you change it?

gustavo-grieco avatar Jan 07 '22 15:01 gustavo-grieco

Replaced by #816

gustavo-grieco avatar Aug 19 '22 08:08 gustavo-grieco