• Home
Name Date Size #Lines LOC

..--

.github/03-May-2024-189

.travis/03-May-2024-8679

jacoco/03-May-2024-265235

jacoco-maven-plugin/03-May-2024-2,3941,289

jacoco-maven-plugin.test/03-May-2024-3,8122,343

org.jacoco.agent/03-May-2024-394270

org.jacoco.agent.rt/03-May-2024-1,753866

org.jacoco.agent.rt.test/03-May-2024-2,5301,823

org.jacoco.agent.test/03-May-2024-212162

org.jacoco.ant/03-May-2024-1,8981,053

org.jacoco.ant.test/03-May-2024-2,1161,498

org.jacoco.build/03-May-2024-1,1081,005

org.jacoco.cli/03-May-2024-1,339886

org.jacoco.cli.test/03-May-2024-1,123777

org.jacoco.core/03-May-2024-12,1755,932

org.jacoco.core.test/03-May-2024-19,56613,288

org.jacoco.doc/03-May-2024-13,66712,620

org.jacoco.examples/03-May-2024-1,8331,103

org.jacoco.examples.test/03-May-2024-500357

org.jacoco.report/03-May-2024-8,8554,772

org.jacoco.report.test/03-May-2024-7,7535,380

org.jacoco.tests/03-May-2024-9273

.appveyor.ymlD03-May-2024737 1813

.gitignoreD03-May-2024129 87

.travis.shD03-May-20242.6 KiB10987

.travis.ymlD03-May-2024451 3625

Android.bpD03-May-20243.6 KiB10893

LICENSE.mdD03-May-2024679 1511

METADATAD03-May-2024320 1918

MODULE_LICENSE_EPLD03-May-20240

NOTICED03-May-2024681 1511

OWNERSD03-May-2024141 43

README.androidD03-May-20241.4 KiB2419

README.mdD03-May-20241.2 KiB1813

README.versionD03-May-2024102 54

config.mkD03-May-2024654 171

pom.xmlD03-May-2024439 1410

README.android

1We build an equivalent of the jacoco-agent.jar which contains classes from org.jacoco.core,
2org.jacoco.agent and org.jacoco.agent.rt packages but also classes from asm 5.0.1.
3
4However, Jacoco depends on classes that do not exist in Android (java.lang.instrument.* or
5javax.management.*) for runtime instrumentation only. The ART compiler would reject those classes
6when they are either in the bootclasspath (core, frameworks, ...) or system apps.
7
8Since we only use offline instrumentation for code coverage (using Jack) and do not execute these
9classes at runtime, we simply not compile them here.
10
11We also need to modify the source code to cut dependencies to the classes that we exclude from the
12compilation. The changes are surrounded by "BEGIN android-change" and "END android-change". Here
13is the list of the changes:
14
151) Remove the creation of JmxRegistration in org.jacoco.agent.rt.internal.Agent.
162) Change default OutputMode to none in org.jacoco.core.runtime.AgentOptions
173) Change the runtime to reduce dependencies on core libraries.
18   Previously, Offline's static initializer would eagerly create an
19   Agent, a process which has lots of dependencies. With this change,
20   Offline only eagerly creates a Map<Long, ExecutionData>, which is much
21   more lightweight. The Agent is only created when it's actually
22   needed. This makes it possible to instrument a lot of more core
23   libraries without creating a circular dependency at runtime.
24

README.md

1JaCoCo Java Code Coverage Library
2=================================
3
4[![Build Status](https://travis-ci.org/jacoco/jacoco.svg?branch=master)](https://travis-ci.org/jacoco/jacoco)
5[![Build status](https://ci.appveyor.com/api/projects/status/g28egytv4tb898d7/branch/master?svg=true)](https://ci.appveyor.com/project/JaCoCo/jacoco/branch/master)
6[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.jacoco/org.jacoco.core/badge.svg?style=flat)](http://search.maven.org/#search|ga|1|g%3Aorg.jacoco)
7
8JaCoCo is a free Java code coverage library distributed under the Eclipse Public
9License. Check the [project homepage](http://www.jacoco.org/jacoco)
10for downloads, documentation and feedback.
11
12Please use our [mailing list](https://groups.google.com/forum/?fromgroups=#!forum/jacoco)
13for questions regarding JaCoCo which are not already covered by the
14[extensive documentation](http://www.jacoco.org/jacoco/trunk/doc/).
15
16Note: We do not answer general questions in the project's issue tracker. Please use our [mailing list](https://groups.google.com/forum/?fromgroups=#!forum/jacoco) for this.
17-------------------------------------------------------------------------
18

README.version

1URL: https://github.com/jacoco/jacoco/tree/v0.7.5
2Version: v0.7.5
3BugComponent: 108682
4Owners: shertz
5