Preparing report...

Report for github.com/mweagle/Sparta

A+    Excellent!    Found 17 issues across 199 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!


golint100%

Golint is a linter for Go source code.

No problems detected. Good job!


gocyclo91%

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.

    • Sparta/sparta.go
    • Line 1021: warning: cyclomatic complexity 23 of function (*LambdaAWSInfo).export() is high (> 15) (gocyclo)
    • Sparta/cmd_build.go
    • Line 965: warning: cyclomatic complexity 31 of function (*createTemplateOp).Invoke() is high (> 15) (gocyclo)
    • Line 690: warning: cyclomatic complexity 18 of function (*createPackageOp).Invoke() is high (> 15) (gocyclo)

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!


misspell99%

Misspell Finds commonly misspelled English words

    • Sparta/CONSTANTS.go
    • Line 14351: warning: "Ahev" is a misspelling of "Have" (misspell)
    • Line 38688: warning: "teh" is a misspelling of "the" (misspell)
    • Line 113864: warning: "adn" is a misspelling of "and" (misspell)
    • Line 118543: warning: "whn" is a misspelling of "when" (misspell)
    • Line 122166: warning: "whn" is a misspelling of "when" (misspell)
    • Line 250879: warning: "adn" is a misspelling of "and" (misspell)
    • Line 332053: warning: "YUO" is a misspelling of "YOU" (misspell)
    • Line 360448: warning: "Tje" is a misspelling of "The" (misspell)
    • Line 385885: warning: "teh" is a misspelling of "the" (misspell)
    • Line 401354: warning: "WIH" is a misspelling of "WITH" (misspell)
    • Line 408466: warning: "TEH" is a misspelling of "THE" (misspell)
    • Line 443472: warning: "weas" is a misspelling of "was" (misspell)
    • Line 524665: warning: "Whn" is a misspelling of "When" (misspell)
    • Line 563272: warning: "NTO" is a misspelling of "NOT" (misspell)
    • Line 614232: warning: "whn" is a misspelling of "when" (misspell)
    • Line 671124: warning: "NTO" is a misspelling of "NOT" (misspell)