thiagofm/memcached-manager

View on GitHub

Showing 110 of 168 total issues

Avoid too many return statements within this function.
Open

                            return true;
Severity: Major
Found in lib/public/javascripts/jquery-terminal.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return (timeDiff >= 0 ? Math.floor(timeDiff / 3600) + ' hours ago' : 'in ' + Math.floor(-timeDiff / 3600) + ' hours');
    Severity: Major
    Found in lib/public/javascripts/humanize.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                                  return false;
      Severity: Major
      Found in lib/public/javascripts/jquery-terminal.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                                    return false;
        Severity: Major
        Found in lib/public/javascripts/jquery-terminal.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                              return parseFloat(arg);
          Severity: Major
          Found in lib/public/javascripts/jquery-terminal.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                                return;
            Severity: Major
            Found in lib/public/javascripts/jquery-terminal.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                  return true;
              Severity: Major
              Found in lib/public/javascripts/jquery-terminal.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return (timeDiff >= 0 ? Math.floor(timeDiff / 86400) + ' days ago' : 'in ' + Math.floor(-timeDiff / 86400) + ' days');
                Severity: Major
                Found in lib/public/javascripts/humanize.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return (yearDiff >= 0 ? yearDiff + ' years ago' : 'in ' + (-yearDiff) + ' years');
                  Severity: Major
                  Found in lib/public/javascripts/humanize.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                            return false;
                    Severity: Major
                    Found in lib/public/javascripts/jquery-terminal.js - About 30 mins to fix
                      Severity
                      Category
                      Status
                      Source
                      Language