Preparing report...

Report for github.com/Azer0s/quacktors

A+    Excellent!    Found 6 issues across 50 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!


golint88%

Golint is a linter for Go source code.

    • quacktors/metrics/api.go
    • Line 8: warning: exported function RegisterRecorder should have comment or be unexported (golint)
    • Line 17: warning: exported function RecordSpawn should have comment or be unexported (golint)
    • Line 28: warning: exported function RecordDie should have comment or be unexported (golint)
    • Line 39: warning: exported function RecordDrop should have comment or be unexported (golint)
    • Line 50: warning: exported function RecordDropRemote should have comment or be unexported (golint)
    • Line 61: warning: exported function RecordUnhandled should have comment or be unexported (golint)
    • Line 72: warning: exported function RecordReceive should have comment or be unexported (golint)
    • Line 83: warning: exported function RecordReceiveRemote should have comment or be unexported (golint)
    • Line 94: warning: exported function RecordSendLocal should have comment or be unexported (golint)
    • Line 105: warning: exported function RecordSendRemote should have comment or be unexported (golint)
    • quacktors/metrics/timed_recorder.go
    • Line 8: warning: exported type TimedMetrics should have comment or be unexported (golint)
    • Line 20: warning: exported type TimedRecorderHook should have comment or be unexported (golint)
    • Line 24: warning: exported function NewTimedRecorder should have comment or be unexported (golint)
    • Line 31: warning: exported type TimedRecorder should have comment or be unexported (golint)
    • Line 45: warning: exported method TimedRecorder.Init should have comment or be unexported (golint)
    • Line 75: warning: exported method TimedRecorder.RecordSpawn should have comment or be unexported (golint)
    • Line 79: warning: exported method TimedRecorder.RecordDie should have comment or be unexported (golint)
    • Line 83: warning: exported method TimedRecorder.RecordDrop should have comment or be unexported (golint)
    • Line 87: warning: exported method TimedRecorder.RecordDropRemote should have comment or be unexported (golint)
    • Line 91: warning: exported method TimedRecorder.RecordUnhandled should have comment or be unexported (golint)
    • Line 95: warning: exported method TimedRecorder.RecordReceive should have comment or be unexported (golint)
    • Line 99: warning: exported method TimedRecorder.RecordReceiveRemote should have comment or be unexported (golint)
    • Line 103: warning: exported method TimedRecorder.RecordSendLocal should have comment or be unexported (golint)
    • Line 107: warning: exported method TimedRecorder.RecordSendRemote should have comment or be unexported (golint)
    • quacktors/quacktorstreams/consumer.go
    • Line 8: warning: exported type StreamMessage should have comment or be unexported (golint)
    • Line 14: warning: exported type Consumer should have comment or be unexported (golint)
    • Line 20: warning: exported type ConsumerActor should have comment or be unexported (golint)
    • Line 27: warning: exported method ConsumerActor.Init should have comment or be unexported (golint)
    • Line 39: warning: exported method ConsumerActor.Subscribe should have comment or be unexported (golint)
    • Line 46: warning: exported method ConsumerActor.Run should have comment or be unexported (golint)
    • quacktors/quacktorstreams/producer.go
    • Line 5: warning: exported type Producer should have comment or be unexported (golint)
    • Line 11: warning: exported type ProducerActor should have comment or be unexported (golint)
    • Line 15: warning: exported method ProducerActor.Init should have comment or be unexported (golint)
    • Line 22: warning: exported method ProducerActor.Run 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!