Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 2.82 KB

File metadata and controls

29 lines (21 loc) · 2.82 KB

JaCoCo Java Code Coverage Library

This JaCoCo fork introduces functionality to keep track of line execution counts. We like to dub it, Java Code Coverage w/ Counts Library (JaCoCoCo). The execution counts are reported in XML and HTML reporting on source code lines. Essentially, we have changed the underlying datastructure from a boolean[] to a number-based array and increment values on every execution.

This version has been developed to be used in a master thesis project for dynamic analysis in production. Therefore, some of its implementation details might be specifically tailored to this project. The changes have been applied on top of v0.8.7 of JaCoCo. Please find the various implementations and their descriptions at the following locations:

  • Using overflowing integers: branch, tag.
  • Using overflowing longs: branch, tag.
  • Using Math.min to cap at Integer.MAX_VALUE - 1: branch, tag.
  • Using double casting to cap at Integer.MAX_VALUE: branch, tag.
  • Using BigInteger (WIP -- abandoned): branch.

Build Status Build status Maven Central

JaCoCo is a free Java code coverage library distributed under the Eclipse Public License. Check the project homepage for downloads, documentation and feedback.

Please use our mailing list for questions regarding JaCoCo which are not already covered by the extensive documentation.

Note: We do not answer general questions in the project's issue tracker. Please use our mailing list for this.