Skip to content

Releases: jacoco/jacoco

0.5.9

01 Sep 19:43
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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).

0.5.1

11 Dec 21:21
Compare
Choose a tag to compare

New Features

  • Duplicate classes with identical identifiers are now ignored during analysis.
  • Added support for TestNG to Ant task Coverage (Track 144).

Fixed Bugs

  • Calculate correct stackmap frames for Java 1.6 branches (Trac 139).
  • Link source files also for classes in default package (Trac 151).

Non-functional Changes

  • API documentation cleanup (Track 140).
  • Removed obsolete examples from documentation (Trac 141).
  • Added reporting API example (Trac 146).
  • Reduced file size of HTML report source pages (Trac 148).

API Changes

  • Simplified reporting API (Trac 53).
  • Use colon as separator character in agent parameters (Trac 143).
  • Now also empty files are accepted as *.exec files (Trac 150).

0.5.0

11 Dec 21:22
Compare
Choose a tag to compare

New Features

  • JaCoCo now reports branch coverage (Track 66).

Fixed Bugs

  • Only process actual Java class files during analysis (SF 3106102).
  • Fix broken source links due to sort hash (Track 125).
  • Fixed invalid OSGi headers in MANIFEST.MF files (Track 127).
  • Try to avoid interference with Hibernate (SF 3134190).
  • Provide proper error message in case of duplicate class names in the same group (SF 3110219).
  • Allow any number of probes in static interface initializers (SF 3161106).

API Changes

  • All analysis specific APIs have been moved to package org.jacoco.core.analysis.
  • The IStructureVisitor interface has been replaced by a simplified version called ICoverageVisitor (Track 132).
  • All counter creation and update APIs now accept missed items and covered items as parameters (Track 131).
  • Instructions are now counted on a per line basis. Therefore some interfaces in the org.jacoco.core.analysis package have changed as well as the line element in the XML report (Track 130).
  • Several internal implementation classes have removed from the core APIs or have been replaced by new interfaces (Track 133).