Preparing report...

Report for github.com/urandom/readeef

A+    Excellent!    Found 90 issues across 198 files

Tweet

gofmt98%

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!


gocyclo89%

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.

    • readeef/api/ttrss/articles.go
    • Line 68: warning: cyclomatic complexity 30 of function getHeadlines() is high (> 15) (gocyclo)
    • Line 215: warning: cyclomatic complexity 27 of function updateArticle() is high (> 15) (gocyclo)
    • readeef/api/article.go
    • Line 477: warning: cyclomatic complexity 32 of function articleQueryOptions() is high (> 15) (gocyclo)
    • Line 217: warning: cyclomatic complexity 21 of function getIDs() is high (> 15) (gocyclo)
    • Line 41: warning: cyclomatic complexity 21 of function getArticles() is high (> 15) (gocyclo)
    • readeef/api/article_test.go
    • Line 338: warning: cyclomatic complexity 23 of function Test_getIDs() is high (> 15) (gocyclo)
    • Line 47: warning: cyclomatic complexity 23 of function Test_getArticles() is high (> 15) (gocyclo)
    • Line 682: warning: cyclomatic complexity 21 of function Test_articlesStateChange() is high (> 15) (gocyclo)
    • Line 193: warning: cyclomatic complexity 20 of function Test_articleSearch() is high (> 15) (gocyclo)
    • Line 569: warning: cyclomatic complexity 17 of function Test_articleStateChange() is high (> 15) (gocyclo)
    • readeef/api/user_test.go
    • Line 168: warning: cyclomatic complexity 19 of function Test_addUser() is high (> 15) (gocyclo)
    • Line 284: warning: cyclomatic complexity 17 of function Test_deleteUser() is high (> 15) (gocyclo)

golint62%

