bitslip6/bitfire

View on GitHub

Showing 117 of 749 total issues

Function l has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

return(0,w.structuredPatch)(void 0,void 0,b,a)}return a}function h(a){return a.newFileName&&a.newFileName!==a.oldFileName}function i(a,b,c){return b===c?b:(a.conflict=!0,{mine:b,theirs:c})}function j(a,b){return a.oldStart<b.oldStart&&a.oldStart+a.oldLines<b.oldStart}function k(a,b){return{oldStart:a.oldStart,oldLines:a.oldLines,newStart:a.newStart+b,newLines:a.newLines,lines:a.lines}}function l(a,b,c,f,g){
Severity: Minor
Found in firewall/views/diff.min.js - About 35 mins to fix

    Avoid too many return statements within this function.
    Open

          if (length !== b.length) return false;
    Severity: Major
    Found in public/underscore.js - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return $b->last_time - $a->last_time;
      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 (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 false; }
              Severity: Major
              Found in error_handler.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 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 $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/botfilter.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        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 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 $enriched;
                            Severity: Major
                            Found in firewall/src/dashboard.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 $pass;
                                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/dashboard.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                        return Maybe::$FALSE;
                                    Severity: Major
                                    Found in firewall/src/webfilter.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

                                                return http_response("", $url, ["http/1.1 200"], 0, false);
                                        Severity: Major
                                        Found in firewall/src/http.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language