Preparing report...

Report for github.com/hypnoglow/helm-s3

A+    Excellent!    Found 10 issues across 38 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!


gocyclo94%

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.


golint78%

Golint is a linter for Go source code.

    • helm-s3/internal/helmutil/repo_entry_v2.go
    • Line 15: warning: exported method RepoEntryV2.URL should have comment or be unexported (golint)
    • Line 19: warning: exported method RepoEntryV2.IndexURL should have comment or be unexported (golint)
    • Line 23: warning: exported method RepoEntryV2.CacheFile should have comment or be unexported (golint)
    • helm-s3/internal/helmutil/repo_entry_v3.go
    • Line 10: warning: comment on exported type RepoEntryV3 should be of the form "RepoEntryV3 ..." (with optional leading article) (golint)
    • Line 15: warning: exported method RepoEntryV3.URL should have comment or be unexported (golint)
    • Line 19: warning: exported method RepoEntryV3.IndexURL should have comment or be unexported (golint)
    • Line 23: warning: exported method RepoEntryV3.CacheFile should have comment or be unexported (golint)
    • helm-s3/internal/helmutil/chart_v2.go
    • Line 17: warning: exported method ChartV2.Name should have comment or be unexported (golint)
    • Line 21: warning: exported method ChartV2.Version should have comment or be unexported (golint)
    • Line 25: warning: exported method ChartV2.Metadata should have comment or be unexported (golint)
    • helm-s3/internal/helmutil/chart_v3.go
    • Line 17: warning: exported method ChartV3.Name should have comment or be unexported (golint)
    • Line 21: warning: exported method ChartV3.Version should have comment or be unexported (golint)
    • Line 28: warning: exported method ChartV3.Metadata should have comment or be unexported (golint)
    • helm-s3/internal/helmutil/index_v2.go
    • Line 19: warning: exported type IndexV2 should have comment or be unexported (golint)
    • Line 23: warning: exported method IndexV2.Add should have comment or be unexported (golint)
    • Line 33: warning: exported method IndexV2.AddOrReplace should have comment or be unexported (golint)
    • Line 93: warning: exported method IndexV2.Delete should have comment or be unexported (golint)
    • Line 116: warning: exported method IndexV2.Has should have comment or be unexported (golint)
    • Line 120: warning: exported method IndexV2.SortEntries should have comment or be unexported (golint)
    • Line 124: warning: exported method IndexV2.MarshalBinary should have comment or be unexported (golint)
    • Line 128: warning: exported method IndexV2.UnmarshalBinary should have comment or be unexported (golint)
    • Line 139: warning: exported method IndexV2.Reader should have comment or be unexported (golint)
    • Line 148: warning: exported method IndexV2.WriteFile should have comment or be unexported (golint)
    • helm-s3/internal/helmutil/index_v3.go
    • Line 19: warning: exported type IndexV3 should have comment or be unexported (golint)
    • Line 23: warning: exported method IndexV3.Add should have comment or be unexported (golint)
    • Line 33: warning: exported method IndexV3.AddOrReplace should have comment or be unexported (golint)
    • Line 93: warning: exported method IndexV3.Delete should have comment or be unexported (golint)
    • Line 116: warning: exported method IndexV3.Has should have comment or be unexported (golint)
    • Line 120: warning: exported method IndexV3.SortEntries should have comment or be unexported (golint)
    • Line 124: warning: exported method IndexV3.MarshalBinary should have comment or be unexported (golint)
    • Line 128: warning: exported method IndexV3.UnmarshalBinary should have comment or be unexported (golint)
    • Line 139: warning: exported method IndexV3.Reader should have comment or be unexported (golint)
    • Line 148: warning: exported method IndexV3.WriteFile 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!