Golint is a linter for Go source code.

    • readeef/api/feed.go
    • Line 179: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • readeef/content/feed.go
    • Line 14: warning: exported type FeedID should have comment or be unexported (golint)
    • Line 16: warning: exported type Feed should have comment or be unexported (golint)
    • Line 32: warning: exported method Feed.Validate should have comment or be unexported (golint)
    • Line 48: warning: exported method Feed.Refresh should have comment or be unexported (golint)
    • Line 75: warning: exported method Feed.ParsedArticles should have comment or be unexported (golint)
    • Line 83: warning: exported method Feed.AddUpdateError should have comment or be unexported (golint)
    • Line 94: warning: exported method FeedID.Scan should have comment or be unexported (golint)
    • Line 105: warning: exported method FeedID.Value should have comment or be unexported (golint)
    • readeef/content/user.go
    • Line 20: warning: exported type ProfileData should have comment or be unexported (golint)
    • Line 38: warning: exported method User.Password should have comment or be unexported (golint)
    • Line 75: warning: exported method User.Authenticate should have comment or be unexported (golint)
    • Line 112: warning: exported method Login.Scan should have comment or be unexported (golint)
    • Line 125: warning: exported method Login.Value should have comment or be unexported (golint)
    • Line 129: warning: exported method ProfileData.Scan should have comment or be unexported (golint)
    • Line 147: warning: exported method ProfileData.Value should have comment or be unexported (golint)
    • Line 151: warning: exported method ProfileData.UnmarshalJSON should have comment or be unexported (golint)
    • Line 151: warning: receiver name p should be consistent with previous receiver name val for ProfileData (golint)
    • readeef/content/processor/top_image_marker.go
    • Line 12: warning: exported type TopImageMarker should have comment or be unexported (golint)
    • Line 16: warning: exported function NewTopImageMarker should have comment or be unexported (golint)
    • Line 20: warning: exported method TopImageMarker.ProcessFeed should have comment or be unexported (golint)
    • readeef/content/processor/relative_url.go
    • Line 15: warning: exported type RelativeURL should have comment or be unexported (golint)
    • Line 19: warning: exported function NewRelativeURL should have comment or be unexported (golint)
    • Line 23: warning: exported method RelativeURL.ProcessArticles should have comment or be unexported (golint)
    • Line 37: warning: exported method RelativeURL.ProcessFeed should have comment or be unexported (golint)
    • readeef/api/article.go
    • Line 25: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • readeef/api/fever/handler.go
    • Line 19: warning: exported const API_VERSION should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported function Handler should have comment or be unexported (golint)
    • readeef/content/processor/cleanup.go
    • Line 15: warning: exported type Cleanup should have comment or be unexported (golint)
    • Line 19: warning: exported function NewCleanup should have comment or be unexported (golint)
    • Line 27: warning: exported method Cleanup.ProcessFeed should have comment or be unexported (golint)
    • readeef/content/repo/sql/db/helper.go
    • Line 5: warning: exported type Helper should have comment or be unexported (golint)
    • Line 16: warning: exported type ArticleStmts should have comment or be unexported (golint)
    • Line 38: warning: exported type ExtractStmts should have comment or be unexported (golint)
    • Line 44: warning: exported type FeedStmts should have comment or be unexported (golint)
    • Line 65: warning: exported type ScoresStmts should have comment or be unexported (golint)
    • Line 71: warning: exported type SubscriptionStmts should have comment or be unexported (golint)
    • Line 79: warning: exported type TagStmts should have comment or be unexported (golint)
    • Line 89: warning: exported type ThumbnailStmts should have comment or be unexported (golint)
    • Line 95: warning: exported type UserStmts should have comment or be unexported (golint)
    • Line 105: warning: exported type SqlStmts should have comment or be unexported (golint)
    • Line 116: warning: exported function Register should have comment or be unexported (golint)
    • Line 128: warning: comment on exported method DB.SQL should be of the form "SQL ..." (golint)
    • Line 134: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • readeef/content/tag.go
    • Line 9: warning: exported type TagID should have comment or be unexported (golint)
    • Line 10: warning: exported type TagValue should have comment or be unexported (golint)
    • Line 12: warning: exported type Tag should have comment or be unexported (golint)
    • Line 17: warning: exported method Tag.Validate should have comment or be unexported (golint)
    • Line 29: warning: exported method TagID.Scan should have comment or be unexported (golint)
    • Line 40: warning: exported method TagID.Value should have comment or be unexported (golint)
    • Line 44: warning: exported method TagValue.Scan should have comment or be unexported (golint)
    • Line 57: warning: exported method TagValue.Value should have comment or be unexported (golint)
    • readeef/timeout_client.go
    • Line 9: warning: exported function TimeoutDialer should have comment or be unexported (golint)
    • Line 20: warning: exported function NewTimeoutClient should have comment or be unexported (golint)
    • readeef/content/repo/sql/db/postgres/helper.go
    • Line 9: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 15: warning: exported type Helper should have comment or be unexported (golint)
    • Line 19: warning: exported method Helper.InitSQL should have comment or be unexported (golint)
    • Line 23: warning: exported method Helper.CreateWithID should have comment or be unexported (golint)
    • Line 42: warning: exported method Helper.Upgrade should have comment or be unexported (golint)
    • Line 63: warning: exported method Helper.WhereMultipleORs should have comment or be unexported (golint)
    • readeef/content/repo/eventable/feed.go
    • Line 12: warning: exported const FeedUpdateEvent should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported type FeedUpdateData should have comment or be unexported (golint)
    • Line 22: warning: exported method FeedUpdateData.MarshalJSON should have comment or be unexported (golint)
    • Line 36: warning: exported method FeedUpdateData.FeedID should have comment or be unexported (golint)
    • Line 40: warning: exported type FeedDeleteData should have comment or be unexported (golint)
    • Line 44: warning: exported method FeedDeleteData.MarshalJSON should have comment or be unexported (golint)
    • Line 52: warning: exported method FeedDeleteData.FeedID should have comment or be unexported (golint)
    • Line 56: warning: exported type FeedSetTagsData should have comment or be unexported (golint)
    • Line 62: warning: exported method FeedSetTagsData.MarshalJSON should have comment or be unexported (golint)
    • Line 78: warning: exported method FeedSetTagsData.FeedID should have comment or be unexported (golint)
    • readeef/cmd/readeef-static-locator/main.go
    • Line 133: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 140: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 247: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 264: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • readeef/feed/scheduler.go
    • Line 19: warning: exported type Scheduler should have comment or be unexported (golint)
    • Line 25: warning: exported type UpdateData should have comment or be unexported (golint)
    • Line 30: warning: exported function NewScheduler should have comment or be unexported (golint)
    • Line 47: warning: exported method Scheduler.ScheduleFeed should have comment or be unexported (golint)
    • Line 136: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 149: warning: exported method UpdateData.IsErr should have comment or be unexported (golint)
    • Line 157: warning: exported method Scheduler.Start should have comment or be unexported (golint)
    • readeef/content/extract.go
    • Line 8: warning: exported type Extract should have comment or be unexported (golint)
    • Line 16: warning: exported method Extract.Validate should have comment or be unexported (golint)
    • readeef/cmd/readeef/server.go
    • Line 358: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 366: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 384: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • readeef/api/ttrss/handler.go
    • Line 68: warning: exported const API_STATUS_OK should have comment (or a comment on this block) or be unexported (golint)
    • Line 93: warning: exported function Handler should have comment or be unexported (golint)
    • Line 169: warning: exported function FakeWebHandler should have comment or be unexported (golint)
    • readeef/content/processor/insert_thumbnail_target.go
    • Line 13: warning: exported type InsertThumbnailTarget should have comment or be unexported (golint)
    • Line 18: warning: exported function NewInsertThumbnailTarget should have comment or be unexported (golint)
    • Line 22: warning: exported method InsertThumbnailTarget.ProcessArticles should have comment or be unexported (golint)
    • readeef/parser/rss.go
    • Line 41: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 51: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • readeef/api/request_test.go
    • Line 178: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 188: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • readeef/content/repo/sql/db/db.go
    • Line 18: warning: exported type DB should have comment or be unexported (golint)
    • Line 36: warning: exported function New should have comment or be unexported (golint)
    • Line 40: warning: exported method DB.Open should have comment or be unexported (golint)
    • Line 57: warning: exported method DB.CreateWithID should have comment or be unexported (golint)
    • Line 66: warning: exported method DB.WhereMultipleORs should have comment or be unexported (golint)
    • Line 83: warning: exported method DB.WithNamedStmt should have comment or be unexported (golint)
    • Line 106: warning: exported method DB.WithStmt should have comment or be unexported (golint)
    • Line 129: warning: exported method DB.WithTx should have comment or be unexported (golint)
    • readeef/content/article.go
    • Line 12: warning: exported type ArticleID should have comment or be unexported (golint)
    • Line 14: warning: exported type Article should have comment or be unexported (golint)
    • Line 37: warning: exported type ArticleExtract should have comment or be unexported (golint)
    • Line 48: warning: exported const DefaultSort should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported const AscendingOrder should have comment (or a comment on this block) or be unexported (golint)
    • Line 88: warning: exported type Filter should have comment or be unexported (golint)
    • Line 98: warning: exported method Filter.Valid should have comment or be unexported (golint)
    • Line 118: warning: comment on exported function IDs should be of the form "IDs ..." (golint)
    • Line 125: warning: comment on exported function FeedIDs should be of the form "FeedIDs ..." (golint)
    • Line 211: warning: exported method Article.Validate should have comment or be unexported (golint)
    • Line 231: warning: exported method ArticleID.Scan should have comment or be unexported (golint)
    • Line 242: warning: exported method ArticleID.Value should have comment or be unexported (golint)
    • Line 246: warning: exported function GetUserFilters should have comment or be unexported (golint)
    • readeef/popularity/twitter.go
    • Line 12: warning: exported type Twitter should have comment or be unexported (golint)
    • Line 17: warning: exported function FromTwitter should have comment or be unexported (golint)
    • Line 24: warning: exported method Twitter.Score should have comment or be unexported (golint)
    • readeef/content/thumbnail/extract.go
    • Line 5: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 25: warning: exported function FromExtract should have comment or be unexported (golint)
    • readeef/content/processor/proxy_http.go
    • Line 19: warning: exported type ProxyHTTP should have comment or be unexported (golint)
    • Line 24: warning: exported function NewProxyHTTP should have comment or be unexported (golint)
    • Line 34: warning: exported method ProxyHTTP.ProcessArticles should have comment or be unexported (golint)
    • Line 50: warning: exported method ProxyHTTP.ProcessFeed should have comment or be unexported (golint)
    • readeef/content/subscription.go
    • Line 10: warning: exported type Subscription should have comment or be unexported (golint)
    • Line 18: warning: exported method Subscription.Validate should have comment or be unexported (golint)
    • readeef/content/processor/unescape.go
    • Line 11: warning: exported type Unescape should have comment or be unexported (golint)
    • Line 15: warning: exported function NewUnescape should have comment or be unexported (golint)
    • Line 19: warning: exported method Unescape.ProcessArticles should have comment or be unexported (golint)
    • Line 33: warning: exported method Unescape.ProcessFeed should have comment or be unexported (golint)
    • readeef/popularity/reddit.go
    • Line 12: warning: exported type Reddit should have comment or be unexported (golint)
    • Line 17: warning: exported function FromReddit should have comment or be unexported (golint)
    • Line 37: warning: exported method Reddit.Score should have comment or be unexported (golint)
    • Line 58: warning: receiver name re should be consistent with previous receiver name r for Reddit (golint)
    • readeef/internal/legacy/config.go
    • Line 15: warning: exported type Config should have comment or be unexported (golint)
    • Line 135: warning: exported function ReadConfig should have comment or be unexported (golint)
    • Line 252: warning: comment on exported var DefaultCfg should be of the form "DefaultCfg ..." (golint)
    • readeef/content/repo/logging/service.go
    • Line 8: warning: exported type Service should have comment or be unexported (golint)
    • Line 21: warning: exported function NewService should have comment or be unexported (golint)
    • Line 35: warning: exported method Service.ArticleRepo should have comment or be unexported (golint)
    • Line 39: warning: exported method Service.ExtractRepo should have comment or be unexported (golint)
    • Line 43: warning: exported method Service.FeedRepo should have comment or be unexported (golint)
    • Line 47: warning: exported method Service.ScoresRepo should have comment or be unexported (golint)
    • Line 51: warning: exported method Service.SubscriptionRepo should have comment or be unexported (golint)
    • Line 55: warning: exported method Service.TagRepo should have comment or be unexported (golint)
    • Line 59: warning: exported method Service.ThumbnailRepo should have comment or be unexported (golint)
    • Line 63: warning: exported method Service.UserRepo should have comment or be unexported (golint)
    • readeef/content/repo/eventable/service.go
    • Line 10: warning: exported type Service should have comment or be unexported (golint)
    • Line 18: warning: exported function NewService should have comment or be unexported (golint)
    • Line 28: warning: exported method Service.Listener should have comment or be unexported (golint)
    • Line 32: warning: exported method Service.ArticleRepo should have comment or be unexported (golint)
    • Line 36: warning: exported method Service.FeedRepo should have comment or be unexported (golint)
    • readeef/content/search/search.go
    • Line 14: warning: exported const BatchAdd should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type Provider should have comment or be unexported (golint)
    • Line 25: warning: exported function Reindex should have comment or be unexported (golint)
    • readeef/popularity/popularity.go
    • Line 17: warning: exported type Popularity should have comment or be unexported (golint)
    • Line 37: warning: exported function New should have comment or be unexported (golint)
    • Line 61: warning: exported method Popularity.ScoreContent should have comment or be unexported (golint)
    • readeef/parser/opml.go
    • Line 8: warning: exported type Opml should have comment or be unexported (golint)
    • Line 12: warning: exported type OpmlFeed should have comment or be unexported (golint)
    • Line 18: warning: exported type OpmlXml should have comment or be unexported (golint)
    • Line 25: warning: exported type OpmlHead should have comment or be unexported (golint)
    • Line 29: warning: exported type OpmlBody should have comment or be unexported (golint)
    • Line 33: warning: exported type OpmlOutline should have comment or be unexported (golint)
    • Line 44: warning: exported function ParseOpml should have comment or be unexported (golint)
    • readeef/api/token/bolt_storage.go
    • Line 11: warning: exported type BoltStorage should have comment or be unexported (golint)
    • Line 19: warning: exported function NewBoltStorage should have comment or be unexported (golint)
    • Line 39: warning: exported method BoltStorage.Store should have comment or be unexported (golint)
    • Line 56: warning: exported method BoltStorage.Exists should have comment or be unexported (golint)
    • Line 74: warning: exported method BoltStorage.RemoveExpired should have comment or be unexported (golint)
    • readeef/config/parts.go
    • Line 13: warning: exported type Server should have comment or be unexported (golint)
    • Line 25: warning: exported type Log should have comment or be unexported (golint)
    • Line 38: warning: exported type API should have comment or be unexported (golint)
    • Line 46: warning: exported type Timeout should have comment or be unexported (golint)
    • Line 56: warning: exported type DB should have comment or be unexported (golint)
    • Line 61: warning: exported type Auth should have comment or be unexported (golint)
    • Line 67: warning: exported type Hubbub should have comment or be unexported (golint)
    • Line 72: warning: exported type Popularity should have comment or be unexported (golint)
    • Line 95: warning: exported type FeedParser should have comment or be unexported (golint)
    • Line 101: warning: exported type FeedManager should have comment or be unexported (golint)
    • Line 111: warning: exported type Content should have comment or be unexported (golint)
    • Line 138: warning: exported type UI should have comment or be unexported (golint)
    • Line 146: warning: exported method API.Convert should have comment or be unexported (golint)
    • Line 150: warning: exported method Log.Convert should have comment or be unexported (golint)
    • Line 163: warning: exported method Timeout.Convert should have comment or be unexported (golint)
    • Line 177: warning: exported method Popularity.Convert should have comment or be unexported (golint)
    • Line 185: warning: exported method FeedManager.Convert should have comment or be unexported (golint)
    • Line 193: warning: exported method Content.Convert should have comment or be unexported (golint)
    • readeef/content/err.go
    • Line 6: warning: exported var ErrNoContent should have comment or be unexported (golint)
    • Line 9: warning: exported function IsNoContent should have comment or be unexported (golint)
    • readeef/web/web.go
    • Line 31: warning: exported function Mux should have comment or be unexported (golint)
    • Line 218: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • readeef/content/repo/eventable/bus.go
    • Line 9: warning: exported type Event should have comment or be unexported (golint)
    • Line 14: warning: exported type UserData should have comment or be unexported (golint)
    • Line 18: warning: exported type FeedData should have comment or be unexported (golint)
    • Line 22: warning: exported type Stream should have comment or be unexported (golint)
    • readeef/content/processor/absolutize_urls.go
    • Line 13: warning: exported type AbsolutizeURLs should have comment or be unexported (golint)
    • Line 17: warning: exported function NewAbsolutizeURLs should have comment or be unexported (golint)
    • Line 21: warning: exported method AbsolutizeURLs.ProcessFeed should have comment or be unexported (golint)
    • readeef/content/repo/eventable/article.go
    • Line 10: warning: exported const ArticleStateEvent should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type ArticleStateData should have comment or be unexported (golint)
    • Line 23: warning: exported method ArticleStateData.UserLogin should have comment or be unexported (golint)
    • readeef/content/processor/processor.go
    • Line 8: warning: exported type Article should have comment or be unexported (golint)
    • Line 12: warning: exported type Feed should have comment or be unexported (golint)
    • Line 16: warning: exported type Articles should have comment or be unexported (golint)
    • Line 18: warning: exported method Articles.Process should have comment or be unexported (golint)
    • readeef/parser/feed.go
    • Line 5: warning: exported type Feed should have comment or be unexported (golint)
    • Line 17: warning: exported type Article should have comment or be unexported (golint)
    • Line 25: warning: exported type Image should have comment or be unexported (golint)
    • readeef/hubbub.go
    • Line 17: warning: exported type Hubbub should have comment or be unexported (golint)
    • Line 29: warning: exported type SubscriptionError should have comment or be unexported (golint)
    • Line 35: warning: exported var ErrNotConfigured should have comment or be unexported (golint)
    • Line 41: warning: exported function NewHubbub should have comment or be unexported (golint)
    • Line 58: warning: exported method Hubbub.Subscribe should have comment or be unexported (golint)
    • Line 61: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 69: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 101: warning: exported method Hubbub.Unsubscribe should have comment or be unexported (golint)
    • Line 104: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 112: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 134: warning: exported method Hubbub.InitSubscriptions should have comment or be unexported (golint)
    • readeef/content/repo/sql/db/base/helper.go
    • Line 12: warning: exported type Helper should have comment or be unexported (golint)
    • Line 16: warning: exported function NewHelper should have comment or be unexported (golint)
    • Line 20: warning: exported method Helper.SQL should have comment or be unexported (golint)
    • Line 24: warning: exported method Helper.Set should have comment or be unexported (golint)
    • Line 49: warning: exported method Helper.Upgrade should have comment or be unexported (golint)
    • Line 53: warning: exported method Helper.CreateWithID should have comment or be unexported (golint)
    • Line 75: warning: exported method Helper.WhereMultipleORs should have comment or be unexported (golint)
    • Line 89: warning: exported method Helper.RetryableErr should have comment or be unexported (golint)
    • readeef/content/repo/sql/db/sqlite3/helper.go
    • Line 16: warning: exported type Helper should have comment or be unexported (golint)
    • Line 20: warning: exported method Helper.InitSQL should have comment or be unexported (golint)
    • Line 24: warning: exported method Helper.Upgrade should have comment or be unexported (golint)
    • Line 45: warning: exported method Helper.RetryableErr should have comment or be unexported (golint)
    • readeef/content/thumbnail.go
    • Line 8: warning: exported type Thumbnail should have comment or be unexported (golint)
    • Line 15: warning: exported method Thumbnail.Validate should have comment or be unexported (golint)
    • readeef/feed_manager.go
    • Line 23: warning: exported type FeedManager should have comment or be unexported (golint)
    • Line 37: warning: exported var ErrNoFeed should have comment or be unexported (golint)
    • Line 42: warning: exported function NewFeedManager should have comment or be unexported (golint)
    • Line 50: warning: exported method FeedManager.SetHubbub should have comment or be unexported (golint)
    • Line 54: warning: exported method FeedManager.AddFeedProcessor should have comment or be unexported (golint)
    • Line 58: warning: exported method FeedManager.Start should have comment or be unexported (golint)
    • Line 78: warning: exported method FeedManager.AddFeed should have comment or be unexported (golint)
    • Line 84: warning: exported method FeedManager.RemoveFeed should have comment or be unexported (golint)
    • Line 90: warning: exported method FeedManager.AddFeedByLink should have comment or be unexported (golint)
    • Line 133: warning: exported method FeedManager.RemoveFeedByLink should have comment or be unexported (golint)
    • Line 150: warning: exported method FeedManager.DiscoverFeeds should have comment or be unexported (golint)
    • readeef/content/repo/sql/service.go
    • Line 12: warning: exported type Service should have comment or be unexported (golint)
    • Line 23: warning: exported function NewService should have comment or be unexported (golint)
    • Line 47: warning: exported method Service.UserRepo should have comment or be unexported (golint)
    • Line 51: warning: exported method Service.TagRepo should have comment or be unexported (golint)
    • Line 55: warning: exported method Service.FeedRepo should have comment or be unexported (golint)
    • Line 59: warning: exported method Service.SubscriptionRepo should have comment or be unexported (golint)
    • Line 63: warning: exported method Service.ArticleRepo should have comment or be unexported (golint)
    • Line 67: warning: exported method Service.ExtractRepo should have comment or be unexported (golint)
    • Line 71: warning: exported method Service.ScoresRepo should have comment or be unexported (golint)
    • Line 75: warning: exported method Service.ThumbnailRepo should have comment or be unexported (golint)
    • readeef/feed/search.go
    • Line 26: warning: exported function Search should have comment or be unexported (golint)
    • Line 210: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • readeef/content/validation.go
    • Line 5: warning: exported type ValidationError should have comment or be unexported (golint)
    • Line 9: warning: exported function NewValidationError should have comment or be unexported (golint)
    • Line 13: warning: exported function IsValidationError should have comment or be unexported (golint)
    • readeef/parser/parser.go
    • Line 11: warning: exported const RFC1123NoSecond should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported function ParseFeed should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell98%

Misspell Finds commonly misspelled English words

    • readeef/fs_files.go
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 23: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)
    • Line 107: warning: "nto" is a misspelling of "not" (misspell)