Preparing report...

Report for github.com/influx6/astkit

A    Great!    Found 9 issues across 16 files

Tweet

gofmt75%

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!


golint75%

Golint is a linter for Go source code.

    • astkit/testbed/sudo/api/api.go
    • Line 4: warning: exported var RUki should have comment or be unexported (golint)
    • Line 7: warning: exported type Ruzo should have comment or be unexported (golint)
    • Line 9: warning: exported type Muzo should have comment or be unexported (golint)
    • Line 11: warning: exported type Cracker should have comment or be unexported (golint)
    • Line 13: warning: exported type Crucker should have comment or be unexported (golint)
    • Line 15: warning: exported type Wilk should have comment or be unexported (golint)
    • Line 19: warning: exported method Wilk.Raize should have comment or be unexported (golint)
    • Line 23: warning: exported type RizoWalker should have comment or be unexported (golint)
    • Line 28: warning: exported method RizoWalker.Clone should have comment or be unexported (golint)
    • Line 32: warning: exported method RizoWalker.Rend should have comment or be unexported (golint)
    • Line 36: warning: exported type Rx should have comment or be unexported (golint)
    • Line 38: warning: exported type Pos should have comment or be unexported (golint)
    • Line 40: warning: exported type Wx should have comment or be unexported (golint)
    • Line 44: warning: exported function Recless should have comment or be unexported (golint)
    • astkit/astkit.go
    • Line 26: warning: comment on exported function TransformWithPreloaded should be of the form "TransformWithPreloaded ..." (golint)
    • astkit/testbed/sudo/sudo.go
    • Line 13: warning: exported const Vood should have comment (or a comment on this block) or be unexported (golint)
    • Line 183: warning: exported type RuL should have comment or be unexported (golint)
    • Line 185: warning: exported type Kil should have comment or be unexported (golint)
    • Line 187: warning: exported type ListOfWiks should have comment or be unexported (golint)
    • Line 189: warning: exported method ListOfWiks.Red should have comment or be unexported (golint)
    • Line 193: warning: exported method ListOfWiks.Rum should have comment or be unexported (golint)
    • Line 197: warning: exported method ListOfWiks.Reek should have comment or be unexported (golint)
    • Line 201: warning: exported type Lists should have comment or be unexported (golint)
    • Line 203: warning: exported type Rikooo should have comment or be unexported (golint)
    • Line 205: warning: exported type Wikker should have comment or be unexported (golint)
    • Line 207: warning: exported type Wikkkerr should have comment or be unexported (golint)
    • Line 209: warning: exported type Rizz should have comment or be unexported (golint)
    • Line 211: warning: exported type Wilo should have comment or be unexported (golint)
    • Line 213: warning: exported type Wiko should have comment or be unexported (golint)
    • Line 215: warning: exported type Wiko2 should have comment or be unexported (golint)
    • Line 217: warning: exported type Fna should have comment or be unexported (golint)
    • Line 219: warning: exported function Bang should have comment or be unexported (golint)
    • Line 223: warning: exported function Hello should have comment or be unexported (golint)
    • Line 230: warning: exported type Memo should have comment or be unexported (golint)
    • Line 234: warning: exported type Lemon should have comment or be unexported (golint)
    • Line 241: warning: exported type Lemonode should have comment or be unexported (golint)
    • Line 243: warning: exported type Function should have comment or be unexported (golint)
    • Line 260: warning: exported method Function.Ring should have comment or be unexported (golint)
    • Line 298: warning: exported type FullFn should have comment or be unexported (golint)
    • Line 304: warning: exported type FunctionReco should have comment or be unexported (golint)
    • Line 311: warning: exported type FunctionResult should have comment or be unexported (golint)

gocyclo81%

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.

    • astkit/compiler/indexer.go
    • Line 1920: warning: cyclomatic complexity 42 of function (*ParseScope).transformFunctionExpr() is high (> 15) (gocyclo)
    • Line 3545: warning: cyclomatic complexity 33 of function (*ParseScope).transformTypeFor() is high (> 15) (gocyclo)
    • Line 2997: warning: cyclomatic complexity 30 of function (*ParseScope).transformFunctionSelectorExprWithXIdent() is high (> 15) (gocyclo)
    • Line 5181: warning: cyclomatic complexity 25 of function (*ParseScope).locateRefFromObject() is high (> 15) (gocyclo)
    • Line 520: warning: cyclomatic complexity 22 of function (*ParseScope).transformVariable() is high (> 15) (gocyclo)
    • Line 986: warning: cyclomatic complexity 21 of function (*ParseScope).transformFunctionSpec() is high (> 15) (gocyclo)
    • Line 647: warning: cyclomatic complexity 17 of function (*ParseScope).transformStructDeclr() is high (> 15) (gocyclo)
    • Line 760: warning: cyclomatic complexity 17 of function (*ParseScope).transformInterfaceSpec() is high (> 15) (gocyclo)
    • Line 4643: warning: cyclomatic complexity 17 of function (*ParseScope).transformFuncType() is high (> 15) (gocyclo)
    • astkit/compiler/definitions.go
    • Line 846: warning: cyclomatic complexity 19 of function (*Package).addFunction() is high (> 15) (gocyclo)
    • Line 1066: warning: cyclomatic complexity 19 of function (*Package).addVariable() is high (> 15) (gocyclo)
    • Line 959: warning: cyclomatic complexity 18 of function (*Package).addStruct() is high (> 15) (gocyclo)
    • Line 908: warning: cyclomatic complexity 17 of function (*Package).addType() is high (> 15) (gocyclo)
    • Line 1015: warning: cyclomatic complexity 17 of function (*Package).addInterface() is high (> 15) (gocyclo)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license0%

Checks whether your project has a LICENSE file.


misspell87%

Misspell Finds commonly misspelled English words