class

CoverageReporter::FileReport

Inherits Reference / Object

File coverage report entity for Coveralls API.

Constants

SEPARATOR = Path::SEPARATORS.first

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

See Path::SEPARATORS

Constructors

new(name : String, coverage : Array(Hits | Nil), branches : Array(Hits) | Nil = nil, source_digest : String | Nil = nil, format : String | Nil = nil, base_path : String | Nil = nil)
Source

Class methods

source_digest(filename : String) : String | Nil

Returns MD5 hashsum of a file.

Source

Instance methods

branches
Source
coverage
Source
format
Source
name
Source
to_h
Source