[ http://jira.codehaus.org/browse/MPCLOVER-35?page=comments#action_37970 ] Vincent Massol commented on MPCLOVER-35: ----------------------------------------
Let me say it differently: the clover_coverage.db file usually exists only when the tests are executed. So if there are no tests no clover db file will be generated and thus no report will get generated either... The only situation where it would work is in the case of a multi-project where you would share the clover db. The first project would create it. Of course if this first project does not have any test, it won't be created and thus it won't work. > projects that don't have clover data does not produce reports > ------------------------------------------------------------- > > Key: MPCLOVER-35 > URL: http://jira.codehaus.org/browse/MPCLOVER-35 > Project: maven-clover-plugin > Type: Bug > Versions: 1.8 > Reporter: Eric Lapierre > Assignee: Vincent Massol > Attachments: clover_patch.zip > > > 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" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
