Preparing report...

Report for github.com/bodgit/ntlmssp

A+    Excellent!    Found 5 issues across 35 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo94%

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.


golint88%

Golint is a linter for Go source code.

    • ntlmssp/http/mime.go
    • Line 101: warning: exported function Wrap should have comment or be unexported (golint)
    • Line 140: warning: exported function Unwrap should have comment or be unexported (golint)
    • ntlmssp/client.go
    • Line 11: warning: exported const DefaultClientCompatibilityLevel should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 43: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 73: warning: exported method Client.SetOption should have comment or be unexported (golint)
    • Line 82: warning: exported function SetCompatibilityLevel should have comment or be unexported (golint)
    • Line 109: warning: exported function SetDomain should have comment or be unexported (golint)
    • Line 116: warning: exported function SetUserInfo should have comment or be unexported (golint)
    • Line 124: warning: exported function SetWorkstation should have comment or be unexported (golint)
    • Line 131: warning: exported function SetVersion should have comment or be unexported (golint)
    • Line 138: warning: exported method Client.Authenticate should have comment or be unexported (golint)
    • Line 256: warning: exported method Client.Complete should have comment or be unexported (golint)
    • Line 260: warning: exported method Client.SecuritySession should have comment or be unexported (golint)
    • ntlmssp/security.go
    • Line 10: warning: exported type SecuritySession should have comment or be unexported (golint)
    • Line 74: warning: exported method SecuritySession.Wrap should have comment or be unexported (golint)
    • ntlmssp/http/client.go
    • Line 25: warning: exported type Client should have comment or be unexported (golint)
    • Line 37: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 76: warning: exported method Client.SetOption should have comment or be unexported (golint)
    • Line 85: warning: exported function SendCBT should have comment or be unexported (golint)
    • Line 92: warning: exported function Encryption should have comment or be unexported (golint)
    • Line 169: warning: exported method Client.Do should have comment or be unexported (golint)
    • Line 260: warning: exported method Client.Get should have comment or be unexported (golint)
    • Line 268: warning: exported method Client.Head should have comment or be unexported (golint)
    • Line 276: warning: exported method Client.Post should have comment or be unexported (golint)
    • Line 285: warning: exported method Client.PostForm should have comment or be unexported (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!