Preparing report...

Report for github.com/zoncoen/scenarigo

A+    Excellent!    Found 16 issues across 126 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!


gocyclo90%

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.


golint96%

Golint is a linter for Go source code.

    • scenarigo/template/ast/ast.go
    • Line 8: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 13: warning: comment on exported type Expr should be of the form "Expr ..." (with optional leading article) (golint)
    • Line 89: warning: exported method BinaryExpr.Pos should have comment or be unexported (golint)
    • Line 90: warning: exported method BasicLit.Pos should have comment or be unexported (golint)
    • Line 91: warning: exported method ParameterExpr.Pos should have comment or be unexported (golint)
    • Line 92: warning: exported method Ident.Pos should have comment or be unexported (golint)
    • Line 93: warning: exported method SelectorExpr.Pos should have comment or be unexported (golint)
    • Line 94: warning: exported method IndexExpr.Pos should have comment or be unexported (golint)
    • Line 95: warning: exported method CallExpr.Pos should have comment or be unexported (golint)
    • Line 96: warning: exported method LeftArrowExpr.Pos should have comment or be unexported (golint)
    • scenarigo/template/token/token.go
    • Line 4: warning: exported type Token should have comment or be unexported (golint)
    • Line 7: warning: exported const ILLEGAL should have comment (or a comment on this block) or be unexported (golint)
    • scenarigo/runner.go
    • Line 157: warning: comment on exported method Runner.ScenarioFiles should be of the form "ScenarioFiles ..." (golint)
    • Line 162: warning: comment on exported method Runner.ScenarioMap should be of the form "ScenarioMap ..." (golint)
    • scenarigo/reporter/report.go
    • Line 228: warning: exported type ReportLogs should have comment or be unexported (golint)
    • Line 247: warning: exported const TestResultUndefined should have comment (or a comment on this block) or be unexported (golint)
    • Line 365: warning: comment on exported method TestDuration.MarshalXMLAttr should be of the form "MarshalXMLAttr ..." (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!