Preparing report...

Report for github.com/cfi2017/bl3-save

A+    Excellent!    Found 14 issues across 19 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!


gocyclo100%

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.

No problems detected. Good job!


golint26%

Golint is a linter for Go source code.

    • bl3-save/internal/assets/asset.go
    • Line 20: warning: exported type HttpAssetsLoader should have comment or be unexported (golint)
    • Line 24: warning: exported method HttpAssetsLoader.GetDB should have comment or be unexported (golint)
    • Line 28: warning: exported method HttpAssetsLoader.GetBtik should have comment or be unexported (golint)
    • bl3-save/cmd/convert.go
    • Line 26: warning: comment on exported var ConvertCmd should be of the form "ConvertCmd ..." (golint)
    • Line 93: warning: exported type Anointments should have comment or be unexported (golint)
    • Line 177: warning: exported function StringToAsciiBytes should have comment or be unexported (golint)
    • bl3-save/internal/server/crossplatform.go
    • Line 12: warning: exported var ErrInvalidSavFile should have comment or be unexported (golint)
    • Line 14: warning: exported type Platforms should have comment or be unexported (golint)
    • Line 16: warning: exported type DeserializeFunc should have comment or be unexported (golint)
    • Line 18: warning: exported function TryDeserialize should have comment or be unexported (golint)
    • bl3-save/cmd/deserialize.go
    • Line 1: warning: package comment should be of the form "Package cmd ..." (golint)
    • Line 37: warning: comment on exported var DeserializeCmd should be of the form "DeserializeCmd ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign84%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!