Preparing report...

Report for github.com/bluevare/go-jira

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


gocyclo98%

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.

    • go-jira/issue.go
    • Line 1277: warning: cyclomatic complexity 19 of function InitIssueWithMetaAndFields() is high (> 15) (gocyclo)

golint93%

Golint is a linter for Go source code.

    • go-jira/issue.go
    • Line 293: warning: exported method Time.Equal should have comment or be unexported (golint)
    • Line 410: warning: exported type EntityProperty should have comment or be unexported (golint)
    • Line 544: warning: exported type AddWorklogQueryOptions should have comment or be unexported (golint)
    • Line 776: warning: comment on exported function WithQueryOptions should be of the form "WithQueryOptions ..." (golint)
    • Line 1478: warning: exported method ChangelogHistory.CreatedTime should have comment or be unexported (golint)
    • go-jira/jira.go
    • Line 534: warning: exported method JWTAuthTransport.Client should have comment or be unexported (golint)
    • go-jira/permissionscheme.go
    • Line 14: warning: exported type PermissionSchemes should have comment or be unexported (golint)
    • Line 18: warning: exported type Permission should have comment or be unexported (golint)
    • Line 25: warning: exported type Holder should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign94%

IneffAssign detects ineffectual assignments in Go code.

    • go-jira/issue_test.go
    • Line 630: warning: cannot initialize 3 variables with 4 values (ineffassign)
    • Line 661: warning: cannot initialize 3 variables with 4 values (ineffassign)
    • Line 690: warning: cannot initialize 3 variables with 4 values (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!