Preparing report...

Report for github.com/Azure/azure-kusto-go

A+    Excellent!    Found 28 issues across 66 files

Tweet

gofmt95%

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!


gocyclo80%

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.

    • azure-kusto-go/kusto/query_builder.go
    • Line 393: warning: cyclomatic complexity 26 of function (Parameters).validate() is high (> 15) (gocyclo)
    • Line 72: warning: cyclomatic complexity 25 of function (ParamType).validate() is high (> 15) (gocyclo)
    • Line 141: warning: cyclomatic complexity 22 of function (ParamType).string() is high (> 15) (gocyclo)
    • azure-kusto-go/kusto/test/etoe/etoe_test.go
    • Line 83: warning: cyclomatic complexity 24 of function TestQueries() is high (> 15) (gocyclo)
    • Line 493: warning: cyclomatic complexity 21 of function TestReaderIngestion() is high (> 15) (gocyclo)
    • Line 301: warning: cyclomatic complexity 21 of function TestFileIngestion() is high (> 15) (gocyclo)

golint90%

Golint is a linter for Go source code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.


misspell77%

Misspell Finds commonly misspelled English words

    • azure-kusto-go/kusto/ingest/ingest.go
    • Line 29: warning: "mulitple" is a misspelling of "multiple" (misspell)
    • Line 123: warning: "seperated" is a misspelling of "separated" (misspell)
    • Line 141: warning: "indicats" is a misspelling of "indicators" (misspell)
    • Line 143: warning: "seperated" is a misspelling of "separated" (misspell)
    • Line 145: warning: "seperated" is a misspelling of "separated" (misspell)