Preparing report...

Report for github.com/zaquestion/lab

(v0.25.1)

A+    Excellent!    Found 18 issues across 136 files

Tweet

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!


gofmt99%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo94%

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.

    • cmd/mr_list.go
    • Line 79: warning: cyclomatic complexity 30 of function mrList() is high (> 15) (gocyclo)
    • cmd/ci_view.go
    • Line 112: warning: cyclomatic complexity 25 of function inputCapture() is high (> 15) (gocyclo)
    • Line 332: warning: cyclomatic complexity 25 of function jobsView() is high (> 15) (gocyclo)
    • cmd/show_common.go
    • Line 49: warning: cyclomatic complexity 25 of function displayDiff() is high (> 15) (gocyclo)
    • Line 252: warning: cyclomatic complexity 22 of function printDiscussions() is high (> 15) (gocyclo)
    • cmd/note_common.go
    • Line 411: warning: cyclomatic complexity 24 of function replyNote() is high (> 15) (gocyclo)
    • Line 139: warning: cyclomatic complexity 16 of function createCommitComments() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell91%

Misspell Finds commonly misspelled English words

    • internal/gitlab/gitlab.go
    • Line 395: warning: "noteable" is a misspelling of "notable" (misspell)
    • Line 435: warning: "noteable" is a misspelling of "notable" (misspell)
    • Line 664: warning: "noteable" is a misspelling of "notable" (misspell)
    • Line 1551: warning: "retuns" is a misspelling of "returns" (misspell)
    • Line 1615: warning: "retuns" is a misspelling of "returns" (misspell)
    • Line 1615: warning: "refering" is a misspelling of "referring" (misspell)
    • Line 1755: warning: "mulitple" is a misspelling of "multiple" (misspell)
    • Line 1801: warning: "mulitple" is a misspelling of "multiple" (misspell)
    • cmd/mr_approve.go
    • Line 20: warning: "helpfull" is a misspelling of "helpful" (misspell)
    • Line 22: warning: "helpfull" is a misspelling of "helpful" (misspell)
    • internal/action/action.go
    • Line 42: warning: "retuns" is a misspelling of "returns" (misspell)
    • Line 59: warning: "retuns" is a misspelling of "returns" (misspell)
    • Line 76: warning: "retuns" is a misspelling of "returns" (misspell)