itay / node-cover

Native JavaScript Code Coverage
http://www.cover.io
165 stars 17 forks source link

on long report files, hard to filter to 'only uncovered lines' or such. #30

Open gregglind opened 12 years ago

gregglind commented 12 years ago

Try finding the 15 missing blocks here :)

Coverage for /Users/glind/gits/esprima/esprima.js : 99%
4859 lines | 4844 run | 15 missing | 1 partial | 785 blocks | 764 blocks run | 21 blocks missing 

Straw implementation suggestion:

  1. linenos 'p' get 'covered' or 'uncovered' as per their line.
  2. each of the header items become filter buttons to 'just show those' .

It's not perfect, but it might suggest what the right answer is.