Methods
(inner) clean(coverage) → {String}
will clean a lcov string to strip out any unnecessary content
Parameters:
Name | Type | Description |
---|---|---|
coverage |
String | the coverage string to clean |
Returns:
- the cleaned version of the coverage string
- Type
- String
(inner) parse(file) → {Coverage}
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