Preparing report...

Report for github.com/fabiofenoglio/goll

(v0.1.0)

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


gocyclo84%

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.

    • synchronization.go
    • Line 121: warning: cyclomatic complexity 19 of function (*compositeLoadLimiterDefaultImpl).withSyncTransaction() is high (> 15) (gocyclo)
    • window.go
    • Line 14: warning: cyclomatic complexity 17 of function (*loadLimiterDefaultImpl).rotateWindow() is high (> 15) (gocyclo)
    • factory.go
    • Line 153: warning: cyclomatic complexity 23 of function validateConfiguration() is high (> 15) (gocyclo)

golint68%

Golint is a linter for Go source code.

    • doc.go
    • Line 1: warning: package comment should be of the form "Package goll ..." (golint)
    • errors.go
    • Line 37: warning: exported method LoadRequestTimeout.Is should have comment or be unexported (golint)
    • Line 54: warning: exported method LoadRequestRejected.Is should have comment or be unexported (golint)
    • factory.go
    • Line 91: warning: exported type CompositeConfig should have comment or be unexported (golint)
    • load_limiter.go
    • Line 351: warning: comment on exported type CompositeRuntimeStatistics should be of the form "CompositeRuntimeStatistics ..." (with optional leading article) (golint)
    • logger.go
    • Line 41: warning: exported function NewNoOpLogger 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!


misspell94%

Misspell Finds commonly misspelled English words

    • factory.go
    • Line 81: warning: "overriden" is a misspelling of "overridden" (misspell)
    • Line 105: warning: "overriden" is a misspelling of "overridden" (misspell)