class CoverageReporter::FileReport
- CoverageReporter::FileReport
- Reference
- Object
Overview
File coverage report entity for Coveralls API.
Defined in:
coverage_reporter/file_report.crConstant Summary
-
SEPARATOR =
Path::SEPARATORS.first
-
Platform-dependant separator. / - for POSIX \ - for Windows
See
Path::SEPARATORS
Constructors
Class Method Summary
-
.source_digest(filename : String) : String | Nil
Returns MD5 hashsum of a file.
Instance Method Summary
- #branches : Array(UInt64)?
- #coverage : Array(UInt64?)
- #format : String?
- #name : String
- #to_h : Hash(Symbol, String | Array(Hits | Nil) | Array(Hits))
Constructor Detail
def self.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)
#