class CoverageReporter::FileReport

Overview

File coverage report entity for Coveralls API.

Defined in:

coverage_reporter/file_report.cr

Constant Summary

SEPARATOR = Path::SEPARATORS.first

Platform-dependant separator. / - for POSIX \ - for Windows

See Path::SEPARATORS

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, coverage : Array(Int64 | Nil), branches : Array(Int64 | Nil) | Array(Int64) | Nil = nil, source_digest : String | Nil = nil, format : String | Nil = nil) #

[View source]

Instance Method Detail

def branches : Array(Int64?) | Array(Int64) | Nil #

[View source]
def coverage : Array(Int64?) #

[View source]
def format : String? #

[View source]
def name : String #

[View source]
def to_h : Hash(Symbol, String | Array(Int64 | Nil) | Array(Int64)) #

[View source]