Preparing report...

Report for github.com/interviewstreet/go-jira

A+    Excellent!    Found 8 issues across 59 files

Tweet

gofmt93%

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!


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 1413: warning: cyclomatic complexity 19 of function InitIssueWithMetaAndFields() is high (> 15) (gocyclo)

golint89%

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 472: warning: comment on exported type Commentv3 should be of the form "Commentv3 ..." (with optional leading article) (golint)
    • Line 558: warning: exported type AddWorklogQueryOptions should have comment or be unexported (golint)
    • Line 790: warning: comment on exported function WithQueryOptions should be of the form "WithQueryOptions ..." (golint)
    • Line 908: warning: exported method IssueService.GetComment should have comment or be unexported (golint)
    • Line 933: warning: comment on exported method IssueService.AddCommentWithContextv3 should be of the form "AddCommentWithContextv3 ..." (golint)
    • Line 955: warning: comment on exported method IssueService.AddCommentv3 should be of the form "AddCommentv3 ..." (golint)
    • Line 985: warning: exported method IssueService.UpdateCommentWithContextv3 should have comment or be unexported (golint)
    • Line 1006: warning: comment on exported method IssueService.UpdateCommentv3 should be of the form "UpdateCommentv3 ..." (golint)
    • Line 1201: warning: comment on exported method IssueService.SearchBoard should be of the form "SearchBoard ..." (golint)
    • Line 1206: warning: exported method IssueService.SearchBoardWithContext should have comment or be unexported (golint)
    • Line 1614: 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)
    • go-jira/project.go
    • Line 33: warning: exported type ProjectSearchResult should have comment or be unexported (golint)
    • Line 110: warning: exported method ProjectService.Search should have comment or be unexported (golint)
    • Line 114: warning: exported method ProjectService.SearchWithContext 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!