Preparing report...

Report for github.com/asticode/go-astilog

A+    Excellent!    Found 2 issues across 10 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!


golint80%

Golint is a linter for Go source code.

    • go-astilog/context.go
    • Line 35: warning: exported function FieldsFromContext should have comment or be unexported (golint)
    • Line 48: warning: exported function ContextWithField should have comment or be unexported (golint)
    • Line 52: warning: exported function ContextWithFields should have comment or be unexported (golint)
    • go-astilog/logger.go
    • Line 204: warning: exported method Logger.Print should have comment or be unexported (golint)
    • Line 208: warning: exported method Logger.Printf should have comment or be unexported (golint)
    • Line 212: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 216: warning: exported method Logger.DebugC should have comment or be unexported (golint)
    • Line 220: warning: exported method Logger.DebugCf should have comment or be unexported (golint)
    • Line 224: warning: exported method Logger.Debugf should have comment or be unexported (golint)
    • Line 228: warning: exported method Logger.Info should have comment or be unexported (golint)
    • Line 232: warning: exported method Logger.InfoC should have comment or be unexported (golint)
    • Line 236: warning: exported method Logger.InfoCf should have comment or be unexported (golint)
    • Line 240: warning: exported method Logger.Infof should have comment or be unexported (golint)
    • Line 244: warning: exported method Logger.Warn should have comment or be unexported (golint)
    • Line 248: warning: exported method Logger.WarnC should have comment or be unexported (golint)
    • Line 252: warning: exported method Logger.WarnCf should have comment or be unexported (golint)
    • Line 256: warning: exported method Logger.Warnf should have comment or be unexported (golint)
    • Line 264: warning: exported method Logger.ErrorC should have comment or be unexported (golint)
    • Line 268: warning: exported method Logger.ErrorCf should have comment or be unexported (golint)
    • Line 272: warning: exported method Logger.Errorf should have comment or be unexported (golint)
    • Line 278: warning: exported method Logger.Fatal should have comment or be unexported (golint)
    • Line 283: warning: exported method Logger.FatalC should have comment or be unexported (golint)
    • Line 288: warning: exported method Logger.FatalCf should have comment or be unexported (golint)
    • Line 293: warning: exported method Logger.Fatalf should have comment or be unexported (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!