Preparing report...

Report for github.com/OpenGLAMTools/ArtsParts

(v0.1.0)

A+    Excellent!    Found 6 issues across 20 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!


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!


golint75%

Golint is a linter for Go source code.

    • artsparts.go
    • Line 288: warning: exported type Timeline should have comment or be unexported (golint)
    • Line 294: warning: exported type TimelineItem should have comment or be unexported (golint)
    • image.go
    • Line 10: warning: exported function ImageToBaseString should have comment or be unexported (golint)
    • artsparts/app.go
    • Line 341: warning: exported method ArtsPartsApp.ArtworkPage should have comment or be unexported (golint)
    • Line 356: warning: comment on exported method ArtsPartsApp.ArtworkData should be of the form "ArtworkData ..." (golint)
    • artsparts/app_test.go
    • Line 83: warning: don't use underscores in Go names; func XXXTest_artsPartsApp_artwork should be XXXTestArtsPartsAppArtwork (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!


misspell90%

Misspell Finds commonly misspelled English words

    • artsparts.go
    • Line 29: warning: "insitutions" is a misspelling of "institutions" (misspell)
    • Line 303: warning: "compulsary" is a misspelling of "compulsory" (misspell)
    • Line 304: warning: "normaly" is a misspelling of "normally" (misspell)