Preparing report...

Report for github.com/gofiber/fiber

(v1.14.6)

A+    Excellent!    Found 8 issues across 28 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!


gofmt85%

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

    • app.go
    • Line 1: warning: file is not gofmted with -s (gofmt)

gocyclo85%

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.

    • path.go
    • Line 216: warning: cyclomatic complexity 20 of function (*routeParser).getMatch() is high (> 15) (gocyclo)
    • router.go
    • Line 231: warning: cyclomatic complexity 17 of function (*App).registerStatic() is high (> 15) (gocyclo)

ineffassign92%

IneffAssign detects ineffectual assignments in Go code.

    • ctx_test.go
    • Line 1047: warning: ineffectual assignment to result (ineffassign)
    • Line 1051: warning: ineffectual assignment to result (ineffassign)
    • Line 1055: warning: ineffectual assignment to result (ineffassign)
    • utils_test.go
    • Line 268: warning: ineffectual assignment to ok (ineffassign)
    • Line 269: warning: ineffectual assignment to ok (ineffassign)
    • Line 270: warning: ineffectual assignment to ok (ineffassign)
    • Line 271: warning: ineffectual assignment to ok (ineffassign)
    • Line 272: warning: ineffectual assignment to ok (ineffassign)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!