Preparing report...

Report for github.com/arttor/helmify

A+    Excellent!    Found 9 issues across 44 files

Tweet

gofmt95%

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!


gocyclo97%

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.


golint84%

Golint is a linter for Go source code.

    • helmify/pkg/decoder/decoder_test.go
    • Line 71: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 82: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 93: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • helmify/internal/test_utils.go
    • Line 15: warning: exported const TestNsName should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported var TestNs should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.

    • /home/shawn/go/pkg/mod/google.golang.org/grpc@v1.27.1/status/status.go
    • Line 37: warning: unzip /home/shawn/go/pkg/mod/cache/download/google.golang.org/genproto/@v/v0.0.0-20201110150050-8816d57aaa9a.zip: write /home/shawn/go/pkg/mod/google.golang.org/genproto@v0.0.0-20201110150050-8816d57aaa9a/googleapis/ads/googleads/v2/enums/shared_set_type.pb.go: no space left on device (ineffassign)
    • Line 37: warning: could not import google.golang.org/genproto/googleapis/rpc/status (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!