Preparing report...

Report for dev.sum7.eu/genofire/wifictld-analyzer

A    Great!    Found 12 issues across 24 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!


golint54%

Golint is a linter for Go source code.

    • /dev.sum7.eu/genofire/wifictld-analyzer/capture/socket_msg.go
    • Line 13: warning: exported var DEBUG should have comment or be unexported (golint)
    • Line 19: warning: exported const SocketMSGTypeRequest should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported method SocketMSGType.Is should have comment or be unexported (golint)
    • Line 38: warning: exported function NewSocketMSG should have comment or be unexported (golint)
    • Line 46: warning: exported method SocketMSG.Marshal should have comment or be unexported (golint)
    • Line 91: warning: exported method SocketMSG.Unmarshal should have comment or be unexported (golint)
    • /dev.sum7.eu/genofire/wifictld-analyzer/data/hwaddr.go
    • Line 5: warning: exported type HardwareAddr should have comment or be unexported (golint)
    • Line 12: warning: comment on exported method HardwareAddr.MarshalText should be of the form "MarshalText ..." (golint)
    • Line 17: warning: comment on exported method HardwareAddr.UnmarshalText should be of the form "UnmarshalText ..." (golint)
    • /dev.sum7.eu/genofire/wifictld-analyzer/controller/main.go
    • Line 14: warning: exported type Controller should have comment or be unexported (golint)
    • Line 20: warning: exported function NewController should have comment or be unexported (golint)
    • Line 28: warning: exported method Controller.Close should have comment or be unexported (golint)
    • Line 32: warning: exported method Controller.Repeated should have comment or be unexported (golint)
    • /dev.sum7.eu/genofire/wifictld-analyzer/web/webserver.go
    • Line 18: warning: exported type Server should have comment or be unexported (golint)
    • Line 57: warning: exported method Server.Handler should have comment or be unexported (golint)
    • Line 67: warning: exported method Server.Start should have comment or be unexported (golint)
    • Line 74: warning: exported method Server.Close should have comment or be unexported (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign95%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!