Preparing report...

Report for github.com/src-d/sourced-ce

A+    Excellent!    Found 5 issues across 32 files

Tweet

gofmt96%

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!


gocyclo96%

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.


golint96%

Golint is a linter for Go source code.

    • sourced-ce/cmd/sourced/compose/compose.go
    • Line 50: warning: exported type Compose should have comment or be unexported (golint)
    • Line 55: warning: exported method Compose.Run should have comment or be unexported (golint)
    • Line 59: warning: exported method Compose.RunWithIO should have comment or be unexported (golint)
    • Line 172: warning: exported function Run should have comment or be unexported (golint)
    • Line 181: warning: exported function RunWithIO should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.


misspell93%

Misspell Finds commonly misspelled English words