Preparing report...

Report for github.com/corneliusweig/ketall

A+    Excellent!    Found 11 issues across 22 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!


gocyclo95%

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.


golint50%

Golint is a linter for Go source code.

    • ketall/internal/printer/adapter.go
    • Line 30: warning: exported type FlattenListAdapter should have comment or be unexported (golint)
    • Line 34: warning: exported function NewFlattenListAdapterPrinter should have comment or be unexported (golint)
    • Line 39: warning: exported method FlattenListAdapter.PrintObj should have comment or be unexported (golint)
    • Line 56: warning: exported type ListAdapterPrinter should have comment or be unexported (golint)
    • Line 60: warning: exported function NewListAdapterPrinter should have comment or be unexported (golint)
    • Line 65: warning: exported method ListAdapterPrinter.PrintObj should have comment or be unexported (golint)
    • ketall/internal/printer/table_printer.go
    • Line 35: warning: exported type TablePrinter should have comment or be unexported (golint)
    • Line 41: warning: exported method TablePrinter.PrintObj should have comment or be unexported (golint)
    • Line 56: warning: exported method TablePrinter.PrintHeader should have comment or be unexported (golint)
    • ketall/internal/filter/filter.go
    • Line 33: warning: exported type Predicate should have comment or be unexported (golint)
    • Line 40: warning: exported function ApplyFilter should have comment or be unexported (golint)
    • Line 61: warning: exported function ByPredicates should have comment or be unexported (golint)
    • Line 94: warning: exported function AgePredicate should have comment or be unexported (golint)
    • Line 113: warning: exported function ParseHumanDuration should have comment or be unexported (golint)
    • ketall/internal/options/options.go
    • Line 29: warning: exported type KetallOptions should have comment or be unexported (golint)
    • Line 43: warning: exported function NewCmdOptions should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function NewTestTestCmdOptions should be of the form "NewTestTestCmdOptions ..." (golint)
    • Line 66: warning: exported type KAPrintFlags should have comment or be unexported (golint)
    • Line 70: warning: exported method KAPrintFlags.ToPrinter should have comment or be unexported (golint)
    • ketall/cmd/root.go
    • Line 81: warning: exported function Execute should have comment or be unexported (golint)
    • Line 138: warning: exported function SetUpLogs 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!