Preparing report...

Report for github.com/prologic/rss2twtxt

A    Great!    Found 6 issues across 9 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!


gocyclo77%

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.


golint33%

Golint is a linter for Go source code.

    • rss2twtxt/utils.go
    • Line 29: warning: exported var ErrInvalidName should have comment or be unexported (golint)
    • Line 34: warning: exported function RotateFile should have comment or be unexported (golint)
    • Line 39: warning: exported function Exists should have comment or be unexported (golint)
    • Line 48: warning: exported function IsImage should have comment or be unexported (golint)
    • Line 69: warning: exported type ImageOptions should have comment or be unexported (golint)
    • Line 75: warning: exported function DownloadImage should have comment or be unexported (golint)
    • Line 146: warning: exported function AppendTwt should have comment or be unexported (golint)
    • Line 174: warning: exported function URLForFeed should have comment or be unexported (golint)
    • Line 182: warning: exported function WalkMatch should have comment or be unexported (golint)
    • Line 204: warning: exported function BaseWithoutExt should have comment or be unexported (golint)
    • rss2twtxt/app.go
    • Line 16: warning: exported type App should have comment or be unexported (golint)
    • Line 23: warning: exported function NewApp should have comment or be unexported (golint)
    • Line 77: warning: exported method App.GetFeeds should have comment or be unexported (golint)
    • Line 103: warning: exported method App.Run should have comment or be unexported (golint)
    • rss2twtxt/config.go
    • Line 9: warning: exported type Config should have comment or be unexported (golint)
    • Line 18: warning: exported method Config.Parse should have comment or be unexported (golint)
    • Line 22: warning: exported method Config.Save should have comment or be unexported (golint)
    • Line 30: warning: exported function LoadConfig should have comment or be unexported (golint)
    • rss2twtxt/feeds.go
    • Line 24: warning: exported var ErrNoSuitableFeedsFound should have comment or be unexported (golint)
    • Line 35: warning: exported function TestFeed should have comment or be unexported (golint)
    • Line 45: warning: exported function FindFeed should have comment or be unexported (golint)
    • Line 123: warning: exported function UpdateFeed should have comment or be unexported (golint)
    • rss2twtxt/handlers.go
    • Line 46: warning: exported method App.IndexHandler should have comment or be unexported (golint)
    • Line 115: warning: exported method App.FeedHandler should have comment or be unexported (golint)
    • Line 153: warning: exported method App.AvatarHandler should have comment or be unexported (golint)
    • Line 245: warning: exported method App.WeAreFeedsHandler should have comment or be unexported (golint)
    • Line 262: warning: exported method App.FeedsHandler should have comment or be unexported (golint)
    • rss2twtxt/jobs.go
    • Line 21: warning: exported function NewJobSpec should have comment or be unexported (golint)
    • Line 26: warning: exported var Jobs should have comment or be unexported (golint)
    • Line 42: warning: exported type JobFactory should have comment or be unexported (golint)
    • Line 44: warning: exported type RotateFeedsJob should have comment or be unexported (golint)
    • Line 48: warning: exported function NewRotateFeedsJob should have comment or be unexported (golint)
    • Line 52: warning: exported method RotateFeedsJob.Run should have comment or be unexported (golint)
    • Line 83: warning: exported type UpdateFeedsJob should have comment or be unexported (golint)
    • Line 87: warning: exported function NewUpdateFeedsJob should have comment or be unexported (golint)
    • Line 91: warning: exported method UpdateFeedsJob.Run should have comment or be unexported (golint)
    • Line 100: warning: exported type TikTokJob should have comment or be unexported (golint)
    • Line 107: warning: exported function NewTikTokJob should have comment or be unexported (golint)
    • Line 135: warning: exported method TikTokJob.Run 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!