Preparing report...

Report for github.com/tmbdev/tarp

A    Great!    Found 11 issues across 28 files

Tweet

gofmt92%

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!


gocyclo100%

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.

No problems detected. Good job!


golint71%

Golint is a linter for Go source code.

    • tarp/tarp/cat.go
    • Line 74: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • tarp/tarp/sort.go
    • Line 40: warning: exported function WriteBadger should have comment or be unexported (golint)
    • Line 64: warning: exported function ReadBadger should have comment or be unexported (golint)
    • tarp/dpipes/common.go
    • Line 44: warning: comment on exported var Pipesize should be of the form "Pipesize ..." (golint)
    • Line 62: warning: comment on exported function Warn should be of the form "Warn ..." (golint)
    • Line 122: warning: comment on exported function ExpandBraces should be of the form "ExpandBraces ..." (golint)
    • tarp/dpipes/copying.go
    • Line 33: warning: comment on exported function SliceSamplesStep should be of the form "SliceSamplesStep ..." (golint)
    • Line 90: warning: comment on exported function SliceSamplesSpec should be of the form "SliceSamplesSpec ..." (golint)
    • tarp/dpipes/execute.go
    • Line 79: warning: exported var MultiFmt should have comment or be unexported (golint)
    • Line 128: warning: exported function MultiProcessSamples should have comment or be unexported (golint)
    • tarp/dpipes/map.go
    • Line 21: warning: exported type MultiSampleF should have comment or be unexported (golint)
    • Line 23: warning: comment on exported function MultiMapSamples should be of the form "MultiMapSamples ..." (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign92%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!