Preparing report...

Report for github.com/jschoedt/go-firestorm

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


gocyclo92%

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.


golint76%

Golint is a linter for Go source code.

    • go-firestorm/tests/integration_test.go
    • Line 39: warning: don't use underscores in Go names; func testCRUD_ should be testCRUD (golint)
    • Line 82: warning: don't use underscores in Go names; func testSearch_ should be testSearch (golint)
    • Line 114: warning: don't use underscores in Go names; func testConcurrency_ should be testConcurrency (golint)
    • Line 141: warning: don't use underscores in Go names; func testRelations_ should be testRelations (golint)
    • Line 165: warning: don't use underscores in Go names; func testAutoLoad_ should be testAutoLoad (golint)
    • Line 223: warning: don't use underscores in Go names; func testCycles_ should be testCycles (golint)
    • Line 259: warning: don't use underscores in Go names; func testTransactions_ should be testTransactions (golint)
    • Line 295: warning: don't use underscores in Go names; func testNestedRefs_ should be testNestedRefs (golint)
    • Line 346: warning: don't use underscores in Go names; func testAnonymousStructs_ should be testAnonymousStructs (golint)
    • go-firestorm/mapper/mappers.go
    • Line 10: warning: exported type MapppingType should have comment or be unexported (golint)
    • Line 13: warning: exported const Default should have comment (or a comment on this block) or be unexported (golint)
    • Line 190: warning: exported method Mapper.MapStructToMap should have comment or be unexported (golint)
    • Line 253: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 261: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 283: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (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!