Preparing report...

Report for github.com/deepaksinghvi/cdule

(v1.0.11)

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


golint95%

Golint is a linter for Go source code.

    • main.go
    • Line 36: warning: exported type TestJob should have comment or be unexported (golint)
    • Line 40: warning: exported method TestJob.Execute should have comment or be unexported (golint)
    • Line 54: warning: exported method TestJob.JobName should have comment or be unexported (golint)
    • Line 58: warning: exported method TestJob.GetJobData should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.

    • pkg/model/cdule_repository_test.go
    • Line 31: warning: ineffectual assignment to err (ineffassign)
    • Line 33: warning: ineffectual assignment to err (ineffassign)
    • Line 39: warning: ineffectual assignment to err (ineffassign)
    • Line 41: warning: ineffectual assignment to err (ineffassign)
    • Line 45: warning: ineffectual assignment to err (ineffassign)
    • Line 56: warning: ineffectual assignment to err (ineffassign)
    • Line 58: warning: ineffectual assignment to err (ineffassign)
    • Line 65: warning: ineffectual assignment to err (ineffassign)
    • Line 67: warning: ineffectual assignment to err (ineffassign)
    • Line 71: warning: ineffectual assignment to err (ineffassign)
    • Line 82: warning: ineffectual assignment to err (ineffassign)
    • Line 83: warning: ineffectual assignment to err (ineffassign)
    • Line 90: warning: ineffectual assignment to err (ineffassign)
    • Line 93: warning: ineffectual assignment to err (ineffassign)
    • Line 94: warning: ineffectual assignment to err (ineffassign)
    • Line 97: warning: ineffectual assignment to err (ineffassign)
    • Line 100: warning: ineffectual assignment to err (ineffassign)
    • Line 101: warning: ineffectual assignment to err (ineffassign)
    • Line 111: warning: ineffectual assignment to err (ineffassign)
    • Line 113: warning: ineffectual assignment to err (ineffassign)
    • Line 119: warning: ineffectual assignment to err (ineffassign)
    • Line 121: warning: ineffectual assignment to err (ineffassign)
    • Line 125: warning: ineffectual assignment to err (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!