Preparing report...

Report for devt.de/krotik/eliasdb

A+    Excellent!    Found 88 issues across 241 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!


gocyclo63%

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.

    • /devt.de/krotik/eliasdb/cluster/manager/manager_test.go
    • Line 1797: warning: cyclomatic complexity 60 of function TestLowLevelManagerCommunication() is high (> 15) (gocyclo)
    • Line 940: warning: cyclomatic complexity 21 of function TestClusterTemporaryFailure() is high (> 15) (gocyclo)
    • Line 1318: warning: cyclomatic complexity 18 of function TestClusterBuilding() is high (> 15) (gocyclo)
    • Line 659: warning: cyclomatic complexity 17 of function TestClusterEjection() is high (> 15) (gocyclo)
    • /devt.de/krotik/eliasdb/graph/trans_test.go
    • Line 792: warning: cyclomatic complexity 51 of function TestTransErrors() is high (> 15) (gocyclo)
    • Line 215: warning: cyclomatic complexity 45 of function TestNormalTrans() is high (> 15) (gocyclo)
    • Line 505: warning: cyclomatic complexity 24 of function TestTransBuilding() is high (> 15) (gocyclo)
    • Line 44: warning: cyclomatic complexity 20 of function TestRollingTrans() is high (> 15) (gocyclo)
    • /devt.de/krotik/eliasdb/graph/graphmanager_edges.go
    • Line 332: warning: cyclomatic complexity 26 of function (*Manager).StoreEdge() is high (> 15) (gocyclo)
    • Line 169: warning: cyclomatic complexity 20 of function (*Manager).Traverse() is high (> 15) (gocyclo)
    • Line 737: warning: cyclomatic complexity 17 of function (*Manager).deleteEdge() is high (> 15) (gocyclo)
    • Line 625: warning: cyclomatic complexity 17 of function (*Manager).RemoveEdge() is high (> 15) (gocyclo)
    • Line 109: warning: cyclomatic complexity 17 of function (*Manager).TraverseMulti() is high (> 15) (gocyclo)
    • /devt.de/krotik/eliasdb/graph/graphmanager_nodes.go
    • Line 339: warning: cyclomatic complexity 18 of function (*Manager).writeNode() is high (> 15) (gocyclo)
    • Line 233: warning: cyclomatic complexity 17 of function (*Manager).storeOrUpdateNode() is high (> 15) (gocyclo)
    • Line 478: warning: cyclomatic complexity 16 of function (*Manager).RemoveNode() is high (> 15) (gocyclo)
    • Line 96: warning: cyclomatic complexity 16 of function (*Manager).readNode() is high (> 15) (gocyclo)
    • /devt.de/krotik/eliasdb/api/v1/queryresult_test.go
    • Line 22: warning: cyclomatic complexity 39 of function TestResultGroupingWithState() is high (> 15) (gocyclo)
    • Line 464: warning: cyclomatic complexity 37 of function TestResultSelection() is high (> 15) (gocyclo)
    • Line 363: warning: cyclomatic complexity 20 of function TestResultGroupingSpecifiedGroup() is high (> 15) (gocyclo)
    • /devt.de/krotik/eliasdb/graphql/interpreter/selectionset.go
    • Line 140: warning: cyclomatic complexity 38 of function (*selectionSetRuntime).ProcessNodes() is high (> 15) (gocyclo)
    • Line 358: warning: cyclomatic complexity 24 of function (*selectionSetRuntime).handleMutationArgs() is high (> 15) (gocyclo)
    • Line 518: warning: cyclomatic complexity 16 of function (*selectionSetRuntime).GetPlainFieldsAndAliases() is high (> 15) (gocyclo)
    • /devt.de/krotik/eliasdb/eql/interpreter/runtime.go
    • Line 593: warning: cyclomatic complexity 34 of function (*eqlRuntimeProvider).next() is high (> 15) (gocyclo)
    • Line 375: warning: cyclomatic complexity 33 of function (*eqlRuntimeProvider).initCols() is high (> 15) (gocyclo)
    • Line 231: warning: cyclomatic complexity 31 of function (*eqlRuntimeProvider).initWithFlags() is high (> 15) (gocyclo)
    • Line 91: warning: cyclomatic complexity 20 of function (*eqlRuntimeProvider).init() is high (> 15) (gocyclo)

golint100%

Golint is a linter for Go source code.

No problems detected. Good job!


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!


misspell99%

Misspell Finds commonly misspelled English words