gmantaos/Goirate

View on GitHub

Showing 25 of 25 total issues

Method pirateBayScaper.ParseSearchPage has 5 return statements (exceeds 4 allowed).
Open

func (s *pirateBayScaper) ParseSearchPage(doc *goquery.Document) []Torrent {

    var torrents []Torrent

    doc.Find("#searchResult > tbody > tr").Each(func(i int, row *goquery.Selection) {
Severity: Major
Found in src/torrents/piratebay.go - About 35 mins to fix

    Method scanCommand.scanSeries has 5 return statements (exceeds 4 allowed).
    Open

    func (cmd *scanCommand) scanSeries(tvmazeToken *series.TVmazeToken, ser *series.Series, torrentList *[]seriesTorrents) (bool, error) {
    
        filters := cmd.GetFilters()
    
        if ser.MinQuality != "" {
    Severity: Major
    Found in src/series.go - About 35 mins to fix

      2: cannot find package "github.com/BurntSushi/toml" in any of:
      Open

          "github.com/BurntSushi/toml"
      Severity: Minor
      Found in src/config.go by govet

      exported type TVmazeSeries should have comment or be unexported
      Open

      type TVmazeSeries struct {
      Severity: Minor
      Found in src/series/tvmaze.go by golint

      comment on exported method TVmazeToken.SearchFirst should be of the form "SearchFirst ..."
      Open

      // Search will search the TVmaze for a given query string or IMDB ID and return the top matching show.
      Severity: Minor
      Found in src/series/tvmaze.go by golint
      Severity
      Category
      Status
      Source
      Language