Preparing report...

Report for github.com/stefanhans/programming-reactive-systems-in-go

A+    Excellent!    Found 23 issues across 150 files

Tweet

gofmt98%

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!


gocyclo92%

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.


golint90%

Golint is a linter for Go source code.

    • programming-reactive-systems-in-go/thesis-code-snippets/3.1.2/oop/oop-interfaces.go
    • Line 5: warning: exported type Human should have comment or be unexported (golint)
    • Line 7: warning: exported type Man should have comment or be unexported (golint)
    • Line 9: warning: exported type Women should have comment or be unexported (golint)
    • Line 11: warning: exported type Talker should have comment or be unexported (golint)
    • Line 13: warning: exported function SpeakOut should have comment or be unexported (golint)
    • Line 17: warning: exported method Human.Talk should have comment or be unexported (golint)
    • Line 21: warning: exported method Man.Talk should have comment or be unexported (golint)
    • programming-reactive-systems-in-go/thesis-code-snippets/3.1.3/functional-streaming.go
    • Line 8: warning: exported type NodeOfInt should have comment or be unexported (golint)
    • Line 19: warning: exported method NodeOfInt.Start should have comment or be unexported (golint)
    • Line 35: warning: exported function NewNodeOfInt should have comment or be unexported (golint)
    • Line 47: warning: exported method NodeOfInt.Connect should have comment or be unexported (golint)
    • Line 52: warning: exported method NodeOfInt.SetFunc should have comment or be unexported (golint)
    • Line 54: warning: exported method NodeOfInt.Printf should have comment or be unexported (golint)
    • Line 65: warning: exported method NodeOfInt.ProduceAtMs should have comment or be unexported (golint)
    • Line 79: warning: don't use underscores in Go names; var node_1 should be node1 (golint)
    • Line 79: warning: don't use underscores in Go names; var node_2 should be node2 (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!