PrivateBin/PrivateBin

View on GitHub

Showing 33 of 775 total issues

Avoid too many return statements within this method.
Open

            return false;
Severity: Major
Found in lib/FormatV2.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return false;
    Severity: Major
    Found in lib/FormatV2.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return 0;
      Severity: Major
      Found in lib/I18n.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return false;
        Severity: Major
        Found in lib/FormatV2.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return $n % 10 === 1 && $n % 100 != 11 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
          Severity: Major
          Found in lib/I18n.php - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return [v, 'month'];
            Severity: Major
            Found in js/privatebin.js - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return false;
              Severity: Major
              Found in lib/FormatV2.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return $n % 100 === 1 ? 1 : ($n % 100 === 2 ? 2 : ($n % 100 === 3 || $n % 100 === 4 ? 3 : 0));
                Severity: Major
                Found in lib/I18n.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return false;
                  Severity: Major
                  Found in lib/FormatV2.php - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return me.showPaste();
                    Severity: Major
                    Found in js/privatebin.js - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return $n !== 1 ? 1 : 0;
                      Severity: Major
                      Found in lib/I18n.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return false;
                        Severity: Major
                        Found in lib/FormatV2.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return false;
                          Severity: Major
                          Found in lib/FormatV2.php - About 30 mins to fix
                            Severity
                            Category
                            Status
                            Source
                            Language