Preparing report...

Report for github.com/viant/bgc

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


golint62%

Golint is a linter for Go source code.

    • bgc/insert.go
    • Line 18: warning: exported const InsertMethodStream should have comment (or a comment on this block) or be unexported (golint)
    • Line 221: warning: comment on exported method InsertTask.LoadAll should be of the form "LoadAll ..." (golint)
    • Line 234: warning: comment on exported method InsertTask.Insert should be of the form "Insert ..." (golint)
    • Line 327: warning: comment on exported method InsertTask.StreamAll should be of the form "StreamAll ..." (golint)
    • bgc/query_info.go
    • Line 3: warning: comment on exported type QueryResultInfo should be of the form "QueryResultInfo ..." (with optional leading article) (golint)
    • bgc/query_iterator.go
    • Line 179: warning: comment on exported method QueryIterator.GetColumnTypes should be of the form "GetColumnTypes ..." (golint)
    • bgc/util.go
    • Line 16: warning: context.Context should be the first parameter of a function (golint)
    • bgc/connection.go
    • Line 27: warning: exported const ServiceAccountIdKey should have comment (or a comment on this block) or be unexported (golint)
    • bgc/dialect.go
    • Line 22: warning: exported type ColumnInfo 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!


misspell87%

Misspell Finds commonly misspelled English words