Preparing report...

Report for github.com/moorara/gocert

A+    Excellent!    Found 17 issues across 35 files

Tweet

gofmt94%

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!


gocyclo97%

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.


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!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell54%

Misspell Finds commonly misspelled English words

    • gocert/cli/common.go
    • Line 130: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 132: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 153: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 153: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 182: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 186: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 241: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 241: warning: "interm" is a misspelling of "interim" (misspell)
    • gocert/cli/sign_test.go
    • Line 186: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 187: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 199: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 209: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 219: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 325: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 328: warning: "interm" is a misspelling of "interim" (misspell)
    • gocert/cli/verify_test.go
    • Line 45: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 51: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 56: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 61: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 67: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 72: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 124: warning: "interm" is a misspelling of "interim" (misspell)
    • gocert/cli/app.go
    • Line 16: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 30: warning: "interm" is a misspelling of "interim" (misspell)
    • gocert/cli/common_test.go
    • Line 120: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 133: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 212: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 235: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 391: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 414: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 558: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 559: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 662: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 691: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 805: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 842: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 891: warning: "Interm" is a misspelling of "Interim" (misspell)
    • gocert/pki/workspace_test.go
    • Line 85: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 145: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 208: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 351: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 381: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 422: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 464: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 713: warning: "directorys" is a misspelling of "directors" (misspell)
    • gocert/cli/sign.go
    • Line 24: warning: "authorithy" is a misspelling of "authority" (misspell)
    • Line 25: warning: "authorithy" is a misspelling of "authority" (misspell)
    • Line 29: warning: "authorithy" is a misspelling of "authority" (misspell)
    • gocert/pki/manager_test.go
    • Line 207: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 237: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 338: warning: "interm" is a misspelling of "interim" (misspell)
    • Line 449: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 460: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 495: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 514: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 563: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 587: warning: "Interm" is a misspelling of "Interim" (misspell)
    • gocert/pki/type.go
    • Line 51: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 67: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 114: warning: "Interm" is a misspelling of "Interim" (misspell)
    • Line 136: warning: "Interm" is a misspelling of "Interim" (misspell)