class
CoverageReporter::CoberturaParser
Defined in:
coverage_reporter/parsers/cobertura_parser.crConstant Summary
-
CONDITION_COVERAGE_RE =
/\((\d+)\/(\d+)\)/ -
Reporters such as coverage.py and gcovr describe how many of a line's branches were taken with a
condition-coverage="50% (1/2)"attribute instead of emitting one<line>per branch. -
MAX_BRANCHES_PER_LINE =
1024_u64 -
Sanity limit for the branch count read out of
condition-coverage, so a malformed attribute cannot make us allocate an enormous array.
Instance Method Summary
-
#globs : Array(String)
Returns an array of globs that will be used to look for coverage reports.
- #matches?(filename) : Bool
- #parse(filename) : Array(FileReport)
Instance methods inherited from class CoverageReporter::BaseParser
file_report(name, coverage, branches = nil, source_digest = nil)
file_report,
globs : Array(String)
globs,
matches?(filename : String) : Bool
matches?,
parse(filename : String) : Array(FileReport)
parse
Constructor methods inherited from class CoverageReporter::BaseParser
new(base_path : String | Nil = nil, forced : Bool = false)
new
Class methods inherited from class CoverageReporter::BaseParser
name : String
name
Instance Method Detail
def globs : Array(String)
#
Description copied from class CoverageReporter::BaseParser
Returns an array of globs that will be used to look for coverage reports.