Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.9
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Some projects have java code but does not have any testcases, so the coverage is 0% and the number of line is != 0. However, because there was no coverage data collected, no clover report is generated.
We therefore don't see the number of line of java code in the dashboard report when there are no junit testcases for that project.
Clover provides a flag to generate the reports even though there is not coverage data.
alwaysReport="true"
Hi Eric,
Thanks for the idea. I've started implementing it but the problem is that the report will fail if there is no coverage database, even when alwaysReport is set to "true"! How do I create an empty coverage database?
Thanks