Preparing report...

Report for github.com/xlab/ios-go

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


golint25%

Golint is a linter for Go source code.

    • ios-go/app/AppDelegate.go
    • Line 20: warning: exported type Signal should have comment or be unexported (golint)
    • Line 22: warning: exported type AppDelegate should have comment or be unexported (golint)
    • ios-go/app/handlers.go
    • Line 9: warning: exported type LifecycleEvent should have comment or be unexported (golint)
    • Line 14: warning: exported type LifecycleEventKind should have comment or be unexported (golint)
    • Line 120: warning: exported type Orientation should have comment or be unexported (golint)
    • Line 123: warning: exported const OrientationUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 138: warning: exported type ConfigurationEvent should have comment or be unexported (golint)
    • Line 167: warning: exported type EventType should have comment or be unexported (golint)
    • Line 170: warning: exported const EventTypeTouches should have comment (or a comment on this block) or be unexported (golint)
    • Line 176: warning: exported type EventSubtype should have comment or be unexported (golint)
    • Line 179: warning: comment on exported const EventSubtypeNone should be of the form "EventSubtypeNone ..." (golint)
    • Line 182: warning: comment on exported const EventSubtypeMotionShake should be of the form "EventSubtypeMotionShake ..." (golint)
    • Line 185: warning: comment on exported const EventSubtypeRemoteControlPlay should be of the form "EventSubtypeRemoteControlPlay ..." (golint)
    • Line 187: warning: exported const EventSubtypeRemoteControlPause should have comment (or a comment on this block) or be unexported (golint)
    • Line 198: warning: exported type TouchesState should have comment or be unexported (golint)
    • Line 226: warning: exported type MotionState should have comment or be unexported (golint)
    • Line 237: warning: exported type TouchSequence should have comment or be unexported (golint)
    • Line 239: warning: exported type TouchEvent should have comment or be unexported (golint)

license0%

Checks whether your project has a LICENSE file.


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!