Preparing report...

Report for github.com/0x6flab/namegenerator

(v0.0.0-20230507095723-78446edb80ff)

A+    Excellent!    Found 2 issues across 4 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!


gocyclo75%

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.

    • generator_test.go
    • Line 76: warning: cyclomatic complexity 19 of function TestNameGenerator_GenerateNames() 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!


misspell75%

Misspell Finds commonly misspelled English words

    • names.go
    • Line 101: warning: "Teh" is a misspelling of "The" (misspell)
    • Line 197: warning: "Maritan" is a misspelling of "Martian" (misspell)
    • Line 314: warning: "Jaques" is a misspelling of "Jacques" (misspell)
    • Line 401: warning: "Secrest" is a misspelling of "Secrets" (misspell)
    • Line 479: warning: "Therien" is a misspelling of "Therein" (misspell)
    • Line 753: warning: "Sergent" is a misspelling of "Sergeant" (misspell)
    • Line 888: warning: "Buttrey" is a misspelling of "Buttery" (misspell)
    • Line 921: warning: "Contine" is a misspelling of "Continue" (misspell)
    • Line 1277: warning: "Markes" is a misspelling of "Marks" (misspell)
    • Line 1290: warning: "Committe" is a misspelling of "Committee" (misspell)
    • Line 1627: warning: "Carolan" is a misspelling of "Carolina" (misspell)
    • Line 1751: warning: "Chelsae" is a misspelling of "Chelsea" (misspell)
    • Line 1920: warning: "Christin" is a misspelling of "Christian" (misspell)
    • Line 1953: warning: "Aeriel" is a misspelling of "Aerial" (misspell)
    • Line 2024: warning: "Maybelle" is a misspelling of "Maybelline" (misspell)
    • Line 2027: warning: "Evangelia" is a misspelling of "Evangelical" (misspell)
    • Line 2038: warning: "Dael" is a misspelling of "Deal" (misspell)
    • Line 2355: warning: "Sergent" is a misspelling of "Sergeant" (misspell)
    • Line 2522: warning: "Greif" is a misspelling of "Grief" (misspell)
    • Line 2554: warning: "Bruning" is a misspelling of "Burning" (misspell)
    • Line 2559: warning: "Bethseda" is a misspelling of "Bethesda" (misspell)
    • Line 2826: warning: "Morisette" is a misspelling of "Morissette" (misspell)
    • Line 3295: warning: "Noth" is a misspelling of "North" (misspell)
    • Line 3515: warning: "Millon" is a misspelling of "Million" (misspell)
    • Line 3579: warning: "Greenhoe" is a misspelling of "Greenhouse" (misspell)
    • Line 3650: warning: "Ceasar" is a misspelling of "Caesar" (misspell)
    • Line 3785: warning: "Morrisette" is a misspelling of "Morissette" (misspell)
    • Line 3890: warning: "Evangelia" is a misspelling of "Evangelical" (misspell)
    • Line 3921: warning: "Broady" is a misspelling of "Broadly" (misspell)
    • Line 4043: warning: "Sandstrom" is a misspelling of "Sandstorm" (misspell)
    • Line 4272: warning: "Carolan" is a misspelling of "Carolina" (misspell)
    • Line 4341: warning: "Jaques" is a misspelling of "Jacques" (misspell)
    • Line 4427: warning: "Secrest" is a misspelling of "Secrets" (misspell)
    • Line 4487: warning: "Wille" is a misspelling of "Will" (misspell)
    • Line 4502: warning: "Broadley" is a misspelling of "Broadly" (misspell)
    • Line 4544: warning: "Neice" is a misspelling of "Niece" (misspell)
    • Line 4560: warning: "Willaims" is a misspelling of "Williams" (misspell)
    • Line 4597: warning: "Patriarca" is a misspelling of "Patriarchal" (misspell)
    • Line 4683: warning: "Currens" is a misspelling of "Currents" (misspell)
    • Line 4701: warning: "Frome" is a misspelling of "From" (misspell)
    • Line 4709: warning: "Stange" is a misspelling of "Strange" (misspell)
    • Line 4749: warning: "Swearengin" is a misspelling of "Swearing" (misspell)
    • Line 4790: warning: "Monts" is a misspelling of "Months" (misspell)
    • Line 4925: warning: "Buttrey" is a misspelling of "Buttery" (misspell)
    • Line 5009: warning: "Villegas" is a misspelling of "Villages" (misspell)
    • Line 5106: warning: "Faught" is a misspelling of "Fought" (misspell)
    • Line 5162: warning: "Wholey" is a misspelling of "Wholly" (misspell)
    • Line 5258: warning: "Aeriel" is a misspelling of "Aerial" (misspell)
    • Line 5479: warning: "Doub" is a misspelling of "Doubt" (misspell)
    • Line 5514: warning: "Dael" is a misspelling of "Deal" (misspell)
    • Line 5519: warning: "Agin" is a misspelling of "Again" (misspell)
    • Line 5705: warning: "Liberato" is a misspelling of "Liberation" (misspell)
    • Line 5706: warning: "Levander" is a misspelling of "Lavender" (misspell)
    • Line 5857: warning: "Propper" is a misspelling of "Proper" (misspell)
    • Line 5972: warning: "Wich" is a misspelling of "Which" (misspell)
    • Line 6064: warning: "Sargeant" is a misspelling of "Sergeant" (misspell)
    • Line 6075: warning: "Grammer" is a misspelling of "Grammar" (misspell)
    • Line 6089: warning: "Shetler" is a misspelling of "Shelter" (misspell)
    • Line 6108: warning: "Therien" is a misspelling of "Therein" (misspell)
    • Line 6258: warning: "Sharpley" is a misspelling of "Sharply" (misspell)
    • Line 6475: warning: "Correnti" is a misspelling of "Correcting" (misspell)
    • Line 6478: warning: "Spindel" is a misspelling of "Spindle" (misspell)
    • Line 6507: warning: "Stong" is a misspelling of "Strong" (misspell)
    • Line 6587: warning: "Meranda" is a misspelling of "Veranda" (misspell)
    • Line 6726: warning: "Bedore" is a misspelling of "Before" (misspell)
    • Line 6731: warning: "Liberatore" is a misspelling of "Liberate" (misspell)
    • Line 6867: warning: "Wass" is a misspelling of "Was" (misspell)
    • Line 6913: warning: "Dyas" is a misspelling of "Dryas" (misspell)
    • Line 7122: warning: "Toppins" is a misspelling of "Toppings" (misspell)
    • Line 7166: warning: "Soley" is a misspelling of "Solely" (misspell)
    • Line 7467: warning: "Sprinkel" is a misspelling of "Sprinkle" (misspell)
    • Line 7552: warning: "Partick" is a misspelling of "Patrick" (misspell)
    • Line 7805: warning: "Ganster" is a misspelling of "Gangster" (misspell)
    • Line 7846: warning: "Chelsae" is a misspelling of "Chelsea" (misspell)
    • Line 7871: warning: "Thier" is a misspelling of "Their" (misspell)
    • Line 7997: warning: "Sergent" is a misspelling of "Sergeant" (misspell)
    • Line 8040: warning: "Provine" is a misspelling of "Province" (misspell)
    • Line 8074: warning: "Exposito" is a misspelling of "Exposition" (misspell)
    • Line 8197: warning: "Thomspon" is a misspelling of "Thompson" (misspell)
    • Line 8232: warning: "Currence" is a misspelling of "Currencies" (misspell)
    • Line 8249: warning: "Childres" is a misspelling of "Childrens" (misspell)
    • Line 8330: warning: "Challender" is a misspelling of "Challenger" (misspell)
    • Line 8364: warning: "Christin" is a misspelling of "Christian" (misspell)
    • Line 8465: warning: "Strnad" is a misspelling of "Strand" (misspell)
    • Line 8559: warning: "Densley" is a misspelling of "Densely" (misspell)
    • Line 8663: warning: "Trickey" is a misspelling of "Trickery" (misspell)
    • Line 8675: warning: "Maybelle" is a misspelling of "Maybelline" (misspell)