Quick Search
Browse
People Directory
Log In
Sign Up
Dashboard
Clover 2.0
…
Clover 2.0 Documentation Home
Clover Knowledge Base
Troubleshooting
Log In
Sign Up
Troubleshooting
V
iew
A
ttachments (0)
I
nfo
Browse Space
Added by
Edwin Dawson [Atlassian]
, last edited by
Edwin Dawson [Atlassian]
on Jan 10, 2008
Labels:
Enter labels to add to this page:
Looking for a label? Just start typing.
Clover 2.0 Documentation
Index
Clover Troubleshooting
Compiling my instrumented sources fails with a 'code too large' error.
For some statements in my code Clover reports "No Coverage information gathered for this expression". What does that mean?
—
Clover will not measure coverage of a conditional expression if it contains an assignment operator.
I'm trying to get a coverage report mailed, but I keep getting "mail Failed to send email". How do I fix this?
—
The Ant
<mail>
task depends on external libraries that are not included in the Ant distribution. You need to install the following jars in ANT_HOME/lib, both freely available from Sun:
I'm using the maven-clover-plugin version 2.4 with a license downloaded from Atlassian and get the message 'Invalid or missing License'
Tools for Troubleshooting Clover-for-Ant
Two questions to ask yourself first when troubleshooting Clover
When generating some report types on my UNIX server with no XServer, I get an exception "Can't connect to X11 server" or similar.
—
This is a limitation of the Java implementation on Unix.
When using Clover, why do I get a java.lang.NoClassDefFoundError when I run my code?
—
This probably indicates that you do not have
clover.jar
in your runtime classpath.
When using Clover from Ant, why do I get "Compiler Adapter 'org.apache.tools.ant.taskdefs.CloverCompilerAdapter' can't be found." or similar?
—
You need to install Clover in Ant's classpath.
Why does the 'Test Results' summary page report show that I have unique coverage, when the source page shows no unique coverage?
—
The source view only shows unique coverage aggregated at the line level, not per statement or branch. The unique coverage indicates that either:
Why do I get 0% coverage when I run my tests and then a reporter from the same instance of Ant?
—
This occurs because Clover hasn't had a chance to flush coverage data out to disk.
Why do I get an java.lang.OutOfMemoryError when compiling with Clover turned on?
—
Instrumenting with Clover increases the amount of memory that the compiler requires in order to compile.
Children (12)
Hide Children
|
View in Hierarchy
Compiling my instrumented sources fails with a 'code too large' error.
For some statements in my code Clover reports "No Coverage information gathered for this expression". What does that mean?
I'm trying to get a coverage report mailed, but I keep getting "mail Failed to send email". How do I fix this?
I'm using the maven-clover-plugin version 2.4 with a license downloaded from Atlassian and get the message 'Invalid or missing License'
Tools for Troubleshooting Clover-for-Ant
Two questions to ask yourself first when troubleshooting Clover
When generating some report types on my UNIX server with no XServer, I get an exception "Can't connect to X11 server" or similar.
When using Clover, why do I get a java.lang.NoClassDefFoundError when I run my code?
When using Clover from Ant, why do I get "Compiler Adapter 'org.apache.tools.ant.taskdefs.CloverCompilerAdapter' can't be found." or similar?
Why does the 'Test Results' summary page report show that I have unique coverage, when the source page shows no unique coverage?
Why do I get 0% coverage when I run my tests and then a reporter from the same instance of Ant?
Why do I get an java.lang.OutOfMemoryError when compiling with Clover turned on?