Preparing report...

Report for github.com/JensRantil/go-csv

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


golint50%

Golint is a linter for Go source code.

    • go-csv/reader.go
    • Line 24: warning: comment on exported function NewReader should be of the form "NewReader ..." (golint)
    • Line 32: warning: comment on exported function NewDialectReader should be of the form "NewDialectReader ..." (golint)
    • Line 93: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 262: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-csv/writer.go
    • Line 20: warning: comment on exported function NewWriter should be of the form "NewWriter ..." (golint)
    • Line 28: warning: comment on exported function NewDialectWriter should be of the form "NewDialectWriter ..." (golint)
    • go-csv/dialect/flag.go
    • Line 4: warning: package comment should be of the form "Package dialect ..." (golint)
    • Line 17: warning: exported type DialectBuilder should have comment or be unexported (golint)
    • Line 24: warning: comment on exported function FromCommandLine should be of the form "FromCommandLine ..." (golint)
    • Line 39: warning: comment on exported function FromFlagSet should be of the form "FromFlagSet ..." (golint)
    • Line 51: warning: comment on exported method DialectBuilder.Dialect should be of the form "Dialect ..." (golint)
    • go-csv/interfaces/reader.go
    • Line 4: warning: package comment should be of the form "Package interfaces ..." (golint)
    • Line 8: warning: comment on exported type Reader should be of the form "Reader ..." (with optional leading article) (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!