Preparing report...

Report for bitbucket.org/briiC/mango-v3

(v0.0.0-20181008125126-6ad051f403ba)

A+    Excellent!    Found 9 issues across 24 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!


gocyclo66%

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.

    • Application.go
    • Line 317: warning: cyclomatic complexity 22 of function (*Application).afterLoadContent() is high (> 15) (gocyclo)
    • Page.go
    • Line 587: warning: cyclomatic complexity 18 of function (*Page).PrintRow() is high (> 15) (gocyclo)
    • t_App_test.go
    • Line 100: warning: cyclomatic complexity 17 of function Test_AppPageFuncs() is high (> 15) (gocyclo)
    • FuncMap.go
    • Line 134: warning: cyclomatic complexity 16 of function tParseToTags() is high (> 15) (gocyclo)
    • t_Page_test.go
    • Line 11: warning: cyclomatic complexity 51 of function Test_PageFuncs() is high (> 15) (gocyclo)
    • h.go
    • Line 54: warning: cyclomatic complexity 41 of function ToTime() is high (> 15) (gocyclo)
    • h_file.go
    • Line 23: warning: cyclomatic complexity 23 of function FileToParams() is high (> 15) (gocyclo)
    • Line 176: warning: cyclomatic complexity 16 of function bufToParams() is high (> 15) (gocyclo)

golint95%

Golint is a linter for Go source code.

    • h.go
    • Line 159: 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!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell91%

Misspell Finds commonly misspelled English words

    • h_file.go
    • Line 240: warning: "Originaly" is a misspelling of "Originally" (misspell)