Preparing report...

Report for github.com/chenyunchen/go-gcs

A+    Excellent!    Found 4 issues across 29 files

Tweet

gofmt93%

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!


golint93%

Golint is a linter for Go source code.

    • go-gcs/src/logger/logger.go
    • Line 15: warning: exported type LoggerConfig should have comment or be unexported (golint)
    • Line 23: warning: comment on exported var Logger should be of the form "Logger ..." (golint)
    • Line 117: warning: exported function Info should have comment or be unexported (golint)
    • Line 121: warning: exported function Infoln should have comment or be unexported (golint)
    • Line 125: warning: exported function Infof should have comment or be unexported (golint)
    • Line 129: warning: exported function Warn should have comment or be unexported (golint)
    • Line 133: warning: exported function Warnln should have comment or be unexported (golint)
    • Line 137: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 141: warning: exported function Error should have comment or be unexported (golint)
    • Line 145: warning: exported function Errorln should have comment or be unexported (golint)
    • Line 149: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 153: warning: exported function Debug should have comment or be unexported (golint)
    • Line 157: warning: exported function Debugln should have comment or be unexported (golint)
    • Line 161: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 165: warning: exported function Panic should have comment or be unexported (golint)
    • Line 169: warning: exported function Panicln should have comment or be unexported (golint)
    • Line 173: warning: exported function Panicf should have comment or be unexported (golint)
    • Line 177: warning: exported function Fatal should have comment or be unexported (golint)
    • Line 181: warning: exported function Fatalln should have comment or be unexported (golint)
    • Line 185: warning: exported function 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!