JaCoCo v0.8.3 Release Notes
Release Date: 2019-01-24 // over 5 years ago-
๐ New Features
- ๐ jacoco-maven-plugin now requires at least Maven 3.0 (GitHub #821).
- ๐ JaCoCo now officially supports Java 11 (GitHub #760).
- ๐ Experimental support for Java 13 class files (GitHub #835).
- Branch added by the Kotlin compiler for "unsafe" cast operator is filtered out during generation of report (GitHub #761).
- Branch added by the Kotlin compiler for not-null assertion operator is filtered out during generation of report (GitHub #815).
- Instructions inlined by Kotlin compiler are filtered out during generation of report (GitHub #764).
- Branches added by the Kotlin compiler for suspending lambdas and functions are filtered out during generation of report (GitHub #802, #803, #809).
- Classes and methods annotated by annotation whose retention policy is
runtime
orclass
and whose simple name contains "Generated" (previously equality was required) are filtered out during generation of report (GitHub #822). - HTML report shows message when source file can't be found (GitHub #801).
- HTML report shows message when class has no debug information (GitHub #818).
- HTML report shows message when analyzed class does not match executed (GitHub #819).
- HTML report shows message when no class files specified and when none of the analyzed classes contain code relevant for code coverage (GitHub #833).
- Empty class and sourcefile nodes are preserved and available in XML report (GitHub #817).
- Agent avoids conflicts with other agents when running on Java 9+ (GitHub #829).
๐ Fixed Bugs
- 0๏ธโฃ
synthetic
methods that contain values of default arguments in Kotlin should not be ignored (GitHub #774). synthetic
methods that represent suspend functions in Kotlin should not be ignored (GitHub #804).- โ Removed misleading parameters
includes
andexcludes
fromdump
,merge
andrestore-instrumented-classes
goals of jacoco-maven-plugin, because they have no effect (GitHub #827).
Non-functional Changes
- JaCoCo now depends on ASM 7.0 (GitHub #760).