Preparing report...

Report for github.com/ali2210/WizDwarf

(v0.0.0-20220818132103-4a74ca93b63f)

A    Great!    Found 18 issues across 38 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!


gofmt65%

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


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.

    • main.go
    • Line 761: warning: cyclomatic complexity 24 of function visualize() is high (> 15) (gocyclo)
    • Line 961: warning: cyclomatic complexity 21 of function dashboard() is high (> 15) (gocyclo)
    • Line 432: warning: cyclomatic complexity 16 of function profile() is high (> 15) (gocyclo)
    • other/proteins/proteins.go
    • Line 33: warning: cyclomatic complexity 65 of function Class() is high (> 15) (gocyclo)
    • Line 1616: warning: cyclomatic complexity 65 of function GetNitrogen() is high (> 15) (gocyclo)
    • Line 1353: warning: cyclomatic complexity 65 of function GetOxgygen() is high (> 15) (gocyclo)
    • Line 2409: warning: cyclomatic complexity 65 of function GetAmino() is high (> 15) (gocyclo)
    • Line 823: warning: cyclomatic complexity 65 of function GetCarbon() is high (> 15) (gocyclo)
    • Line 494: warning: cyclomatic complexity 65 of function GetPKa() is high (> 15) (gocyclo)
    • Line 1881: warning: cyclomatic complexity 65 of function GetSulphur() is high (> 15) (gocyclo)
    • Line 235: warning: cyclomatic complexity 65 of function GetMolarMass() is high (> 15) (gocyclo)
    • Line 2147: warning: cyclomatic complexity 65 of function GetMagnetism() is high (> 15) (gocyclo)
    • Line 1088: warning: cyclomatic complexity 65 of function GetHydrogen() is high (> 15) (gocyclo)

ineffassign97%

IneffAssign detects ineffectual assignments in Go code.

    • main.go
    • Line 994: warning: ineffectual assignment to longitude_parse (ineffassign)
    • Line 995: warning: ineffectual assignment to latitude_parse (ineffassign)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell81%

Misspell Finds commonly misspelled English words

    • piplines/dep_functions.go
    • Line 129: warning: "proceding" is a misspelling of "proceeding" (misspell)
    • Line 536: warning: "Occurance" is a misspelling of "Occurrence" (misspell)
    • Line 588: warning: "Occurance" is a misspelling of "Occurrence" (misspell)
    • Line 707: warning: "initalization" is a misspelling of "initialization" (misspell)
    • Line 772: warning: "Vistors" is a misspelling of "Visitors" (misspell)
    • Line 960: warning: "ahve" is a misspelling of "have" (misspell)
    • Line 1263: warning: "managable" is a misspelling of "manageable" (misspell)
    • Line 1281: warning: "Dashbaord" is a misspelling of "Dashboard" (misspell)
    • other/users/payee.go
    • Line 51: warning: "Appartment" is a misspelling of "Apartment" (misspell)
    • Line 51: warning: "appartment" is a misspelling of "apartment" (misspell)
    • main.go
    • Line 129: warning: "Persistance" is a misspelling of "Persistence" (misspell)
    • Line 141: warning: "Persistance" is a misspelling of "Persistence" (misspell)
    • Line 177: warning: "dashbaord" is a misspelling of "dashboard" (misspell)
    • Line 180: warning: "dashbaord" is a misspelling of "dashboard" (misspell)
    • Line 264: warning: "Appartment" is a misspelling of "Apartment" (misspell)
    • Line 356: warning: "initalization" is a misspelling of "initialization" (misspell)
    • Line 502: warning: "appartment" is a misspelling of "apartment" (misspell)
    • Line 505: warning: "appartment" is a misspelling of "apartment" (misspell)
    • Line 739: warning: "Occurance" is a misspelling of "Occurrence" (misspell)
    • Line 910: warning: "abudance" is a misspelling of "abundance" (misspell)