lib/cobertura

Methods

(inner) parse(file) → {Coverage}

Source:

returns a javascript object that represents the coverage data

Parameters:
Name Type Description
file String | Path

this can either be a string or a path to a file

Returns:
  • The coverage data structure
Type
Coverage