Preparing report...

Report for github.com/DeedleFake/wdte

A+    Excellent!    Found 15 issues across 56 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!


gocyclo96%

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.


golint80%

Golint is a linter for Go source code.

    • wdte/wdte.go
    • Line 62: warning: exported method ImportFunc.Import should have comment or be unexported (golint)
    • Line 142: warning: exported method Frame.Context should have comment or be unexported (golint)
    • Line 340: warning: exported method Scope.Call should have comment or be unexported (golint)
    • Line 344: warning: exported method Scope.At should have comment or be unexported (golint)
    • Line 352: warning: exported method Scope.Set should have comment or be unexported (golint)
    • Line 374: warning: exported method Scope.Reflect should have comment or be unexported (golint)
    • Line 409: warning: exported method GoFunc.Call should have comment or be unexported (golint)
    • Line 436: warning: exported method FuncCall.Call should have comment or be unexported (golint)
    • Line 461: warning: exported const NormalChain should have comment (or a comment on this block) or be unexported (golint)
    • Line 476: warning: exported method ChainPiece.Call should have comment or be unexported (golint)
    • Line 491: warning: exported method Chain.Call should have comment or be unexported (golint)
    • Line 542: warning: exported method Sub.Call should have comment or be unexported (golint)
    • Line 596: warning: exported method Compound.Call should have comment or be unexported (golint)
    • Line 608: warning: exported method Collector.Call should have comment or be unexported (golint)
    • Line 629: warning: exported method Switch.Call should have comment or be unexported (golint)
    • Line 653: warning: exported method Var.Call should have comment or be unexported (golint)
    • Line 691: warning: exported method Lambda.Call should have comment or be unexported (golint)
    • Line 758: warning: exported method SimpleAssigner.Assign should have comment or be unexported (golint)
    • Line 765: warning: exported method SimpleAssigner.IDs should have comment or be unexported (golint)
    • Line 794: warning: exported method PatternAssigner.Assign should have comment or be unexported (golint)
    • Line 845: warning: exported method PatternAssigner.IDs should have comment or be unexported (golint)
    • Line 879: warning: exported method LetAssigner.Call should have comment or be unexported (golint)
    • Line 883: warning: exported method LetAssigner.Assign should have comment or be unexported (golint)
    • Line 902: warning: exported method Composite.Call should have comment or be unexported (golint)
    • Line 925: warning: exported method Modifier.Call should have comment or be unexported (golint)
    • wdte/ast/internal/pgen/pgen.go
    • Line 47: warning: exported type Token should have comment or be unexported (golint)
    • Line 49: warning: exported type Term should have comment or be unexported (golint)
    • Line 62: warning: exported type NTerm should have comment or be unexported (golint)
    • Line 64: warning: exported type Epsilon should have comment or be unexported (golint)
    • Line 70: warning: exported type EOF should have comment or be unexported (golint)
    • Line 76: warning: exported type Rule should have comment or be unexported (golint)
    • Line 78: warning: exported type Lookup should have comment or be unexported (golint)
    • wdte/std/io/file/file.go
    • Line 30: warning: exported method File.Call should have comment or be unexported (golint)
    • Line 38: warning: exported method File.Reflect should have comment or be unexported (golint)
    • wdte/std/debug/debug.go
    • Line 13: warning: exported var ErrNoBuildInfo should have comment or be unexported (golint)
    • Line 50: warning: exported var Scope should have comment or be unexported (golint)
    • wdte/std/io/io.go
    • Line 95: warning: exported method Reader.Call should have comment or be unexported (golint)
    • Line 107: warning: exported method Reader.Reflect should have comment or be unexported (golint)
    • Line 126: warning: exported method Writer.Call should have comment or be unexported (golint)
    • Line 138: warning: exported method Writer.Reflect should have comment or be unexported (golint)
    • wdte/types.go
    • Line 69: warning: exported method String.Call should have comment or be unexported (golint)
    • Line 74: warning: exported method String.Compare should have comment or be unexported (golint)
    • Line 90: warning: exported method String.Len should have comment or be unexported (golint)
    • Line 94: warning: exported method String.At should have comment or be unexported (golint)
    • Line 103: warning: exported method String.Reflect should have comment or be unexported (golint)
    • Line 112: warning: exported method Number.Call should have comment or be unexported (golint)
    • Line 117: warning: exported method Number.Compare should have comment or be unexported (golint)
    • Line 142: warning: exported method Number.Reflect should have comment or be unexported (golint)
    • Line 152: warning: exported method Array.Call should have comment or be unexported (golint)
    • Line 160: warning: exported method Array.Len should have comment or be unexported (golint)
    • Line 164: warning: exported method Array.At should have comment or be unexported (golint)
    • Line 173: warning: exported method Array.Set should have comment or be unexported (golint)
    • Line 200: warning: exported method Array.Reflect should have comment or be unexported (golint)
    • Line 222: warning: exported method Error.Call should have comment or be unexported (golint)
    • Line 234: warning: exported method Error.Reflect should have comment or be unexported (golint)
    • Line 242: warning: exported method Bool.Call should have comment or be unexported (golint)
    • Line 246: warning: exported method Bool.Compare should have comment or be unexported (golint)
    • Line 253: warning: exported method Bool.Reflect should have comment or be unexported (golint)
    • wdte/ast/node.go
    • Line 26: warning: exported method Term.Parent should have comment or be unexported (golint)
    • Line 35: warning: exported method Term.Children should have comment or be unexported (golint)
    • Line 52: warning: exported method NTerm.Parent should have comment or be unexported (golint)
    • Line 66: warning: exported method NTerm.Children should have comment or be unexported (golint)
    • Line 75: warning: exported method Epsilon.Parent should have comment or be unexported (golint)
    • Line 79: warning: exported method Epsilon.Children should have comment or be unexported (golint)
    • wdte/std/stream/stream.go
    • Line 24: warning: exported method NextFunc.Call should have comment or be unexported (golint)
    • Line 28: warning: exported method NextFunc.Next should have comment or be unexported (golint)
    • Line 36: warning: exported method NextFunc.Reflect should have comment or be unexported (golint)
    • wdte/std/mods.go
    • Line 17: warning: exported method Memo.Call should have comment or be unexported (golint)
    • Line 71: warning: exported function ModMemo should have comment or be unexported (golint)
    • Line 93: warning: exported function ModRev 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!


misspell94%

Misspell Finds commonly misspelled English words