Clover-for-Ant Changelog

Clover 2.3 Documentation

Index

See also Clover-for-Eclipse Changelog

Clover-for-Ant Changelog

The complete combined changes are as follows:

Clover-for-Ant 2.3.2

15 July, 2008

This is a bug-fix release and minor feature release of Clover for Ant.

Atlassian JIRA (15 issues)
T Key Summary Assignee Reporter Pr Status Res Created Updated Due
Sub-task CLOV-292 new charset attribute on current and historical elements Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Jul 14, 2008 Jul 18, 2008
Bug CLOV-287 Missing rendered source files from HTML report Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Jun 25, 2008 Jul 14, 2008
Bug CLOV-284 BasePackageInfo exposes intermediate calculation of path field Michael Studman [Atlassian] Michael Studman [Atlassian] Minor Closed FIXED Jun 23, 2008 Jun 30, 2008
New Feature CLOV-283 Ant 2 line integration Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Jun 19, 2008 Jul 14, 2008
Bug CLOV-281 Test Source missing if test methods are empty Brendan Humphreys [Atlassian] Nick Pellow [Atlassian] Minor Resolved FIXED Jun 12, 2008 Jul 02, 2008
Bug CLOV-280 file element in XML report should use the fully qualified name Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Resolved FIXED Jun 09, 2008 Jun 25, 2008
Task CLOV-278 add http-equiv for IE8 Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Jun 06, 2008 Jun 30, 2008
Bug CLOV-268 Invalid POM for clover 2.3.1 Nick Pellow [Atlassian] Marcel May Critical Closed FIXED May 26, 2008 Jun 30, 2008
Bug CLOV-263 parameterized tests not being correctly handled Brendan Humphreys [Atlassian] Nick Pellow [Atlassian] Major Resolved FIXED May 22, 2008 Jul 15, 2008
Bug CLOV-259 Method truncateEnd threw exception for reference $renderUtil in template html_res/src-file.vm at 90,204 Brendan Humphreys [Atlassian] Nick Pellow [Atlassian] Major Closed CANNOT REPRODUCE May 12, 2008 Jun 30, 2008
Improvement CLOV-258 Allow encoding to be configured in HTML reports Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED May 11, 2008 Jul 14, 2008
Bug CLOV-241 Showing "F" failure list for a given line doesn't seem work on FF 3.0b5 Nick Pellow [Atlassian] Michael Studman [Atlassian] Minor Closed NOT A BUG Apr 22, 2008 Jun 30, 2008
Bug CLOV-200 Case statements in a switch have the startColumn > endColumn Brendan Humphreys [Atlassian] Slawek Ginter [Atlassian] Major Closed FIXED Mar 21, 2008 Jul 02, 2008
Bug CLOV-78 Test instrumentation appears not to be respecting ///CLOVER:OFF source directive Brendan Humphreys [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Oct 24, 2007 Jul 02, 2008
Improvement CLOV-30 implement merging of context registries Brendan Humphreys [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Sep 24, 2007 Jul 01, 2008

Clover-for-Ant 2.3.1

22 May, 2008

This is a very minor release to fix a problem with <clover-report/> under jdk 1.4.
If you do not use jdk 1.4 it is not recommended to upgrade.

Atlassian JIRA (5 issues)
T Key Summary Assignee Reporter Pr Status Res Created Updated Due
Task CLOV-274 Latest Clover doco is under the Clover 2.2 tree however the current release is Clover 2.3.x Edwin Dawson [Atlassian] Michael Studman [Atlassian] Major Closed FIXED Jun 03, 2008 Jun 11, 2008
Bug CLOV-262 clover-report doesn't run under jdk 1.4 if a unit test fails Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED May 21, 2008 May 22, 2008
Task CLOV-261 Remove obfuscation Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Resolved FIXED May 20, 2008 Jun 25, 2008
Bug CLOV-256 Work around for jdk14 backward incompatabilty with jarjar Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED May 09, 2008 May 27, 2008
Improvement CLOV-150 maven-clover-plugin should provide "skip" option Nick Pellow [Atlassian] Erez Nahir Blocker Closed FIXED Jan 22, 2008 May 28, 2008

Clover-for-Ant 2.3.0

9 May, 2008

This is a release with a number of new features and bug fixes.

Atlassian JIRA (15 issues)
T Key Summary Assignee Reporter Pr Status Res Created Updated Due
Task CLOV-252 Check Doco that default report format is XML Edwin Dawson [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED May 06, 2008 May 08, 2008
Improvement CLOV-251 Ignore testsources fileset if a directory does not exist Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED May 06, 2008 May 06, 2008
Bug CLOV-249 NPE when <format> tag is not declared in <historical> tag Nick Pellow [Atlassian] Geoff Crain [Atlassian] Major Closed FIXED May 05, 2008 May 08, 2008
Task CLOV-248 document <added> tag Edwin Dawson [Atlassian] Geoff Crain [Atlassian] Major Closed FIXED May 04, 2008 May 04, 2008
Bug CLOV-242 Reporting after a merge where one project has a test failure results in NPE Brendan Humphreys [Atlassian] Michael Studman [Atlassian] Critical Resolved FIXED Apr 22, 2008 Apr 23, 2008
Improvement CLOV-237 set number of tests passed on dashboard to red if there are failed tests Geoff Crain [Atlassian] Geoff Crain [Atlassian] Major Closed FIXED Apr 18, 2008 Apr 21, 2008
Improvement CLOV-236 maven-clover-plugin is unable to process source which contains method name in Japanese Nick Pellow [Atlassian] Neeraj Jhanji [Atlassian] Major Closed DUPLICATE Apr 17, 2008 Apr 20, 2008
Bug CLOV-234 Linked current reports appear to be broken. Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Apr 14, 2008 Jul 28, 2008
Bug CLOV-229 borders aren't being rendered on Test Summary page in IE7 Geoff Crain [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Apr 08, 2008 Apr 22, 2008
Bug CLOV-228 Per-test highlighting doesn't work in IE7 Geoff Crain [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Apr 08, 2008 May 06, 2008
Bug CLOV-227 Inline Help Popup doesn't work in IE7 Geoff Crain [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Apr 08, 2008 Apr 30, 2008
Improvement CLOV-221 Clover history reports should link any classes mentioned Nick Pellow [Atlassian] Andy Armstrong Major Closed CANNOT REPRODUCE Apr 07, 2008 May 09, 2008
Task CLOV-176 Update Velocity Nick Pellow [Atlassian] Nick Pellow [Atlassian] Major Closed FIXED Feb 28, 2008 May 01, 2008
Improvement CLOV-97 Add more options for generation of the Clover 'movers' report Geoff Crain [Atlassian] Andy Armstrong Major Closed FIXED Nov 07, 2007 Apr 22, 2008
Improvement CLOV-39 Improving handling of new classes in the 'movers' report Geoff Crain [Atlassian] Andy Armstrong Major Closed FIXED Oct 10, 2007 May 06, 2008

Clover-for-Ant 2.2.1

11 April, 2008

This is a minor release which contains a significant bug fix.

Bug Fixes
CLOV-231 - NPE thrown when rendering stacktrace under certain circumstances

Clover-for-Ant 2.2.0

10 April, 2008

This is a major release which contains useful new features, improvements and numerous bug fixes.

Clover 2.2 adds:

New Features
CLOV-141 - New histograms and a scatter plot added to the Dashboard
CLOV-178 - <clover-check> can fail if coverage is less than previous
CLOV-168 - Stacktrace navigation added to reports
CLOV-169 - Source reports have better cross referencing

Improvements
CLOV-89 - Percentage of Filtered Code displayed in reports
CLOV-174 - Clover command line option to ignore contexts when generating coverage reports
CLOV-202 - Source line numbers are now hyperlinked
CLOV-205 - <columns/> element is now an Ant Type - i.e. can be referenced via refid
CLOV-180 - <testsources/> element added to <clover-check/>

Bug Fixes
CLOV-163 - NullPointerException when <chart> tag is missing title attribute
CLOV-164 - Historical reports "loading coverage database from: null"
CLOV-189 - Incorrect test totals for sub-classed tests
CLOV-196 - Incorrect data is being extracted from history points
CLOV-201 - Context filter names cannot have spaces in them
CLOV-204 - NullXXX recording files created in the run directory
CLOV-217 - Turning off test rewriting causes a compilation failure
CLOV-218 - Clover instrument goal fails when using a valid evaluation license
CLOV-220 - NullPointerException when path to clover.db doesn't include directory
CLOV-222 - Fix expanded test link, popup positioning
CLOV-225 - Test Result Summary page (test-summary.vm) is being overwritten for multiple test runs

Clover-for-Ant 2.1.0

14 February, 2008

This is a major release with several new features and significant improvements in the performance of Clover at report time.

Clover 2.1 adds Per-Package Coverage Clouds, Per-Test Coverage for merged databases and many improvements to Historical Reports.

New Features
CLOV-149 - New JSON report format.
CLOV-28 - Implemented merging of per test coverage data.
CLOV-64 - Display test results of merged databases.
CLOV-69 - New Per-Package Coverage Clouds.
CLOV-121 - Support TestNG and JUnit 4 expected exceptions.
CLOV-117 - Capture annotation information for use with Test Detector and friends.
CLOV-105 - More attributes added to XML reports.
CLOV-68 - New custom columns added to historical reports.
CLOV-80 - New column type added, supporting simple expression language for metrics.
CLOV-65 - Improved charts.
CLOV-136 - Support multiple movers in historical reports.
CLOV-111 - Allow nested booleans to wrap <testmethod/> elements.

Improvements
CLOV-143 - Aggregation of complexity at class level and above no longer excludes 1 for each method.

Bug Fixes
CLOV-151 - Incorrect instrumented code created when using generics in return type.
CLOV-153 - Regression: CloverInstr breaks on default package and non-existent destdir.
CLOV-135 - Invalid Javascript when generating <APP_CLASS>.js for app classes covered by tests not present in the model.
CLOV-129 - <clover-setup enabled="false"> is not respected in some situations.
CLOV-115 - Clover 2.x doesn't report when Definite Assignment rules prevent instrumentation.
CLOV-94 - Clover incorrectly reports failing Instinct specifications when they expect an exception.
CLOV-140 - Sometimes CoverageRecorder flushing doesn't flush contents of OS file buffers soon enough.

  • Note: the 'includes' attribute on the <historical><coverage> and <historical><metrics> elements from Clover 2.0 has been replaced by the <columns> element.

Clover for Ant 2.0.2

1 November 2007

Bugs
CLOV-50 - Instrumenter no longer fails on enum with single semicolon in body
CLOV-71 - Improved handling of annotations on instrumented test methods
CLOV-73 - Correctly instrument tests with return values

Improvements
CLOV-74 - New "returntype" attribute added to the <testmethod/> element in <testsources>
CLOV-77 - Allow java.lang qualified names to be turned off during instrumentation
CLOV-87 - Reduced memory footprint when loading the Clover database

Clover for Ant 2.0.1

19 October 2007

Bug
CLOV-59 - NPE was thrown from Logger during shutdown hook under certain circumstances

Improvements
CLOV-57 - Added a namespace to <html/> elements in HTML reports
CLOV-55 - Improved memory usage during instrumentation

Tasks
CLOV-44 - Added Clover 1 command line tools to Clover 2 docs
CLOV-47 - Added a clover.sh to run the Command Line Tools with Clover2 on the tutorial

Clover 2.0.0 for Ant

17 October 2007 

Atlassian is very pleased to announce the release of Clover 2.0.0.

If you are upgrading from a previous version of Clover2, please note there is no longer a need to supply the location of your test result XML files. Clover2 now detects and records the test results for you.

Other changes in this release include:

Bugs
CLOV-29 - Fixed memory leak in clover-report

Improvements
CLOV-46 - testresults element and testresultsdir attribute are now deprecated
CLOV-37 - Detect and report classpath problems early
CLOV-42 - Improve default property context filter
CLOV-48 - New test spec elements - for finer detection of test cases

Known Issues
CLOV-55 - occasional excess memory used during instrumentation. work-around by increasing jvm memory settings.
CLOV-28 - merged databases do not yet include per-test coverage data.

Changes in 2.0b2

21 September, 2007 

This is a minor release of Clover2 for Ant and contains mainly report time performance based improvements.

It is important to note that the <clover-report/> and <clover-html-report/> tasks will use 2 threads as of this release when rendering the report. This value can be changed by specifying the numThreads attribute. Threading can also be disabled by specifying a numThreads value of 0.

Internal testing has shown a report time performance improvement of up to 50% and running clover-report under JDK 1.5 took 2/3 the time of JDK 1.4.2.

Impro