Preparing report...

Report for github.com/rasteric/z3s5-lisp

(v0.0.0-20220721194301-705983fda103)

A+    Excellent!    Found 5 issues across 17 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!


gofmt94%

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


gocyclo76%

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.

    • lisp.go
    • Line 861: warning: cyclomatic complexity 34 of function (*Interp).Eval() is high (> 15) (gocyclo)
    • Line 790: warning: cyclomatic complexity 19 of function (*Interp).equal() is high (> 15) (gocyclo)
    • Line 1614: warning: cyclomatic complexity 17 of function str4() is high (> 15) (gocyclo)
    • Line 1734: warning: cyclomatic complexity 17 of function (*Interp).externalize5() is high (> 15) (gocyclo)
    • lisp_decimal.go
    • Line 13: warning: cyclomatic complexity 34 of function (*Interp).Define_Decimal() is high (> 15) (gocyclo)
    • security.go
    • Line 86: warning: cyclomatic complexity 16 of function (Permissions).Set() is high (> 15) (gocyclo)
    • lisp_base.go
    • Line 30: warning: cyclomatic complexity 268 of function (*Interp).Define_Base() is high (> 15) (gocyclo)

ineffassign94%

IneffAssign detects ineffectual assignments in Go code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell94%

Misspell Finds commonly misspelled English words

    • lisp.go
    • Line 1057: warning: "repectively" is a misspelling of "respectively" (misspell)
    • Line 2000: warning: "successfuly" is a misspelling of "successfully" (misspell)