Preparing report...

Report for github.com/bradfitz/shotizam

A    Great!    Found 4 issues across 5 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.


golint40%

Golint is a linter for Go source code.

    • shotizam/shotizam.go
    • Line 38: warning: exported type File should have comment or be unexported (golint)
    • Line 44: warning: exported function Open should have comment or be unexported (golint)
    • Line 411: warning: exported type RecKey should have comment or be unexported (golint)
    • Line 417: warning: exported type Rec should have comment or be unexported (golint)
    • shotizam/ar/ar.go
    • Line 14: warning: exported type Reader should have comment or be unexported (golint)
    • Line 40: warning: exported function NewReader should have comment or be unexported (golint)
    • Line 56: warning: exported type File should have comment or be unexported (golint)
    • shotizam/gosym/gosym.go
    • Line 110: warning: exported method Func.TableSizePCFile should have comment or be unexported (golint)
    • Line 111: warning: exported method Func.TableSizePCSP should have comment or be unexported (golint)
    • Line 112: warning: exported method Func.TableSizePCLn should have comment or be unexported (golint)
    • Line 114: warning: comment on exported method Func.TableSizePCData should be of the form "TableSizePCData ..." (golint)
    • Line 135: warning: exported method Func.ForeachTableEntry should have comment or be unexported (golint)
    • Line 224: warning: exported method Table.PtrSize should have comment or be unexported (golint)
    • Line 569: warning: exported method LineTable.StringAtOffset should have comment or be unexported (golint)
    • Line 571: warning: exported method LineTable.Uint32AtOffset 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!