Preparing report...

Report for github.com/linkernetworks/vortex

A+    Excellent!    Found 19 issues across 159 files

Tweet

gofmt96%

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!


gocyclo98%

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.


golint93%

Golint is a linter for Go source code.

    • vortex/src/entity/app.go
    • Line 3: warning: comment on exported type Application should be of the form "Application ..." (with optional leading article) (golint)
    • vortex/src/container/log.go
    • Line 24: warning: comment on exported var DefaultDisplayNumLogLines should be of the form "DefaultDisplayNumLogLines ..." (golint)
    • Line 32: warning: exported const NewestTimestamp should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: comment on exported var DefaultSelection should be of the form "DefaultSelection ..." (golint)
    • Line 62: warning: comment on exported var AllSelection should be of the form "AllSelection ..." (golint)
    • Line 69: warning: comment on exported type LogDetails should be of the form "LogDetails ..." (with optional leading article) (golint)
    • Line 82: warning: comment on exported type LogInfo should be of the form "LogInfo ..." (with optional leading article) (golint)
    • Line 142: warning: comment on exported type LogLine should be of the form "LogLine ..." (with optional leading article) (golint)
    • Line 153: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 188: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 216: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 222: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vortex/src/entity/ovs.go
    • Line 3: warning: comment on exported type OVSPortStats should be of the form "OVSPortStats ..." (with optional leading article) (golint)
    • Line 12: warning: exported type OVSPortInfo 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!