Documentation ¶
Index ¶
- type Report
- func (r *Report) CodeToTestRatioRatio() float64
- func (r *Report) CoveragePercent() float64
- func (r *Report) MeasureCodeToTestRatio(code, test []string) error
- func (r *Report) MeasureCoverage(path string) error
- func (r *Report) MeasureTestExecutionTime() error
- func (r *Report) String() string
- func (r *Report) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct { Repository string `json:"repository"` Ref string `json:"ref"` Commit string `json:"commit"` Coverage *coverage.Coverage `json:"coverage"` CodeToTestRatio *ratio.Ratio `json:"code_to_test_ratio,omitempty"` TestExecutionTime *float64 `json:"test_execution_time,omitempty"` Timestamp time.Time `json:"timestamp"` // contains filtered or unexported fields }
func (*Report) CodeToTestRatioRatio ¶ added in v0.6.0
func (*Report) CoveragePercent ¶
func (*Report) MeasureCodeToTestRatio ¶ added in v0.6.0
func (*Report) MeasureCoverage ¶
func (*Report) MeasureTestExecutionTime ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.