Preparing report...

Report for github.com/meAmidos/gopactor

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


golint63%

Golint is a linter for Go source code.

    • gopactor/gopactor/spawn.go
    • Line 22: warning: exported method Gopactor.SpawnFromInstance should have comment or be unexported (golint)
    • Line 27: warning: exported method Gopactor.SpawnFromProducer should have comment or be unexported (golint)
    • Line 32: warning: exported method Gopactor.SpawnFromFunc should have comment or be unexported (golint)
    • Line 37: warning: exported method Gopactor.SpawnNullActor should have comment or be unexported (golint)
    • gopactor/catcher/catcher.go
    • Line 86: warning: exported method Catcher.ShouldReceive should have comment or be unexported (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 99: warning: exported method Catcher.ShouldReceiveSysMsg should have comment or be unexported (golint)
    • Line 105: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 120: warning: exported method Catcher.ShouldSend should have comment or be unexported (golint)
    • Line 125: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 133: warning: exported method Catcher.ShouldNotSendOrReceive should have comment or be unexported (golint)
    • Line 144: warning: exported method Catcher.ShouldSpawn should have comment or be unexported (golint)
    • Line 149: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 152: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gopactor/catcher/context.go
    • Line 7: warning: exported type NullReceiver should have comment or be unexported (golint)
    • Line 9: warning: exported method NullReceiver.Receive should have comment or be unexported (golint)
    • Line 11: warning: comment on exported type Context should be of the form "Context ..." (with optional leading article) (golint)
    • Line 19: warning: exported function NewContext should have comment or be unexported (golint)
    • Line 23: warning: exported method Context.Spawn should have comment or be unexported (golint)
    • Line 37: warning: exported method Context.SpawnPrefix should have comment or be unexported (golint)
    • Line 51: warning: exported method Context.SpawnNamed should have comment or be unexported (golint)
    • gopactor/gopactor.go
    • Line 9: warning: comment on exported function SpawnFromInstance should be of the form "SpawnFromInstance ..." (golint)
    • Line 16: warning: comment on exported function SpawnFromProducer should be of the form "SpawnFromProducer ..." (golint)
    • Line 21: warning: comment on exported function SpawnFromFunc should be of the form "SpawnFromFunc ..." (golint)
    • Line 26: warning: comment on exported function SpawnNullActor should be of the form "SpawnNullActor ..." (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!


misspell94%

Misspell Finds commonly misspelled English words