Preparing report...

Report for github.com/compose/transporter

A+    Excellent!    Found 18 issues across 155 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.


golint99%

Golint is a linter for Go source code.

    • transporter/cmd/transporter/goja_builder.go
    • Line 192: warning: exported method Transporter.Source should have comment or be unexported (golint)
    • Line 217: warning: exported method Node.Transform should have comment or be unexported (golint)
    • Line 233: warning: exported method Transformer.Transform should have comment or be unexported (golint)
    • Line 244: warning: exported method Node.Save should have comment or be unexported (golint)
    • Line 269: warning: exported method Transformer.Save should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell97%

Misspell Finds commonly misspelled English words