Preparing report...

Report for github.com/refaktor/rye

(v0.0.23)

A+    Excellent!    Found 13 issues across 111 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!


gofmt100%

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

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo89%

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.

    • evaldo/builtins_html.go
    • Line 154: warning: cyclomatic complexity 35 of function do_html() is high (> 15) (gocyclo)
    • Line 55: warning: cyclomatic complexity 20 of function load_html_Dict() is high (> 15) (gocyclo)
    • evaldo/evaldo.go
    • Line 904: warning: cyclomatic complexity 30 of function CallBuiltin() is high (> 15) (gocyclo)
    • Line 354: warning: cyclomatic complexity 19 of function EvalExpressionConcrete() is high (> 15) (gocyclo)
    • Line 263: warning: cyclomatic complexity 18 of function MaybeEvalOpwordOnRight() is high (> 15) (gocyclo)
    • evaldo/builtins_spreadsheet.go
    • Line 1259: warning: cyclomatic complexity 30 of function GroupBy() is high (> 15) (gocyclo)
    • Line 1097: warning: cyclomatic complexity 24 of function AutoType() is high (> 15) (gocyclo)
    • Line 1178: warning: cyclomatic complexity 22 of function LeftJoin() is high (> 15) (gocyclo)
    • evaldo/builtins_eyr.go
    • Line 45: warning: cyclomatic complexity 28 of function Eyr_CallBuiltin() is high (> 15) (gocyclo)
    • Line 260: warning: cyclomatic complexity 16 of function Eyr_EvalExpression() is high (> 15) (gocyclo)
    • runner/runner.go
    • Line 560: warning: cyclomatic complexity 23 of function main_rysh() is high (> 15) (gocyclo)
    • Line 169: warning: cyclomatic complexity 20 of function main_ryk() is high (> 15) (gocyclo)
    • util/microliner.go
    • Line 459: warning: cyclomatic complexity 73 of function (*MLState).MicroPrompt() is high (> 15) (gocyclo)
    • Line 1238: warning: cyclomatic complexity 22 of function (*HighlightedStringBuilder).getColor() is high (> 15) (gocyclo)
    • term/term.go
    • Line 457: warning: cyclomatic complexity 35 of function DisplayTable() is high (> 15) (gocyclo)
    • Line 246: warning: cyclomatic complexity 24 of function DisplayDict() is high (> 15) (gocyclo)
    • Line 358: warning: cyclomatic complexity 19 of function DisplaySpreadsheetRow() is high (> 15) (gocyclo)
    • Line 18: warning: cyclomatic complexity 18 of function DisplayBlock() is high (> 15) (gocyclo)
    • Line 100: warning: cyclomatic complexity 17 of function DisplaySelection() is high (> 15) (gocyclo)
    • evaldo/repl.go
    • Line 261: warning: cyclomatic complexity 23 of function constructKeyEvent() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell99%

Misspell Finds commonly misspelled English words