Preparing report...

Report for github.com/D3Ext/go-recon

(v0.0.0-20231013182056-1ca964e963ad)

A+    Excellent!    Found 17 issues across 63 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!


gocyclo73%

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.

    • core/waf.go
    • Line 15: warning: cyclomatic complexity 26 of function DetectWaf() is high (> 15) (gocyclo)
    • tools/gr-crawl.go
    • Line 86: warning: cyclomatic complexity 46 of function main() is high (> 15) (gocyclo)
    • Line 390: warning: cyclomatic complexity 21 of function printResult() is high (> 15) (gocyclo)
    • core/filter.go
    • Line 28: warning: cyclomatic complexity 41 of function FilterUrls() is high (> 15) (gocyclo)
    • tools/gr-whois.go
    • Line 122: warning: cyclomatic complexity 55 of function main() is high (> 15) (gocyclo)
    • Line 59: warning: cyclomatic complexity 18 of function printWhois() is high (> 15) (gocyclo)
    • core/js.go
    • Line 46: warning: cyclomatic complexity 21 of function FetchEndpoints() 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!


misspell98%

Misspell Finds commonly misspelled English words

    • core/filter.go
    • Line 12: warning: "informacion" is a misspelling of "information" (misspell)
    • Line 12: warning: "opiniones" is a misspelling of "opinions" (misspell)
    • Line 12: warning: "columnas" is a misspelling of "columns" (misspell)