Preparing report...

Report for github.com/tomyl/mort

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


golint85%

Golint is a linter for Go source code.

    • mort/store/store.go
    • Line 62: warning: exported type Task should have comment or be unexported (golint)
    • Line 78: warning: exported type TaskQuery should have comment or be unexported (golint)
    • Line 87: warning: exported type TimesheetEntry should have comment or be unexported (golint)
    • Line 97: warning: exported type Store should have comment or be unexported (golint)
    • Line 101: warning: exported function New should have comment or be unexported (golint)
    • Line 105: warning: exported function Default should have comment or be unexported (golint)
    • Line 131: warning: exported method Store.GetTasks should have comment or be unexported (golint)
    • Line 169: warning: exported method Store.GetTaskByID should have comment or be unexported (golint)
    • Line 176: warning: exported method Store.CreateTask should have comment or be unexported (golint)
    • Line 189: warning: exported method Store.UpdateTaskByID should have comment or be unexported (golint)
    • Line 200: warning: exported method Store.GetActiveTaskID should have comment or be unexported (golint)
    • Line 216: warning: exported method Store.GetPausedTaskID should have comment or be unexported (golint)
    • Line 233: warning: exported method Store.Clockin should have comment or be unexported (golint)
    • Line 259: warning: exported method Store.Clockout should have comment or be unexported (golint)
    • Line 291: warning: exported method Store.Pause should have comment or be unexported (golint)
    • Line 321: warning: exported method Store.GetTimesheet should have comment or be unexported (golint)
    • Line 336: warning: exported method Store.UpdateTimesheet should have comment or be unexported (golint)
    • Line 360: warning: exported method Store.SetArchived should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign85%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!