Preparing report...

Report for github.com/wroge/querify

(v0.0.0-20220226094031-39a4a2109d72)

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


golint33%

Golint is a linter for Go source code.

    • interface.go
    • Line 3: warning: exported type Query should have comment or be unexported (golint)
    • Line 7: warning: exported type Join should have comment or be unexported (golint)
    • Line 11: warning: exported type Condition should have comment or be unexported (golint)
    • Line 15: warning: exported type GroupBy should have comment or be unexported (golint)
    • Line 19: warning: exported type Select should have comment or be unexported (golint)
    • Line 23: warning: exported type Variable should have comment or be unexported (golint)
    • Line 27: warning: exported type OrderBy should have comment or be unexported (golint)
    • querify.go
    • Line 17: warning: exported type Value should have comment or be unexported (golint)
    • Line 19: warning: exported function Copy should have comment or be unexported (golint)
    • Line 28: warning: exported type Record should have comment or be unexported (golint)
    • Line 34: warning: exported method Record.Scan should have comment or be unexported (golint)
    • Line 47: warning: exported method Record.ScanColumn should have comment or be unexported (golint)
    • Line 65: warning: exported method Record.MarshalJSON should have comment or be unexported (golint)
    • Line 81: warning: exported method Record.UnmarshalJSON should have comment or be unexported (golint)
    • Line 103: warning: exported function From should have comment or be unexported (golint)
    • Line 119: warning: exported type Table should have comment or be unexported (golint)
    • Line 125: warning: exported method Table.Copy should have comment or be unexported (golint)
    • Line 148: warning: exported method Table.As should have comment or be unexported (golint)
    • Line 164: warning: exported method Table.Records should have comment or be unexported (golint)
    • Line 174: warning: exported method Table.Scan should have comment or be unexported (golint)
    • Line 187: warning: exported method Table.ScanColumn should have comment or be unexported (golint)
    • Line 205: warning: exported method Table.MarshalJSON should have comment or be unexported (golint)
    • Line 228: warning: exported method Table.UnmarshalJSON should have comment or be unexported (golint)
    • Line 262: warning: exported method Table.Query should have comment or be unexported (golint)
    • Line 266: warning: exported method Table.UnionAll should have comment or be unexported (golint)
    • Line 296: warning: exported method Table.Join should have comment or be unexported (golint)
    • Line 311: warning: exported method Table.Where should have comment or be unexported (golint)
    • Line 335: warning: exported method Table.GroupBy should have comment or be unexported (golint)
    • Line 373: warning: exported method Table.Select should have comment or be unexported (golint)
    • Line 377: warning: exported type GroupedRecord should have comment or be unexported (golint)
    • Line 383: warning: exported type GroupedTable should have comment or be unexported (golint)
    • Line 389: warning: exported method GroupedTable.Copy should have comment or be unexported (golint)
    • Line 406: warning: exported method GroupedTable.UnionAll should have comment or be unexported (golint)
    • Line 446: warning: exported method GroupedTable.Having should have comment or be unexported (golint)
    • Line 487: warning: exported method GroupedTable.Select should have comment or be unexported (golint)
    • Line 533: warning: exported type SelectedRecord should have comment or be unexported (golint)
    • Line 540: warning: exported type SelectedTable should have comment or be unexported (golint)
    • Line 547: warning: exported method SelectedTable.Record should have comment or be unexported (golint)
    • Line 573: warning: exported method SelectedTable.Distinct should have comment or be unexported (golint)
    • Line 610: warning: exported method SelectedTable.OrderBy should have comment or be unexported (golint)
    • Line 667: warning: exported method SelectedTable.Limit should have comment or be unexported (golint)
    • Line 688: warning: exported method SelectedTable.Offset should have comment or be unexported (golint)
    • Line 709: warning: exported method SelectedTable.Query should have comment or be unexported (golint)
    • Line 720: warning: exported method SelectedTable.Scan should have comment or be unexported (golint)
    • Line 728: warning: exported method SelectedTable.ScanColumn should have comment or be unexported (golint)
    • Line 736: warning: exported method SelectedTable.First should have comment or be unexported (golint)
    • Line 810: warning: exported type Literal should have comment or be unexported (golint)
    • Line 814: warning: exported method Literal.Variable should have comment or be unexported (golint)
    • Line 818: warning: exported method Literal.Select should have comment or be unexported (golint)
    • Line 828: warning: exported type Ident should have comment or be unexported (golint)
    • Line 830: warning: exported method Ident.Variable should have comment or be unexported (golint)
    • Line 869: warning: exported method Ident.Select should have comment or be unexported (golint)
    • Line 912: warning: exported method Ident.GroupBy should have comment or be unexported (golint)
    • Line 916: warning: exported type Concat should have comment or be unexported (golint)
    • Line 918: warning: exported method Concat.Variable should have comment or be unexported (golint)
    • Line 943: warning: exported method Concat.Select should have comment or be unexported (golint)
    • Line 958: warning: exported type CountAll should have comment or be unexported (golint)
    • Line 960: warning: exported method CountAll.Variable should have comment or be unexported (golint)
    • Line 964: warning: exported method CountAll.Select should have comment or be unexported (golint)
    • Line 974: warning: exported type Count should have comment or be unexported (golint)
    • Line 976: warning: exported method Count.Variable should have comment or be unexported (golint)
    • Line 985: warning: exported method Count.Select should have comment or be unexported (golint)
    • Line 999: warning: exported type ArrayAgg should have comment or be unexported (golint)
    • Line 1004: warning: exported method ArrayAgg.Variable should have comment or be unexported (golint)
    • Line 1043: warning: exported method ArrayAgg.Select should have comment or be unexported (golint)
    • Line 1058: warning: exported type As should have comment or be unexported (golint)
    • Line 1063: warning: exported method As.Select should have comment or be unexported (golint)
    • Line 1068: warning: exported type GroupingSets should have comment or be unexported (golint)
    • Line 1070: warning: exported method GroupingSets.GroupBy should have comment or be unexported (golint)
    • Line 1074: warning: exported method GroupingSets.Cart should have comment or be unexported (golint)
    • Line 1087: warning: exported type Cube should have comment or be unexported (golint)
    • Line 1089: warning: exported method Cube.GroupBy should have comment or be unexported (golint)
    • Line 1110: warning: exported type And should have comment or be unexported (golint)
    • Line 1112: warning: exported method And.Condition should have comment or be unexported (golint)
    • Line 1127: warning: exported type Or should have comment or be unexported (golint)
    • Line 1129: warning: exported method Or.Condition should have comment or be unexported (golint)
    • Line 1144: warning: exported type Equals should have comment or be unexported (golint)
    • Line 1146: warning: exported method Equals.Condition should have comment or be unexported (golint)
    • Line 1170: warning: exported type Greater should have comment or be unexported (golint)
    • Line 1172: warning: exported method Greater.Condition should have comment or be unexported (golint)
    • Line 1207: warning: exported type Less should have comment or be unexported (golint)
    • Line 1209: warning: exported method Less.Condition should have comment or be unexported (golint)
    • Line 1244: warning: exported type Asc should have comment or be unexported (golint)
    • Line 1249: warning: exported method Asc.OrderBy should have comment or be unexported (golint)
    • Line 1303: warning: exported type Desc should have comment or be unexported (golint)
    • Line 1308: warning: exported method Desc.OrderBy should have comment or be unexported (golint)
    • Line 1362: warning: exported type LeftJoin should have comment or be unexported (golint)
    • Line 1367: warning: exported method LeftJoin.Join 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!