Preparing report...

Report for git.iglou.eu/Laboratory/goCloudyFile

(v0.0.0-20211117111028-16a29c992830)

A+    Excellent!    Found 4 issues across 13 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!


gocyclo92%

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.


golint69%

Golint is a linter for Go source code.

    • internal/config/config.go
    • Line 15: warning: exported type Config should have comment or be unexported (golint)
    • Line 29: warning: exported type Cert should have comment or be unexported (golint)
    • Line 41: warning: exported type Server should have comment or be unexported (golint)
    • Line 57: warning: exported type App should have comment or be unexported (golint)
    • Line 70: warning: exported type UI should have comment or be unexported (golint)
    • Line 75: warning: exported type Meta should have comment or be unexported (golint)
    • Line 84: warning: exported type OS should have comment or be unexported (golint)
    • Line 107: warning: comment on exported function Init should be of the form "Init ..." (golint)
    • Line 209: warning: comment on exported method Config.SetFromCLI should be of the form "SetFromCLI ..." (golint)
    • internal/model/item.go
    • Line 19: warning: exported type Items should have comment or be unexported (golint)
    • Line 20: warning: exported type Item 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!


misspell92%

Misspell Finds commonly misspelled English words