class

CoverageReporter::CoberturaParser

Inherits CoverageReporter::BaseParser < Reference < Object

Constants

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 methods

globs

Returns an array of globs that will be used to look for coverage reports.

Source
matches?(filename) : Bool
Source
parse(filename) : Array(FileReport)
Source

Nested types