Preparing report...

Report for github.com/muesli/gitty

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


golint27%

Golint is a linter for Go source code.

    • gitty/pr.go
    • Line 28: warning: exported type QLPullRequest should have comment or be unexported (golint)
    • Line 44: warning: exported type PullRequest should have comment or be unexported (golint)
    • Line 81: warning: exported function PullRequestFromQL should have comment or be unexported (golint)
    • gitty/release.go
    • Line 28: warning: exported type QLRelease should have comment or be unexported (golint)
    • Line 39: warning: exported type Release should have comment or be unexported (golint)
    • Line 128: warning: exported function ReleaseFromQL should have comment or be unexported (golint)
    • gitty/repos.go
    • Line 28: warning: exported type QLRepository should have comment or be unexported (golint)
    • Line 55: warning: exported type Repo should have comment or be unexported (golint)
    • Line 118: warning: exported function RepoFromQL should have comment or be unexported (golint)
    • gitty/users.go
    • Line 9: warning: exported type QLUser should have comment or be unexported (golint)
    • Line 16: warning: exported type User should have comment or be unexported (golint)
    • Line 37: warning: exported function UserFromQL should have comment or be unexported (golint)
    • gitty/commit.go
    • Line 32: warning: exported type QLCommit should have comment or be unexported (golint)
    • Line 38: warning: exported type Commit should have comment or be unexported (golint)
    • Line 69: warning: exported function CommitFromQL should have comment or be unexported (golint)
    • gitty/issue.go
    • Line 28: warning: exported type QLIssue should have comment or be unexported (golint)
    • Line 44: warning: exported type Issue should have comment or be unexported (golint)
    • Line 80: warning: exported function IssueFromQL 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!