dylanb / gulp-coverage

Gulp coverage reporting for Node.js that is independent of the test runner
MIT License
60 stars 12 forks source link

Lines missing from coverage report #40

Open natedsaint opened 9 years ago

natedsaint commented 9 years ago

I would be happy to investigate this and see if I can find the issue but I wasn't sure if I was just implementing this incorrectly.

Here's the html coverage report for my chromewut extension: https://rawgit.com/natedsaint/chromewut/master/reports/coverage.html

As you can see, each class looks good except that the line that contains the method definitions after the first one appear to be cut off. I'm not sure if it's that my code is formatted in such a way it doesn't know how to generate the report, or if there's a config I'm missing, or it's simply a bug.

Let me know if I can be of any assistance.

natedsaint commented 9 years ago

Updated, confirmed it looks good: https://rawgit.com/natedsaint/chromewut/master/reports/coverage.html

Thanks for the quick response!

dylanb commented 9 years ago

Actually, it looks like it is now duplicating lines

natedsaint commented 9 years ago

I realized it last night right after I commented. Thanks for your diligence. I'll mess around locally now that I've seen where you made the change and see if I have any ideas to help.