Preparing report...

Report for github.com/Layer9Berlin/pipedream

A+    Excellent!    Found 20 issues across 131 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!


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.


golint86%

Golint is a linter for Go source code.

    • pipedream/src/custom/io/synchronized_buffer.go
    • Line 8: warning: exported type SynchronizedBuffer should have comment or be unexported (golint)
    • Line 13: warning: exported function NewSynchronizedBuffer should have comment or be unexported (golint)
    • Line 38: warning: exported method SynchronizedBuffer.Bytes should have comment or be unexported (golint)
    • pipedream/src/pipeline/run.go
    • Line 40: warning: exported type Run should have comment or be unexported (golint)
    • Line 298: warning: exported method Run.GraphLabel should have comment or be unexported (golint)
    • Line 317: warning: exported method Run.GraphGroup should have comment or be unexported (golint)
    • Line 335: warning: exported method Run.DisplayString should have comment or be unexported (golint)
    • Line 469: warning: exported method Run.DontCompleteBefore should have comment or be unexported (golint)
    • pipedream/src/datastream/intercept.go
    • Line 8: warning: exported type WriteCloserWithError should have comment or be unexported (golint)
    • Line 49: warning: exported method ComposableDataStreamIntercept.CloseWithError should have comment or be unexported (golint)
    • pipedream/src/middleware/execution_context.go
    • Line 397: warning: exported method ExecutionContext.AddConnection should have comment or be unexported (golint)
    • Line 403: warning: exported method ExecutionContext.Connections should have comment or be unexported (golint)
    • Line 415: warning: exported method ExecutionContext.Runs 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!