CoverageReporter::LcovParser
Inherits CoverageReporter::BaseParser / Reference / Object
Constants
BRANCH_COVERAGE_RE = Regex.new("\\ABRDA:(\\d+),(\\d+),(\\d+),(\\d+|-)", Regex::CompileOptions::MATCH_INVALID_UTF)
END_RE = Regex.new("\\Aend_of_record", Regex::CompileOptions::MATCH_INVALID_UTF)
LINE_COVERAGE_RE = Regex.new("\\ADA:(\\d+),(\\d+)", Regex::CompileOptions::MATCH_INVALID_UTF)
SOURCE_FILE_RE = Regex.new("\\ASF:(.+)", Regex::CompileOptions::MATCH_INVALID_UTF)
Instance methods
parse(filename : String) : Array(FileReport)
Parses the file and returns an array of FileReport which will be
sent to Coveralls API.