Skip to content

Releases: jacoco/jacoco

0.6.0

01 Sep 19:37

Choose a tag to compare

New Features

  • Full support for Java 7 including INVOKEDYNAMIC as JaCoCo is now based on ASM 4.0 (GitHub #5).

Fixed Bugs

  • Maven plugin should skip creation of report if the execution data file is missing. This avoids appearance of stack traces in case when JVM was not forked, e.g. if there are no tests to run (SF #3563431, GitHub #19).
  • Maven plugin should fail if unable to read execution data file or create report (GitHub #19).

API Changes

  • Only colon as separator character supported in agent parameters. The deprecated pipe character is no longer supported.

All Resolved Issues

0.5.10

01 Sep 19:39

Choose a tag to compare

Fixed Bugs

  • Correct stackmap frames for new long[] arrays (SF 3553210).
  • Properly resolve the fork variable for tasks wrapped by the coverage Ant task (Trac 213).

Non-functional Changes

0.5.9

01 Sep 19:43

Choose a tag to compare

Fixed Bugs

  • Don't produce invalid class files in case of unexpected stackmap frames (SF 3543758).

0.5.8

01 Sep 19:46

Choose a tag to compare

New Features

  • Support for parallel Maven builds (Trac 191).
  • New agent option classdumpdir to dump all class files seen by the JaCoCo agent to disk. This option is also available for Ant and Maven (Trac 208).

Fixed Bugs

  • Allow instrumentation of classes with dead code (SF 3538112).
  • Reworked instrumentation strategy to avoid verifier error "Uninitialized object exists on backward branch" with certain Java 7 class files (Trac 154).

Non-functional Changes

  • Documentation now includes Maven example and Maven goal documentation (Trac 201, 202).

0.5.7

01 Sep 19:47

Choose a tag to compare

New Features

  • Support for class redefinitions by other agents like JMockit (SF 3509409).
  • Remove class file attributes with invalid code offsets caused by other byte code processing tools to avoid verifier errors (Trac 196).
  • Improved logging for Ant tasks (SF 3518429).

Fixed Bugs

  • In case of failures the agent should log the original exception.

0.5.6

01 Sep 19:49

Choose a tag to compare

New Features

  • jacoco-maven-plugin can be used together with maven-site-plugin (Trac 181).
  • The report Ant task now also supports directory resources to specify source folders. This allows reading source files from multiple directories. Contributed by Dominik Stadler (Trac 119).

Fixed Bugs

  • Don't insert stackmap frames for class files before version 1.6.
  • Regression, which was introduced in 0.5.4 - restored compatibility of jacoco-maven-plugin with Maven 2 (Trac 182).

0.5.5

11 Dec 21:17

Choose a tag to compare

Fixed Bugs

  • Correct default value for the append property of the dump Ant task is true (Trac 178).
  • Try/catch blocks must not be counted as instructions (Trac 179).

Non-functional Changes

  • Upgrade to ASM 3.3.1.

0.5.4

11 Dec 21:18

Choose a tag to compare

New Features

  • Maven plug-in: respect includes and excludes properties in report Mojo (Trac 160).

API Changes

  • Instrumenter now only requires IExecutionDataAccessorGenerator instead of IRuntime (Trac 174).
  • Removed reference to internal implementation classes from CoverageBuilder API.

Non-functional Changes

  • Release bundles from now on signed again.
  • Several documentation updates.

0.5.3

11 Dec 21:19

Choose a tag to compare

New Features

  • New Maven plug-in for JaCoCo agent setup and basic reporting (Trac 25).
  • Additional output mode implementation for JaCoCo agent based on JMX.

Fixed Bugs

  • Fixed problem with reporting of nested group structures (Trac 157).

Non-functional Changes

  • JaCoCo build based on Maven (Trac 136).
  • JaCoCo published to Maven repository (Trac 149).

0.5.2

11 Dec 21:20

Choose a tag to compare

New Features

  • JaCoCo reports cyclomatic complexity numbers (Trac 129).
  • For HTML reports the tab width can be specified on the sourcefiles attribute of the report Ant task (Track 152).

Fixed Bugs

  • Removed duplicate counters in the root node of XML reports (Trac 155).
  • Avoid StackOverflowException when analyzing methods with very long instruction sequences (Trac 156). Many thanks to Jean-Eric Cuendet for reporting and analyzing this!

API Changes

  • ICoverageNode API has been extended for cyclomatic complexity (Trac 129).
  • XML and CSV report includes new counter type COMPLEXITY (Trac 129).
  • New method getTabWidth() in callback interface ISourceFileLocator instead of HTMLReportFormatter.setTabWidth() which has been removed. (Trac 152).