Details
-
Suggestion
-
Resolution: Won't Fix
-
None
Description
If you are using Ant you can exclude classes from being included in the report as follows:
<target name="clover.report" description="Generates a Clover report"> <clover-report> <current outfile="report-current" title="Coverage"> <fileset dir="src/main/java"> <exclude name="**/*.java"/> </fileset> <format srclevel="true" type="html"/> </current> </clover-report> </target>
However there does not appear to be any option within eclipse to do so.
The workaround is to exclude the files from being instrumented (Project Properties - Source Files),