Preparing report...

Report for github.com/itchio/wizardry

A+    Excellent!    Found 10 issues across 20 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!


gocyclo60%

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.


golint75%

Golint is a linter for Go source code.

    • wizardry/wizardry/wizutil/wizutil.go
    • Line 18: warning: comment on exported function IsOctalNumber should be of the form "IsOctalNumber ..." (golint)
    • Line 23: warning: comment on exported function IsHexNumber should be of the form "IsHexNumber ..." (golint)
    • wizardry/wizardry/wizcompiler/folder.go
    • Line 9: warning: exported type Operator should have comment or be unexported (golint)
    • Line 12: warning: exported const OperatorMul should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported method Operator.Precedence should have comment or be unexported (golint)
    • Line 30: warning: exported method Operator.IsAssociative should have comment or be unexported (golint)
    • Line 39: warning: exported method Operator.Evaluate should have comment or be unexported (golint)
    • Line 73: warning: exported type Expression should have comment or be unexported (golint)
    • Line 78: warning: exported type NumberLiteral should have comment or be unexported (golint)
    • Line 88: warning: exported method NumberLiteral.Fold should have comment or be unexported (golint)
    • Line 92: warning: exported type VariableAccess should have comment or be unexported (golint)
    • Line 102: warning: exported method VariableAccess.Fold should have comment or be unexported (golint)
    • Line 106: warning: exported type BinaryOp should have comment or be unexported (golint)
    • Line 124: warning: exported method BinaryOp.Fold should have comment or be unexported (golint)
    • wizardry/wizardry/wizutil/slicereader.go
    • Line 5: warning: exported type SliceReader should have comment or be unexported (golint)
    • Line 13: warning: exported function NewSliceReader should have comment or be unexported (golint)
    • Line 21: warning: exported method SliceReader.Slice should have comment or be unexported (golint)
    • Line 29: warning: exported method SliceReader.Cap should have comment or be unexported (golint)
    • Line 37: warning: exported method SliceReader.AbsoluteOffset should have comment or be unexported (golint)
    • Line 51: warning: exported method SliceReader.AbsoluteSize should have comment or be unexported (golint)
    • Line 65: warning: exported method SliceReader.Size should have comment or be unexported (golint)
    • Line 69: warning: exported method SliceReader.ReadAt should have comment or be unexported (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!