Versions in this module Expand all Collapse all v0 v0.10.0 Mar 3, 2021 Changes in this version + type Coverage []NullInt + func (c *Coverage) AppendNulls(quantity int) Coverage + func (c *Coverage) UnmarshalJSON(text []byte) error + func (c Coverage) MarshalJSON() ([]byte, error) + type Environment struct + GemVersion string + PWD string + PackageVersion string + Prefix string + RailsRoot string + ReporterVersion string + SimplecovRoot string + type Formatter interface + Format func() (Report, error) + Search func(...string) (string, error) + type LineCounts struct + Covered int + Missed int + Strength int + Total int + func (lc LineCounts) CoveredPercent() float64 + func (lc LineCounts) CoveredStrength() float64 + type NullInt struct + Int int + Valid bool + func NewNullInt(i int) NullInt + func (ns *NullInt) UnmarshalJSON(text []byte) error + func (ns *NullInt) UnmarshalText(text []byte) error + func (ns NullInt) Interface() interface{} + func (ns NullInt) MarshalJSON() ([]byte, error) + type Report struct + CIService ccCIService + CoveredPercent float64 + CoveredStrength int + Environment Environment + Git ccGit + LineCounts LineCounts + RepoToken string + SourceFiles SourceFiles + func NewReport() (Report, error) + func (a *Report) Merge(reps ...*Report) error + func (r Report) Save(w io.Writer) error + func (rep *Report) AddSourceFile(sf SourceFile) error + type SourceFile struct + BlobID string + Coverage Coverage + CoveredPercent float64 + CoveredStrength float64 + LineCounts LineCounts + Name string + func NewSourceFile(name string, commit *object.Commit) (SourceFile, error) + func (a SourceFile) Merge(b SourceFile) (SourceFile, error) + func (sf *SourceFile) CalcLineCounts() + type SourceFiles map[string]SourceFile + func (sf SourceFiles) MarshalJSON() ([]byte, error) + func (sf SourceFiles) UnmarshalJSON(text []byte) error