Preparing report...

Report for github.com/yorukot/superfile

(v1.2.1)

A+    Excellent!    Found 11 issues across 39 files

Tweet

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!


gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


gocyclo84%

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.

    • src/internal/key_function.go
    • Line 17: warning: cyclomatic complexity 35 of function (*model).mainKey() is high (> 15) (gocyclo)
    • Line 140: warning: cyclomatic complexity 25 of function (*model).normalAndBrowserModeKey() is high (> 15) (gocyclo)
    • src/internal/model_render.go
    • Line 641: warning: cyclomatic complexity 31 of function (*model).filePreviewPanelRender() is high (> 15) (gocyclo)
    • Line 96: warning: cyclomatic complexity 29 of function (*model).filePanelRender() is high (> 15) (gocyclo)
    • Line 512: warning: cyclomatic complexity 22 of function (*model).helpMenuRender() is high (> 15) (gocyclo)
    • src/internal/function.go
    • Line 338: warning: cyclomatic complexity 20 of function (*model).returnMetaData() is high (> 15) (gocyclo)
    • Line 115: warning: cyclomatic complexity 16 of function returnDirElement() is high (> 15) (gocyclo)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell84%

Misspell Finds commonly misspelled English words

    • src/cmd/main.go
    • Line 93: warning: "arguement" is a misspelling of "argument" (misspell)
    • Line 103: warning: "arguement" is a misspelling of "argument" (misspell)