Preparing report...

Report for github.com/ktrysmt/checkup

A+    Excellent!    Found 6 issues across 84 files

Tweet

gofmt98%

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!


golint92%

Golint is a linter for Go source code.

    • checkup/errors/error.go
    • Line 8: warning: exported function Fatal should have comment or be unexported (golint)
    • Line 19: warning: exported function Syntax should have comment or be unexported (golint)
    • checkup/main.go
    • Line 65: warning: exported const Version should have comment or be unexported (golint)
    • Line 67: warning: exported const AppHelpTemplate should have comment or be unexported (golint)
    • checkup/steps/main.go
    • Line 15: warning: exported var WD should have comment or be unexported (golint)
    • Line 19: warning: exported var Arg2 should have its own declaration (golint)
    • Line 25: warning: exported function Init should have comment or be unexported (golint)
    • Line 43: warning: exported function Do should have comment or be unexported (golint)
    • Line 73: warning: don't use underscores in Go names; const SCRIPT_getElementsByXPath should be SCRIPTGetElementsByXPath (golint)
    • Line 73: warning: exported const SCRIPT_getElementsByXPath should have comment or be unexported (golint)
    • Line 83: warning: exported function WDFatal should have comment or be unexported (golint)
    • Line 91: warning: exported function WDQuit should have comment or be unexported (golint)
    • Line 96: warning: exported function StepFailure should have comment or be unexported (golint)
    • Line 107: warning: exported function StepSuccess should have comment or be unexported (golint)
    • Line 114: warning: exported function AssertionFailure should have comment or be unexported (golint)
    • Line 122: warning: exported function VerificationFailure should have comment or be unexported (golint)
    • Line 129: warning: exported function SetStepTimeout should have comment or be unexported (golint)
    • Line 141: warning: exported function SetSelector should have comment or be unexported (golint)
    • Line 151: warning: exported function SetAroundTimeout should have comment or be unexported (golint)
    • Line 166: warning: exported function SimplifyTypeAttributeTarget should have comment or be unexported (golint)
    • Line 186: warning: exported function SimplifyTypeAttributeValue should have comment or be unexported (golint)
    • Line 204: warning: exported function NestingTarget should have comment or be unexported (golint)
    • Line 212: warning: exported function NormalizeStepSet should have comment or be unexported (golint)
    • Line 223: warning: exported function PrintStep should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!