Preparing report...

Report for github.com/rvflash/awql-db

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


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!


ineffassign50%

IneffAssign detects ineffectual assignments in Go code.

    • awql-db/db.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/rvflash/awql-db/internal/schema (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/rvflash/awql-parser (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import gopkg.in/yaml.v2 (invalid package name: "") (ineffassign)
    • Line 131: warning: ov.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 131: warning: v.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 143: warning: v.String undefined (type DataTable has no field or method String) (ineffassign)
    • Line 186: warning: t.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 192: warning: v.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 214: warning: t.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 220: warning: v.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 231: warning: t.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 237: warning: v.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 248: warning: t.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 254: warning: v.SourceName undefined (type DataTable has no field or method SourceName) (ineffassign)
    • Line 278: warning: t.Columns undefined (type DataTable has no field or method Columns) (ineffassign)
    • Line 285: warning: v.Columns undefined (type DataTable has no field or method Columns) (ineffassign)
    • Line 310: warning: undeclared name: yaml (ineffassign)
    • Line 339: warning: undeclared name: yaml (ineffassign)
    • Line 14: warning: "gopkg.in/yaml.v2" imported but not used (ineffassign)
    • awql-db/db_test.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/rvflash/awql-db (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!