class CoverageReporter::Parser

Overview

General parser that can do the following:

New parsers can be easily added. See BaseParser for details.

Defined in:

coverage_reporter/parser.cr

Constant Summary

PARSERS = {CloverParser, CoberturaParser, JacocoParser, GolangParser, CoveragepyParser, CoverallsParser, LcovParser, SimplecovParser, GcovParser}

A list of available parsers. See CoverageReporter::BaseParser for details.

Constructors

Instance Method Summary

Constructor Detail

def self.new(coverage_files : Array(String) | Nil, coverage_format : String | Nil, base_path : String | Nil) #

[View source]

Instance Method Detail

def base_path : String | Nil #

[View source]
def coverage_files : Array(String) | Nil #

[View source]
def coverage_format : String | Nil #

[View source]
def files : Array(String) #

Returns coverage report files that can be parsed by utility.


[View source]
def parse : SourceFiles #

[View source]
def parsers : Array(BaseParser) #

[View source]