Preparing report...

Report for github.com/flaviostutz/schelly

C    Needs some work    Found 7 issues across 10 files

Tweet

gofmt30%

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!


gocyclo90%

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.


golint60%

Golint is a linter for Go source code.

    • schelly/schelly/db.go
    • Line 118: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 127: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 170: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 219: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 289: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • schelly/schelly/webhook.go
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 85: warning: if block ends with a return statement, so drop this else and outdent its block (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.


misspell80%

Misspell Finds commonly misspelled English words

    • schelly/schelly/task-backup.go
    • Line 130: warning: "successfuly" is a misspelling of "successfully" (misspell)
    • Line 147: warning: "Begining" is a misspelling of "Beginning" (misspell)
    • Line 150: warning: "begining" is a misspelling of "beginning" (misspell)
    • Line 250: warning: "Commiting" is a misspelling of "Committing" (misspell)
    • Line 255: warning: "commiting" is a misspelling of "committing" (misspell)
    • Line 255: warning: "transation" is a misspelling of "transition" (misspell)
    • Line 284: warning: "successfuly" is a misspelling of "successfully" (misspell)
    • Line 315: warning: "successfuly" is a misspelling of "successfully" (misspell)