Preparing report...

Report for github.com/iopred/bruxism

(v0.0.0-20221206114111-7a7262c31e85)

A    Great!    Found 16 issues across 35 files

Tweet

gofmt74%

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


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!


gocyclo71%

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.

    • musicplugin/musicplugin.go
    • Line 171: warning: cyclomatic complexity 46 of function (*MusicPlugin).Message() is high (> 15) (gocyclo)
    • Line 585: warning: cyclomatic complexity 30 of function (*MusicPlugin).play() is high (> 15) (gocyclo)
    • helpplugin.go
    • Line 67: warning: cyclomatic complexity 30 of function (*helpPlugin).Message() is high (> 15) (gocyclo)
    • youtube.go
    • Line 146: warning: cyclomatic complexity 19 of function (*YouTube).joinVideo() is high (> 15) (gocyclo)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell97%

Misspell Finds commonly misspelled English words

    • triviaplugin/questions.go
    • Line 204: warning: "seperating" is a misspelling of "separating" (misspell)
    • Line 656: warning: "seperated" is a misspelling of "separated" (misspell)
    • Line 856: warning: "Geogrpahy" is a misspelling of "Geography" (misspell)
    • Line 1032: warning: "depcits" is a misspelling of "depicts" (misspell)
    • Line 1360: warning: "Phillipines" is a misspelling of "Philippines" (misspell)
    • Line 1602: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 1782: warning: "Definately" is a misspelling of "Definitely" (misspell)
    • Line 1782: warning: "Definately" is a misspelling of "Definitely" (misspell)
    • Line 2015: warning: "Sattelite" is a misspelling of "Satellite" (misspell)
    • Line 2041: warning: "Napolean" is a misspelling of "Napoleon" (misspell)
    • Line 2064: warning: "Philipines" is a misspelling of "Philippines" (misspell)
    • Line 2065: warning: "withdrawl" is a misspelling of "withdrawal" (misspell)
    • Line 2321: warning: "Sieze" is a misspelling of "Seize" (misspell)
    • Line 2417: warning: "experssion" is a misspelling of "expression" (misspell)
    • Line 2909: warning: "Seperation" is a misspelling of "Separation" (misspell)
    • Line 2979: warning: "Buddah" is a misspelling of "Buddha" (misspell)
    • Line 3040: warning: "scholary" is a misspelling of "scholarly" (misspell)
    • Line 3043: warning: "Maybelle" is a misspelling of "Maybelline" (misspell)
    • Line 3491: warning: "Captials" is a misspelling of "Capitals" (misspell)
    • Line 3491: warning: "Califorina" is a misspelling of "California" (misspell)
    • Line 3492: warning: "Captials" is a misspelling of "Capitals" (misspell)
    • Line 3493: warning: "Captials" is a misspelling of "Capitals" (misspell)
    • Line 3494: warning: "Captials" is a misspelling of "Capitals" (misspell)
    • Line 3495: warning: "Captials" is a misspelling of "Capitals" (misspell)
    • Line 3496: warning: "Captials" is a misspelling of "Capitals" (misspell)
    • Line 3497: warning: "Captials" is a misspelling of "Capitals" (misspell)
    • Line 3498: warning: "Captials" is a misspelling of "Capitals" (misspell)
    • Line 3629: warning: "malasyia" is a misspelling of "malaysia" (misspell)
    • Line 3775: warning: "Garfiled" is a misspelling of "Garfield" (misspell)
    • Line 4271: warning: "seperates" is a misspelling of "separates" (misspell)
    • Line 4334: warning: "challanging" is a misspelling of "challenging" (misspell)
    • Line 4457: warning: "rechargable" is a misspelling of "rechargeable" (misspell)
    • Line 4517: warning: "palce" is a misspelling of "place" (misspell)
    • Line 4775: warning: "unsuccesfully" is a misspelling of "unsuccessfully" (misspell)
    • Line 4859: warning: "freinds" is a misspelling of "friends" (misspell)
    • Line 4925: warning: "christiaan" is a misspelling of "christian" (misspell)
    • Line 4989: warning: "paralell" is a misspelling of "parallel" (misspell)
    • Line 5044: warning: "noveau" is a misspelling of "nouveau" (misspell)
    • Line 5062: warning: "rococco" is a misspelling of "rococo" (misspell)
    • Line 5117: warning: "fouth" is a misspelling of "fourth" (misspell)
    • Line 5185: warning: "Principial" is a misspelling of "Principal" (misspell)
    • Line 5257: warning: "succesful" is a misspelling of "successful" (misspell)
    • Line 5265: warning: "classsic" is a misspelling of "classics" (misspell)
    • Line 5291: warning: "embarassment" is a misspelling of "embarrassment" (misspell)
    • Line 5350: warning: "stucture" is a misspelling of "structure" (misspell)
    • Line 5388: warning: "stucture" is a misspelling of "structure" (misspell)
    • Line 5585: warning: "Cincinnatti" is a misspelling of "Cincinnati" (misspell)
    • Line 5595: warning: "Assasin" is a misspelling of "Assassin" (misspell)
    • Line 5725: warning: "dispicable" is a misspelling of "despicable" (misspell)
    • Line 5736: warning: "Squirel" is a misspelling of "Squirtle" (misspell)
    • Line 6646: warning: "sucess" is a misspelling of "success" (misspell)
    • Line 6782: warning: "Celcius" is a misspelling of "Celsius" (misspell)
    • Line 7038: warning: "Whic" is a misspelling of "Which" (misspell)
    • Line 7255: warning: "occuring" is a misspelling of "occurring" (misspell)
    • Line 7349: warning: "equivalant" is a misspelling of "equivalent" (misspell)
    • Line 7683: warning: "imaginery" is a misspelling of "imaginary" (misspell)
    • Line 7734: warning: "independant" is a misspelling of "independent" (misspell)
    • Line 7892: warning: "Creedence" is a misspelling of "Credence" (misspell)
    • Line 8286: warning: "Guiseppe" is a misspelling of "Giuseppe" (misspell)
    • Line 8578: warning: "Grammer" is a misspelling of "Grammar" (misspell)
    • Line 8607: warning: "Grammer" is a misspelling of "Grammar" (misspell)