Preparing report...

Report for github.com/anmil/quicknote

A+    Excellent!    Found 12 issues across 67 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!


golint83%

Golint is a linter for Go source code.

    • quicknote/note.go
    • Line 38: warning: comment on exported const MaxStringLen should be of the form "MaxStringLen ..." (golint)
    • Line 82: warning: exported method Note.GetTagIDsArray should have comment or be unexported (golint)
    • Line 118: warning: exported type Notes should have comment or be unexported (golint)
    • quicknote/test/book.go
    • Line 28: warning: exported var AllBooks should have comment or be unexported (golint)
    • Line 47: warning: exported function CheckBooks should have comment or be unexported (golint)
    • Line 65: warning: exported function BookSliceEq should have comment or be unexported (golint)
    • quicknote/test/tag.go
    • Line 29: warning: exported var AllTags should have comment or be unexported (golint)
    • Line 48: warning: exported function CheckTags should have comment or be unexported (golint)
    • Line 66: warning: exported function TagSliceEq should have comment or be unexported (golint)
    • quicknote/test/notes.go
    • Line 76: warning: exported type JsonNote should have comment or be unexported (golint)
    • Line 92: warning: exported function GetTestNotes should have comment or be unexported (golint)
    • Line 96: warning: exported function GetTestNotesCust should have comment or be unexported (golint)
    • Line 129: warning: exported function CheckNotes should have comment or be unexported (golint)
    • Line 147: warning: exported function NoteSliceEq should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!