jacoco-parse

2.0.1 • Public • Published

jacoco-parse

Parse jacoco results file and return JSON

The output is based on, and intended to be compatible with, https://github.com/davglass/lcov-parse as well as https://github.com/vokal/cobertura-parse

Use

var jacoco = require( "jacoco-parse" );
 
// parse by file path
jacoco.parseFile( "filepath.xml", function( err, result ) { ... } );
 
// or parse file contents
jacoco.parseContent( "<?xml version="1.0" ?><report>...</report>",
    function( err, result ) { ... } );

Dependents (4)

Package Sidebar

Install

npm i jacoco-parse

Weekly Downloads

9,727

Version

2.0.1

License

MIT

Unpacked Size

344 kB

Total Files

8

Last publish

Collaborators

  • jrit
  • vokal
  • wmbest2