• Home
Name Date Size #Lines LOC

..--

.github/03-May-2024-189

.travis/03-May-2024-122106

jacoco/03-May-2024-265235

jacoco-maven-plugin/03-May-2024-2,4141,302

jacoco-maven-plugin.test/03-May-2024-3,8812,376

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

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

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,9061,060

org.jacoco.ant.test/03-May-2024-2,1261,501

org.jacoco.build/03-May-2024-1,1561,047

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

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

org.jacoco.core/03-May-2024-14,0627,056

org.jacoco.core.test/03-May-2024-18,91413,154

org.jacoco.core.test.validation/03-May-2024-225197

org.jacoco.core.test.validation.groovy/03-May-2024-13798

org.jacoco.core.test.validation.java5/03-May-2024-3,1251,841

org.jacoco.core.test.validation.java7/03-May-2024-540386

org.jacoco.core.test.validation.java8/03-May-2024-666343

org.jacoco.core.test.validation.kotlin/03-May-2024-966422

org.jacoco.doc/03-May-2024-13,89012,826

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

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

org.jacoco.report/03-May-2024-8,9154,821

org.jacoco.report.test/03-May-2024-7,9675,556

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

.appveyor.ymlD03-May-2024735 1813

.gitignoreD03-May-2024129 87

.travis.shD03-May-20242.7 KiB11387

.travis.ymlD03-May-2024403 3323

Android.bpD03-May-20243.7 KiB11397

FETCH_HEADD03-May-20240

LICENSE.mdD03-May-2024679 1511

METADATAD03-May-2024321 1918

MODULE_LICENSE_EPLD03-May-20240

NOTICED03-May-2024681 1511

OWNERSD03-May-2024141 43

README.androidD03-May-20241.4 KiB2419

README.mdD03-May-20241.1 KiB1813

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://img.shields.io/maven-central/v/org.jacoco/jacoco.svg)](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