aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.core/src/org/jacoco
AgeCommit message (Collapse)Author
2022-03-17Update jacoco to 0.8.7.Allen Hair
Bug: 194725917 Bug: 221938918 Bug: 206647174 Test: EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true m Change-Id: I955b068b3e35d68460a633d0fe606218bdcb9391
2021-07-21Disable use of 'constant dynamic' bytecodeandroid-s-beta-5android-s-beta-5Maurice Lam
See https://github.com/jacoco/jacoco/issues/1151. Bug: 194171230 Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true FooTest Change-Id: Idd5b9f2fd3824b8ee7f5a71504bd816694416b37
2021-04-30Update KotlinUnsafeCastOperatorFilter for Kotlin 1.5 (#1178)Evgeny Mandrikov
2021-04-13Update filter for Kotlin 1.5 suspending functions (#1174)Evgeny Mandrikov
2021-04-08Update filter for Kotlin 1.5 when-expressions with String (#1172)Evgeny Mandrikov
2021-04-05Make StringSwitchEcjFilter consistent with KotlinWhenStringFilter (#1099)Tasuku Nakagawa
2021-03-21Update KotlinLateinitFilter for Kotlin 1.5 (#1166)Evgeny Mandrikov
2021-03-16Fix parsing of SMAP for Kotlin 1.5 (#1164)Evgeny Mandrikov
2021-03-15Update KotlinDefaultArgumentsFilter for Kotlin 1.5 (#1162)Evgeny Mandrikov
2021-02-21Improve filter for Kotlin when-expressions with String (#1156)Evgeny Mandrikov
2021-01-08Update filter for suspending lambdas for Kotlin 1.4.20 (#1149)Evgeny Mandrikov
2021-01-05Update filter for unsafe cast operator for Kotlin 1.4 (#1143)Evgeny Mandrikov
2021-01-05Happy New Year 2021!Evgeny Mandrikov
2020-12-15Add experimental support for Java 17 class files (#1132)Marc R. Hoffmann
2020-10-22Handle exceptions instead of passing them on.Oliver Nguyen
Exceptions propagated down the stack are causing instability issues and random failures. Fall back where possible to normal ExecutionData instances instead. Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true CLANG_COVERAGE=true and check boot Bug: 171333204 Change-Id: I091d66d7aacbbbe70db10cc1a1c9b5ffbda7131b
2020-10-12Implement delegate that can swap to memory-mapped execution data.Oliver Nguyen
Implements memory-mapped ExecutionData class. Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true CLANG_COVERAGE=true and check for /data/misc/trace/jacoco-*.mm.ec files Bug: 169426258 Change-Id: I0eb564bc66650e2fd53573dd173dc141a8f4ffbe Change-Id: I8bc1f724071f267b3d44350eb96d20900068d66f
2020-09-29Use ASM9 API (#1097)Evgeny Mandrikov
2020-09-29Upgrade ASM to 9.0 (#1094)Marc R. Hoffmann
Co-authored-by: Evgeny Mandrikov <mandrikov@gmail.com>
2020-09-25Revert "Implement memory-mapped ExecutionData class."Oliver Nguyen
This reverts commit cb523bf186baa02b7478c81a7a64d2a2ee3d6b5f. Reason for revert: Fix boot failure Change-Id: I7480ca95e548ea663b3d16ca62cc5b5ec3d30514
2020-09-15Implement memory-mapped ExecutionData class.Oliver Nguyen
This allows apps to write coverage to disk during execution and not require any flushing mechanism in order to collect coverage. The results will be left in /data/misc/trace/jacoco-*.mm.ec and can be collected later for coverage analysis. These .mm.ec files conform to the current exec file format and can be loaded with the command-line tool. Test: m -j EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true and generate coverage report from /data/misc/trace Bug: 147904124 Change-Id: If08492405b86a063ae714c259a2fb954bc5aa946
2020-08-17Revert "Revert "Add IExecutionData interface and move all usage ..."Oliver Nguyen
Revert "Revert "Update JavaCodeCoverageListenerTest to new IExec..." Revert submission 1398750-revert-1364940-IExecutionData-FHXOSGWBLA Reason for revert: Fixed build Reverted Changes: I609da053c:Revert "Add IExecutionData interface and move all ... Iff176c367:Revert "Update JavaCodeCoverageListenerTest to new... Change-Id: I2b1653276b15049c53c8f186a603cfc4b2015ed5
2020-08-13Revert "Add IExecutionData interface and move all usage to the i..."Jackal Guo
Revert "Update JavaCodeCoverageListenerTest to new IExecutionDat..." Revert submission 1364940-IExecutionData Reason for revert: b/163919667 Reverted Changes: I4fbee7a43:Update JavaCodeCoverageListenerTest to new IExecut... I41235626b:Add IExecutionData interface and move all usage to... Change-Id: I609da053cf4427b250efe222ee3d54fb0a9f21d2
2020-08-11Add IExecutionData interface and move all usage to the interface.Oliver Nguyen
Abstracts the underlying execution data implementation to allow for more complex execution data storage mechanisms. For offline instrumentation, classes store the IExecutionData object and make calls into it to set probe data. This results in additional overhead of looking up the vtable for the interface and making the method call, rather than just directly setting the value in the boolean array. Bug: 147904124 Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true and verify Java coverage collection and parsing Change-Id: I41235626b1040a6a21c6aef300f2dfe064393e1f
2020-06-17Remove URLStreamHandlerRuntime (#471)Evgeny Mandrikov
* uses reflection to access internal members of the java.net.URL class * not used by default * has lower performance than ModifiedSystemClassRuntime that is used by default and than SystemPropertiesRuntime
2020-06-17Add experimental support for Java 16 (#1059)Marc R. Hoffmann
2020-03-28Upgrade ASM to 8.0 (#1032)Evgeny Mandrikov
2020-02-20Fix NPE (#1020)Lukas Rössler
2020-02-11Preserve compression method when instrumenting zip entries (#1018)Marc R. Hoffmann
2020-02-09Update filter for suspending functions with tail call optimization (#1016)Evgeny Mandrikov
2020-02-09Add filter for Kotlin default methods (#1012)Evgeny Mandrikov
2020-02-02Add filter for bridge methods (#1010)Evgeny Mandrikov
2020-01-13Add experimental support for Java 15 class files (#992)Evgeny Mandrikov
2020-01-07Add filter for Records (#990)Evgeny Mandrikov
2020-01-02Happy New Year 2020!Evgeny Mandrikov
2019-12-18Absence of Pack200 in JDK 14 should not cause failure of JaCoCo build (#984)Evgeny Mandrikov
2019-10-11Access to static members should use qualifier of declaring type (#962)Marc R. Hoffmann
2019-10-10Remove trailing whitespaces in Java source files (#959)Marc R. Hoffmann
2019-10-07Normalize line endings in Java source files (#955)Evgeny Mandrikov
2019-10-05Format code base consistently (#954)Marc R. Hoffmann
All *.java files now comply with the Eclipse 2019-09 formatter.
2019-10-04ContentTypeDetector should recognize future versions of Java class files (#952)Evgeny Mandrikov
2019-09-30Use ASMs new Iterable API for better readability (#949)Marc R. Hoffmann
2019-09-23Update license to EPL version 2.0 (#943)Evgeny Mandrikov
2019-09-22Fix NPE in StringSwitchEcjFilter (#944)Evgeny Mandrikov
2019-09-22Fix NPE in KotlinWhenStringFilter (#942)Evgeny Mandrikov
2019-08-25Fix substitution in `org.jacoco.ant/about.html` (#926)Evgeny Mandrikov
`org.jacoco.ant` module uses `maven-bundle-plugin` which requires usage of `${...}` pattern, so for consistency also use it everywhere.
2019-08-19Add detection of Scala classes (#922)Evgeny Mandrikov
2019-07-28Anonymous functions in Scala should not be filtered out (#912)Evgeny Mandrikov
2019-07-22KotlinDefaultArgumentsFilter should not assume that all parameters consume ↵Evgeny Mandrikov
one slot (#908)
2019-06-20Add experimental support for Java 14 class files (#897)Evgeny Mandrikov
2019-06-11ProbeInserter should update indexes of local variables in annotations (#894)Evgeny Mandrikov