Preparing report...

Report for github.com/ncarlier/feedpushr

A+    Excellent!    Found 20 issues across 169 files

Tweet

gofmt99%

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!


gocyclo96%

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.


golint91%

Golint is a linter for Go source code.

    • feedpushr/contrib/rake/rake.go
    • Line 53: warning: exported function IsAcceptable should have comment or be unexported (golint)
    • Line 96: warning: exported function GenerateCandidateKeywords should have comment or be unexported (golint)
    • Line 142: warning: exported function IsNumber should have comment or be unexported (golint)
    • Line 146: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 152: warning: exported function SeparateWords should have comment or be unexported (golint)
    • Line 169: warning: exported function CalculateWordScores should have comment or be unexported (golint)
    • Line 193: warning: exported function StringCount should have comment or be unexported (golint)
    • Line 201: warning: exported function GenerateCandidateKeywordScores should have comment or be unexported (golint)
    • Line 221: warning: exported function MapToKeywordScores should have comment or be unexported (golint)
    • Line 256: warning: exported function BuildStopWordMap should have comment or be unexported (golint)
    • Line 272: warning: exported type Rake should have comment or be unexported (golint)
    • Line 280: warning: exported type KeywordScore should have comment or be unexported (golint)
    • Line 286: warning: exported function NewRake should have comment or be unexported (golint)
    • Line 300: warning: exported method Rake.SetStopWords should have comment or be unexported (golint)
    • Line 304: warning: exported method Rake.Run should have comment or be unexported (golint)
    • feedpushr/design/index.go
    • Line 4: warning: should not use dot imports (golint)
    • Line 5: warning: should not use dot imports (golint)
    • Line 8: warning: comment on exported var InfoResponse should be of the form "InfoResponse ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!