codeclimate/test-reporter

View on GitHub
cmd/format-coverage.go

Summary

Maintainability
A
35 mins
Test Coverage

Method CoverageFormatter.Save has 5 return statements (exceeds 4 allowed).
Open

func (f CoverageFormatter) Save() error {
    rep, err := f.In.Format()
    if err != nil {
        return errors.WithStack(err)
    }
Severity: Major
Found in cmd/format-coverage.go - About 35 mins to fix

    exported method CoverageFormatter.Save should have comment or be unexported
    Open

    func (f CoverageFormatter) Save() error {
    Severity: Minor
    Found in cmd/format-coverage.go by golint

    exported type CoverageFormatter should have comment or be unexported
    Open

    type CoverageFormatter struct {
    Severity: Minor
    Found in cmd/format-coverage.go by golint

    There are no issues that match your filters.

    Category
    Status