Bugs: Browse | Submit New | Admin

[#17277] please don't count comment lines in coverage calculations

Date:
2008-01-21 14:29
Priority:
3
Submitted By:
Tomas Pospisek (tpo)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
please don't count comment lines in coverage calculations

Detailed description
Coverage reports for files that are practically not covered by unit tests show up in the report with coverage factors
like f.ex. 80% if 80% of the file are composed of comments.

This happens quite commonly if you regulary insert f.ex. the GPL stub in every file or each time verbosely describe
the class.

Having 80% coverage vs. the real 1% is very missleading tho. It'd be nice if rcov could disregard comment lines in its
coverage calculation.

Thanks,
*t

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item