bitslip6/bitfire

View on GitHub

Showing 117 of 749 total issues

Method opcode_add_only_php has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function opcode_add_only_php(?string $carry, string $opcode, string $from, int $from_offset, int $from_len): string
Severity: Minor
Found in firewall/src/cms.php - About 35 mins to fix

    Avoid too many return statements within this function.
    Open

            if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack))) return false;
    Severity: Major
    Found in public/underscore.js - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return $carry;
      Severity: Major
      Found in firewall/src/cms.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return debugF("write allocate memory key [%s] size [%d], allocation %d", $key, $size, $mem[1]);
        Severity: Major
        Found in firewall/src/cuckoo.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return false; }
          Severity: Major
          Found in error_handler.php - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return values(obj);
            Severity: Major
            Found in public/underscore.js - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                  return $result;
              Severity: Major
              Found in wordpress-plugin/bitfire-admin.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return $carry;
                Severity: Major
                Found in firewall/src/dashboard.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return str_replace($item, "", $carry);
                  Severity: Major
                  Found in firewall/src/dashboard.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                        return $input;
                    Severity: Major
                    Found in firewall/src/db.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return $block;
                      Severity: Major
                      Found in firewall/src/bitfire.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                            return $list;
                        Severity: Major
                        Found in firewall/src/cms.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return (bool)$this->_x;
                          Severity: Major
                          Found in firewall/src/util.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return (bool)\apcu_store("_bitfire:$key_name", $storage, $seconds);
                            Severity: Major
                            Found in firewall/src/storage.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $carry;
                              Severity: Major
                              Found in firewall/src/cms.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                    return debugF("unable to write header key: [%s] [%d] bytes", $key, $size);
                                Severity: Major
                                Found in firewall/src/cuckoo.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                          return unlink($this->key2name($key_name));
                                  Severity: Major
                                  Found in firewall/src/storage.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $result;
                                    Severity: Major
                                    Found in firewall/src/util.php - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return true;
                                      Severity: Major
                                      Found in public/underscore.js - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $carry . " <a style='float:left' href='$item' target='_blank'>$item</a><br>";
                                        Severity: Major
                                        Found in wordpress-plugin/bitfire-admin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language