Preparing report...

Report for github.com/lucassabreu/clockify-cli

A+    Excellent!    Found 9 issues across 40 files

Tweet

gofmt97%

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!


golint80%

Golint is a linter for Go source code.

    • clockify-cli/cmd/config.go
    • Line 43: warning: exported const FORMAT_YAML should have comment or be unexported (golint)
    • Line 44: warning: exported const FORMAT_JSON should have comment or be unexported (golint)
    • clockify-cli/cmd/completion/validArgs.go
    • Line 7: warning: exported type ValidArgs should have comment or be unexported (golint)
    • Line 18: warning: exported type ValigsArgsMap should have comment or be unexported (golint)
    • Line 20: warning: exported method ValigsArgsMap.Set should have comment or be unexported (golint)
    • Line 25: warning: exported method ValigsArgsMap.OnlyArgs should have comment or be unexported (golint)
    • Line 33: warning: exported method ValigsArgsMap.IntoUse should have comment or be unexported (golint)
    • Line 38: warning: exported method ValigsArgsMap.IntoValidArgs should have comment or be unexported (golint)
    • Line 46: warning: exported type ValigsArgsSlide should have comment or be unexported (golint)
    • Line 48: warning: exported method ValigsArgsSlide.IntoUse should have comment or be unexported (golint)
    • Line 52: warning: exported method ValigsArgsSlide.IntoValidArgs should have comment or be unexported (golint)
    • Line 56: warning: exported method ValigsArgsSlide.OnlyArgs should have comment or be unexported (golint)
    • clockify-cli/api/dto/request.go
    • Line 28: warning: exported function NewPagination should have comment or be unexported (golint)
    • Line 51: warning: exported type PaginatedRequest should have comment or be unexported (golint)
    • Line 112: warning: exported type GetProjectRequest should have comment or be unexported (golint)
    • Line 140: warning: exported type GetTagsRequest 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!