tk120404/node-rssparser

View on GitHub

Showing 26 of 26 total issues

Avoid too many return statements within this function.
Open

            return 'about a year' + tense;
Severity: Major
Found in lib/feed.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return 'about a month' + tense;
    Severity: Major
    Found in lib/feed.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return Math.floor(distance_in_minutes / 43200) + ' months' + tense;
      Severity: Major
      Found in lib/feed.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return 'over ' + Math.floor(distance_in_minutes / 525960) + ' years';
        Severity: Major
        Found in lib/feed.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return 'a day' + tense;
          Severity: Major
          Found in lib/feed.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return Math.floor(distance_in_minutes / 1440) + ' days' + tense;
            Severity: Major
            Found in lib/feed.js - About 30 mins to fix
              Severity
              Category
              Status
              Source
              Language