• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.github/23-Nov-2023-189

.travis/23-Nov-2023-122106

jacoco/23-Nov-2023-265235

jacoco-maven-plugin/23-Nov-2023-2,4141,302

jacoco-maven-plugin.test/23-Nov-2023-3,8812,376

org.jacoco.agent/23-Nov-2023-395270

org.jacoco.agent.rt/23-Nov-2023-1,870946

org.jacoco.agent.rt.test/23-Nov-2023-2,5301,823

org.jacoco.agent.test/23-Nov-2023-212162

org.jacoco.ant/23-Nov-2023-1,9061,060

org.jacoco.ant.test/23-Nov-2023-2,1261,501

org.jacoco.build/23-Nov-2023-1,1561,047

org.jacoco.cli/23-Nov-2023-1,357902

org.jacoco.cli.test/23-Nov-2023-1,125779

org.jacoco.core/23-Nov-2023-14,7667,303

org.jacoco.core.test/23-Nov-2023-18,91413,154

org.jacoco.core.test.validation/23-Nov-2023-225197

org.jacoco.core.test.validation.groovy/23-Nov-2023-13798

org.jacoco.core.test.validation.java5/23-Nov-2023-2,9541,717

org.jacoco.core.test.validation.java7/23-Nov-2023-540386

org.jacoco.core.test.validation.java8/23-Nov-2023-666343

org.jacoco.core.test.validation.kotlin/23-Nov-2023-966422

org.jacoco.doc/23-Nov-2023-13,89012,826

org.jacoco.examples/23-Nov-2023-1,8291,103

org.jacoco.examples.test/23-Nov-2023-536390

org.jacoco.report/23-Nov-2023-8,9374,821

org.jacoco.report.test/23-Nov-2023-7,9675,556

org.jacoco.tests/23-Nov-2023-9374

.appveyor.ymlD23-Nov-2023735 1813

.gitignoreD23-Nov-2023129 87

.travis.shD23-Nov-20232.7 KiB11387

.travis.ymlD23-Nov-2023403 3323

Android.bpD23-Nov-20235.1 KiB154136

FETCH_HEADD23-Nov-20230

LICENSE.mdD23-Nov-2023679 1511

METADATAD23-Nov-2023348 2019

MODULE_LICENSE_EPLD23-Nov-20230

NOTICED23-Nov-2023681 1511

OWNERSD23-Nov-2023141 43

README.androidD23-Nov-20231.4 KiB2419

README.mdD23-Nov-20231.1 KiB1813

config.mkD23-Nov-2023654 171

pom.xmlD23-Nov-2023439 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