encyclopegia.org

Java code coverage tools

Java code coverage tools are of two types: first, tools that add statements to the Java source code and require its recompilation. Second, tools that instrument the bytecode, either before or during execution. The goal is to find out which parts of the code are tested by registering the lines of code executed when running a test.

Java code coverage tools are of two types: first, tools that add statements to the Java source code and require its recompilation. Second, tools that instrument the bytecode, either before or during execution. The goal is to find out which parts of the code are tested by registering the lines of code executed when running a test. And a Maven configuration example would be: -Dincluded.packages=your.package.name.here -Dincluded.adapters=coverage,complexity,dependency -javaagent:serenity/serenity.jar -Xms512m -Xmx1024m ${included.packages} ${included.adapters} For a full example of a configuration please refer to the Jenkins wiki at https://wiki.jenkins-ci.org/display/JENKINS/Serenity+Plugin. Jenkins slaves as well as Maven multi module projects are supported.

References

No reference rows published for this article.

Cite this article

MLA

"Java code coverage tools." encyclopegia.org, 2026, https://encyclopegia.org/wiki/java-code-coverage-tools. Accessed 23 November 2026.

Chicago

"Java code coverage tools." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/java-code-coverage-tools.

APA

encyclopegia.org. (2026). Java code coverage tools. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/java-code-coverage-tools

Accessed November 23, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Lascaris Battery

enwiki · references available

Cross Insurance Center

enwiki · references available

Toby Turner

enwiki · references available

Abdul Malik (physician)

enwiki · references available

Lütfi Kırdar

enwiki · references available

Justin A. Nylander

enwiki · references available

Kevin Moore (art historian)

enwiki · references available

Imbaba Bridge

enwiki · references available

Laholm Bay Beach

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1364438906 · 0.5 · snapshot enwiki-001364438906

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.