Preparing report...

Report for github.com/sch00lb0y/aran

A    Great!    Found 13 issues across 20 files

Tweet

gofmt85%

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!


golint40%

Golint is a linter for Go source code.

    • aran/options.go
    • Line 1: warning: package comment should be of the form "Package aran ..." (golint)
    • Line 15: warning: exported type Options should have comment or be unexported (golint)
    • Line 22: warning: exported function DefaultOptions should have comment or be unexported (golint)
    • aran/table.go
    • Line 1: warning: package comment should be of the form "Package aran ..." (golint)
    • aran/db.go
    • Line 1: warning: package comment should be of the form "Package aran ..." (golint)
    • Line 49: warning: exported function New should have comment or be unexported (golint)
    • aran/helper.go
    • Line 1: warning: package comment should be of the form "Package aran ..." (golint)
    • Line 29: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 36: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 51: warning: don't use underscores in Go names; func in_array should be inArray (golint)
    • aran/inmemory.go
    • Line 1: warning: package comment should be of the form "Package aran ..." (golint)
    • Line 30: warning: exported var CastagnoliCrcTable should have comment or be unexported (golint)
    • Line 186: warning: should omit 2nd value from range; this loop is equivalent to `for key := range ...` (golint)
    • aran/l1policy.go
    • Line 1: warning: package comment should be of the form "Package aran ..." (golint)
    • Line 18: warning: exported const UNION should have comment (or a comment on this block) or be unexported (golint)
    • aran/tree.go
    • Line 1: warning: package comment should be of the form "Package aran ..." (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!


misspell85%

Misspell Finds commonly misspelled English words