bitslip6/bitfire

View on GitHub

Showing 117 of 749 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

        return false;
    Severity: Major
    Found in firewall/src/botfilter.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

                        if (strpos($key_name, "metric") !== false) { return false; }
        Severity: Major
        Found in firewall/src/storage.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return true;
          Severity: Major
          Found in firewall/src/cuckoo.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return Effect::new()->api(true, "malware listing", ["compressed" => false, "malware" => $malware, "file_path" => $request->post["file_path"]]);
            Severity: Major
            Found in firewall/src/api.php - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    if (aStack[length] === a) return bStack[length] === b;
              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

                  Avoid too many return statements within this method.
                  Open

                      return UA_NO_MATCH;
                  Severity: Major
                  Found in firewall/src/botfilter.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 $effect->out($path . "config.ini")->hide_output();
                      Severity: Major
                      Found in firewall/src/util.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return Effect::new()->api(false, "invalid file: $path");
                        Severity: Major
                        Found in firewall/src/api.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 $effect;
                            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

                                        if ($ex_class === $bl_class) { return NULL; } 
                                Severity: Major
                                Found in firewall/src/bitfire_pure.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return ["content" => "", "length" => 0, "success" => false];
                                  Severity: Major
                                  Found in firewall/src/util.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

                                            return $m;
                                        Severity: Major
                                        Found in firewall/src/cms.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language