Preparing report...

Report for github.com/cybertec-postgresql/pg_timetable

(v0.1.2)

A+    Excellent!    Found 9 issues across 22 files

Tweet

gofmt77%

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!


gocyclo95%

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.


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.

    • internal/scheduler/scheduler_test.go
    • Line 28: warning: ineffectual assignment to retCode (ineffassign)
    • Line 31: warning: ineffectual assignment to retCode (ineffassign)
    • Line 34: warning: ineffectual assignment to retCode (ineffassign)
    • Line 37: warning: ineffectual assignment to retCode (ineffassign)
    • Line 40: warning: ineffectual assignment to retCode (ineffassign)
    • Line 43: warning: ineffectual assignment to retCode (ineffassign)
    • Line 46: warning: ineffectual assignment to retCode (ineffassign)
    • Line 49: warning: ineffectual assignment to retCode (ineffassign)
    • Line 52: warning: ineffectual assignment to retCode (ineffassign)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell77%

Misspell Finds commonly misspelled English words

    • internal/pgengine/pgengine_test.go
    • Line 157: warning: "existance" is a misspelling of "existence" (misspell)
    • Line 171: warning: "existance" is a misspelling of "existence" (misspell)
    • Line 252: warning: "funtion" is a misspelling of "function" (misspell)
    • Line 256: warning: "funtion" is a misspelling of "function" (misspell)
    • Line 260: warning: "funtion" is a misspelling of "function" (misspell)
    • Line 268: warning: "funtion" is a misspelling of "function" (misspell)
    • Line 278: warning: "funtion" is a misspelling of "function" (misspell)
    • Line 314: warning: "existance" is a misspelling of "existence" (misspell)
    • internal/pgengine/access.go
    • Line 67: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 93: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 109: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 119: warning: "occured" is a misspelling of "occurred" (misspell)