blob: 6fed4cc5e5287bc426e022f5602a7bd970bf89d5 [file] [log] [blame]
Clover Config for Eclipse:
At Project Level Properties:
Instrumentation:
Initstring: Default value
Output Folder: ...project output dir(s)
Flush Policy: At JVM shutdown ...
Misc: Fully qualify ... , Instrument and compile at statement level
Contexts:
Check: assert statements
Add Custom Coverage Context Filter:
private-constructor: also see link below
Method
(.* )?private +[a-zA-Z0-9_$]+ *\( *\).*
Source Files
Only look ...
[check] src/main/java[includes=**/*.java][excludes=]
[check] src/test/java[includes=**/*.java][excludes=]
Test Classes
Assume all source in the specified folders are tests or test utility classes
[check] src/test/java
At Clover "down-triangle" menu:
Columns:
Element
% TOTAL Coverage
Uncovered Elements: Custom: %UncoveredElements * TotalElements / 100
Total Elements
http://alexruizlog.blogspot.com/2009/04/how-to-make-clover-ignore-private_21.html