Preparing report...

Report for github.com/rickb777/ech0

(v1.6.0)

A+    Excellent!    Found 3 issues across 8 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


golint62%

Golint is a linter for Go source code.

    • testlogger/event.go
    • Line 20: warning: exported method TestLogEvent.Send should have comment or be unexported (golint)
    • Line 30: warning: exported method TestLogEvent.Msg should have comment or be unexported (golint)
    • Line 40: warning: exported method TestLogEvent.Msgf should have comment or be unexported (golint)
    • Line 50: warning: exported method TestLogEvent.AnErr should have comment or be unexported (golint)
    • Line 58: warning: exported method TestLogEvent.Bool should have comment or be unexported (golint)
    • Line 66: warning: exported method TestLogEvent.Bytes should have comment or be unexported (golint)
    • Line 74: warning: exported method TestLogEvent.Dur should have comment or be unexported (golint)
    • Line 82: warning: exported method TestLogEvent.Err should have comment or be unexported (golint)
    • Line 90: warning: exported method TestLogEvent.Hex should have comment or be unexported (golint)
    • Line 98: warning: exported method TestLogEvent.Int should have comment or be unexported (golint)
    • Line 106: warning: exported method TestLogEvent.Ints should have comment or be unexported (golint)
    • Line 114: warning: exported method TestLogEvent.Int64 should have comment or be unexported (golint)
    • Line 122: warning: exported method TestLogEvent.Interface should have comment or be unexported (golint)
    • Line 130: warning: exported method TestLogEvent.Str should have comment or be unexported (golint)
    • Line 138: warning: exported method TestLogEvent.Strs should have comment or be unexported (golint)
    • Line 146: warning: exported method TestLogEvent.Stringer should have comment or be unexported (golint)
    • Line 154: warning: exported method TestLogEvent.Time should have comment or be unexported (golint)
    • Line 162: warning: exported method TestLogEvent.Uint should have comment or be unexported (golint)
    • Line 170: warning: exported method TestLogEvent.Uints should have comment or be unexported (golint)
    • Line 178: warning: exported method TestLogEvent.Uint64 should have comment or be unexported (golint)
    • testlogger/tlogger.go
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 38: warning: exported method TestLogger.Debug should have comment or be unexported (golint)
    • Line 46: warning: exported method TestLogger.Info should have comment or be unexported (golint)
    • Line 60: warning: exported method TestLogger.Warn should have comment or be unexported (golint)
    • Line 88: warning: exported method TestLogger.Panic should have comment or be unexported (golint)
    • Line 113: warning: exported method TestLogger.Err should have comment or be unexported (golint)
    • Line 120: warning: exported method TestLogger.WithLevel should have comment or be unexported (golint)
    • Line 147: warning: exported method TestLogger.Output should have comment or be unexported (golint)
    • Line 156: warning: exported method TestLogger.Level should have comment or be unexported (golint)
    • Line 165: warning: exported method TestLogger.Str should have comment or be unexported (golint)
    • Line 174: warning: exported method TestLogger.Int should have comment or be unexported (golint)
    • Line 183: warning: exported method TestLogger.RawJSON should have comment or be unexported (golint)
    • Line 192: warning: exported method TestLogger.Timestamp should have comment or be unexported (golint)
    • Line 203: warning: exported method TestLogger.LastInfo should have comment or be unexported (golint)
    • Line 210: warning: exported method TestLogger.LastWarn should have comment or be unexported (golint)
    • Line 217: warning: exported method TestLogger.LastError should have comment or be unexported (golint)
    • Line 224: warning: exported method TestLogger.Reset should have comment or be unexported (golint)
    • zero_test.go
    • Line 143: warning: error var e1 should have name of the form errFoo (golint)
    • Line 144: warning: error var e2 should have name of the form errFoo (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!