Preparing report...

Report for github.com/mschwager/riplink

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


gocyclo100%

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.

No problems detected. Good job!


golint57%

Golint is a linter for Go source code.

    • riplink/src/parse/parse.go
    • Line 10: warning: exported function BytesToHtmlNode should have comment or be unexported (golint)
    • Line 19: warning: exported function NodeIterHelper should have comment or be unexported (golint)
    • Line 28: warning: exported function NodeIter should have comment or be unexported (golint)
    • Line 44: warning: exported function Elements should have comment or be unexported (golint)
    • Line 50: warning: exported function Anchors should have comment or be unexported (golint)
    • Line 56: warning: exported function Href should have comment or be unexported (golint)
    • Line 66: warning: exported function ValidHrefs should have comment or be unexported (golint)
    • riplink/src/rpurl/rpurl.go
    • Line 8: warning: exported function IsRelative should have comment or be unexported (golint)
    • Line 17: warning: exported function IsHttpScheme should have comment or be unexported (golint)
    • Line 26: warning: exported function IsSameDomain should have comment or be unexported (golint)
    • Line 40: warning: exported function AddBaseHost should have comment or be unexported (golint)
    • Line 56: warning: exported function AbsoluteHttpUrl should have comment or be unexported (golint)
    • Line 81: warning: exported function AbsoluteHttpUrls should have comment or be unexported (golint)
    • riplink/src/requests/requests.go
    • Line 12: warning: exported type Client should have comment or be unexported (golint)
    • Line 16: warning: exported type Result should have comment or be unexported (golint)
    • Line 22: warning: exported type UniqueWaitGroup should have comment or be unexported (golint)
    • Line 28: warning: exported method UniqueWaitGroup.AddString should have comment or be unexported (golint)
    • Line 45: warning: exported function SendRequest should have comment or be unexported (golint)
    • Line 60: warning: exported function RecursiveQueryToChanHelper should have comment or be unexported (golint)
    • Line 122: warning: exported function RecursiveQueryToChan 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!