Preparing report...

Report for go.vocdoni.io/dvote

(v1.8.0)

A+    Excellent!    Found 21 issues across 244 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!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo100%

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.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell91%

Misspell Finds commonly misspelled English words

    • statedb/treeupdate.go
    • Line 14: warning: "simmilar" is a misspelling of "similar" (misspell)
    • Line 30: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 354: warning: "commiting" is a misspelling of "committing" (misspell)
    • vochain/state/trees.go
    • Line 37: warning: "unkown" is a misspelling of "unknown" (misspell)
    • Line 60: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 62: warning: "commited" is a misspelling of "committed" (misspell)
    • statedb/statedb.go
    • Line 5: warning: "hierarcy" is a misspelling of "hierarchy" (misspell)
    • Line 112: warning: "Diferent" is a misspelling of "Different" (misspell)
    • Line 262: warning: "commited" is a misspelling of "committed" (misspell)
    • vochain/indexer/indexer.go
    • Line 351: warning: "substract" is a misspelling of "subtract" (misspell)
    • Line 382: warning: "substracted" is a misspelling of "subtracted" (misspell)
    • Line 387: warning: "substracted" is a misspelling of "subtracted" (misspell)
    • vochain/state/balances.go
    • Line 58: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 60: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 141: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 143: warning: "commited" is a misspelling of "committed" (misspell)
    • vochain/state/state.go
    • Line 271: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 273: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 530: warning: "commited" is a misspelling of "committed" (misspell)
    • vochain/state/votes.go
    • Line 98: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 100: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 204: warning: "lenght" is a misspelling of "length" (misspell)
    • Line 219: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 221: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 282: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 284: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 298: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 300: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 331: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 333: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 353: warning: "commited" is a misspelling of "committed" (misspell)
    • Line 355: warning: "commited" is a misspelling of "committed" (misspell)