Clover Concepts & Usage FAQ
- Does Clover depend on JUnit? — Clover has no dependence on JUnit. We mention it frequently in our documentation only because of JUnit's widespread use in the Java development community.
- Does Clover integrate with Maven? — There is a Clover Plugin for Maven and Maven2 — both are independent open source developments supported by Cenqua/Atlassian.
- Does Clover support the new language features in JDK1.5? — Clover fully supports all JDK1.5 language features.
- Does Clover work with JUnit4 and TestNG? — Clover is fully compatible with JUnit4 and TestNG.
- How are the Clover coverage percentages calculated? — The "total" coverage percentage of a class (or file, package, project) is provided as a quick guide to how well the class is covered — and to allow ranking of classes.
- How do I get started with Clover? — See the Clover-for-Ant QuickStart Guide
- What are the limitations of Code Coverage? — Code Coverage is not a "silver bullet" of software quality, and 100% coverage is no guarantee of a bug-free application. You can infer a certain level of quality in your tests based on their coverage, but you still need to be writing meaningful tests.
- What does the name "Clover" mean? — Clover is actually a shortened version of the tool's original name, "Cover Lover", from the nick name that the tool's author gained while writing Clover ("Mr Cover Lover").
- What is Code Coverage Analysis? — Code Coverage Analysis is the process of discovering code within a program that is not being exercised by test cases.
- What third-party libraries does Clover utilise?
- Where did Clover originally come from? — Clover was originally developed at Cenqua (now part of Atlassian) as an internal tool to support development of large J2EE applications.
- Why does Clover instrument classes I have excluded using the 'exclude' element of the 'clover-setup ' task? — There are two possible causes:
- Why does Clover use Source Code Instrumentation? — Source code instrumentation is the most powerful, flexible and accurate way to provide code coverage analysis.
- Will Clover integrate with my IDE? — Clover 2 provides an integrated plugin for Eclipse, with more plugins soon to follow.