Preparing report...

Report for github.com/fosskers/active

A    Great!    Found 5 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!


gocyclo85%

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.


golint28%

Golint is a linter for Go source code.

    • active/config/config.go
    • Line 16: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 22: warning: exported type Git should have comment or be unexported (golint)
    • Line 29: warning: comment on exported type Witness should be of the form "Witness ..." (with optional leading article) (golint)
    • Line 37: warning: comment on exported type Lookups should be of the form "Lookups ..." (with optional leading article) (golint)
    • Line 46: warning: comment on exported type Terminal should be of the form "Terminal ..." (with optional leading article) (golint)
    • Line 55: warning: comment on exported type Env should be of the form "Env ..." (with optional leading article) (golint)
    • Line 66: warning: comment on exported function ReadConfig should be of the form "ReadConfig ..." (golint)
    • Line 79: warning: exported function GithubClient should have comment or be unexported (golint)
    • Line 82: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 94: warning: comment on exported function RuntimeEnv should be of the form "RuntimeEnv ..." (golint)
    • active/active.go
    • Line 39: warning: exported type Project should have comment or be unexported (golint)
    • Line 49: warning: comment on exported type Workflow should be of the form "Workflow ..." (with optional leading article) (golint)
    • active/utils/utils.go
    • Line 8: warning: comment on exported function ExitIfErr should be of the form "ExitIfErr ..." (golint)
    • Line 17: warning: exported function PrintExit should have comment or be unexported (golint)
    • active/parsing/parsing.go
    • Line 7: warning: exported type Action should have comment or be unexported (golint)
    • Line 13: warning: comment on exported method Action.Raw should be of the form "Raw ..." (golint)
    • Line 18: warning: comment on exported method Action.Repo should be of the form "Repo ..." (golint)
    • Line 23: warning: comment on exported function Actions should be of the form "Actions ..." (golint)
    • active/gitutils/gitutils.go
    • Line 18: warning: comment on exported function Recent should be of the form "Recent ..." (golint)
    • Line 33: warning: comment on exported function Checkout should be of the form "Checkout ..." (golint)
    • Line 50: warning: comment on exported function CheckoutCreate should be of the form "CheckoutCreate ..." (golint)
    • Line 107: warning: comment on exported function PullMaster should be of the form "PullMaster ..." (golint)
    • Line 117: warning: comment on exported function PullRequest should be of the form "PullRequest ..." (golint)
    • Line 133: warning: comment on exported function ChooseRemote should be of the form "ChooseRemote ..." (golint)
    • Line 152: warning: comment on exported function PushableRemote should be of the form "PushableRemote ..." (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!