Preparing report...

Report for github.com/vbauerster/mpb

(v3.4.0+incompatible)

A+    Excellent!    Found 12 issues across 51 files

Tweet

gofmt88%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


golint88%

Golint is a linter for Go source code.

    • bar.go
    • Line 47: warning: exported method FillerFunc.Fill should have comment or be unexported (golint)
    • cwriter/writer.go
    • Line 17: warning: error var NotATTY should have name of the form ErrFoo (golint)
    • Line 17: warning: exported var NotATTY should have comment or be unexported (golint)
    • decor/counters.go
    • Line 12: warning: exported const KiB should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported const KB should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported const UnitKiB should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type CounterKiB should have comment or be unexported (golint)
    • Line 33: warning: exported method CounterKiB.Format should have comment or be unexported (golint)
    • Line 85: warning: exported type CounterKB should have comment or be unexported (golint)
    • Line 87: warning: exported method CounterKB.Format should have comment or be unexported (golint)
    • decor/eta.go
    • Line 11: warning: exported type TimeNormalizer should have comment or be unexported (golint)
    • Line 166: warning: exported function MaxTolerateTimeNormalizer should have comment or be unexported (golint)
    • Line 181: warning: exported function FixedIntervalTimeNormalizer should have comment or be unexported (golint)
    • Line 202: warning: exported function NopNormalizer should have comment or be unexported (golint)
    • decor/speed.go
    • Line 14: warning: exported type SpeedKiB should have comment or be unexported (golint)
    • Line 16: warning: exported method SpeedKiB.Format should have comment or be unexported (golint)
    • Line 68: warning: exported type SpeedKB should have comment or be unexported (golint)
    • Line 70: warning: exported method SpeedKB.Format should have comment or be unexported (golint)
    • Line 195: warning: receiver name s should be consistent with previous receiver name d for movingAverageSpeed (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!