Preparing report...

Report for github.com/dreadl0ck/ja3

A    Great!    Found 7 issues across 10 files

Tweet

gofmt60%

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!


gocyclo80%

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.

    • ja3/ja3.go
    • Line 75: warning: cyclomatic complexity 19 of function Bare() is high (> 15) (gocyclo)
    • ja3/live.go
    • Line 19: warning: cyclomatic complexity 21 of function ReadInterface() is high (> 15) (gocyclo)

golint80%

Golint is a linter for Go source code.

    • ja3/gopacket.go
    • Line 34: warning: comment on exported function DigestPacketJa3s should be of the form "DigestPacketJa3s ..." (golint)
    • Line 54: warning: comment on exported function DigestHexPacketJa3s should be of the form "DigestHexPacketJa3s ..." (golint)
    • Line 102: warning: comment on exported function BarePacketJa3s should be of the form "BarePacketJa3s ..." (golint)
    • ja3/ja3s.go
    • Line 98: warning: comment on exported function BareToDigestHexJa3s should be of the form "BareToDigestHexJa3s ..." (golint)
    • Line 104: warning: comment on exported function DigestJa3s should be of the form "DigestJa3s ..." (golint)
    • Line 109: warning: comment on exported function DigestHexJa3s should be of the form "DigestHexJa3s ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!