qcminecraft/Carbon-Forum-F

View on GitHub

Showing 851 of 851 total issues

Avoid too many return statements within this function.
Open

            return ret(null, ch);
Severity: Major
Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            if (type == "operator") return cont(expression);
    Severity: Major
    Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              if (type == "[") return cont(pushlex("]"), commasep(expression, "]"), poplex, maybeoperator);
      Severity: Major
      Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                if (type == "catch") return cont(pushlex("form"), pushcontext, expect("("), funarg, expect(")"),
                    statement, poplex, popcontext);
        Severity: Major
        Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return ret(null, "select-op");
          Severity: Major
          Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return lexical.indented + (/^(?:case|default)\b/.test(textAfter) ? indentUnit : 2 * indentUnit);
            Severity: Major
            Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          else return lexical.indented + (closing ? 0 : indentUnit);
              Severity: Major
              Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return $this->db->row("SELECT * FROM " . PREFIX . "tags WHERE ID=:ID", array(
                                    "ID" => $this->id
                                ));
                Severity: Major
                Found in controller/manage.php - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              else if (lexical.align) return lexical.column + (closing ? 0 : 1);
                  Severity: Major
                  Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return ret("keyword", "important");
                    Severity: Major
                    Found in static/editor/third-party/codemirror/codemirror.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return [].slice.call(source);
                      Severity: Major
                      Found in static/editor/dialogs/wordimage/tangram.js - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return ($Seconds + 1) . ' ' . $Lang['Time_Seconds_Ago'];
                        Severity: Major
                        Found in common.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return (boolean)preg_match(
                                              '/^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}' .
                                              '[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/sD',
                                              $address
                                          );
                          Severity: Major
                          Found in library/PHPMailer.class.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return (strlen($address) >= 3
                                                and strpos($address, '@') >= 1
                                                and strpos($address, '@') != strlen($address) - 1);
                            Severity: Major
                            Found in library/PHPMailer.class.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return false;
                              Severity: Major
                              Found in library/PHPMailer.class.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return isset($_OPTIONS[$Key]) ? trim($_OPTIONS[$Key]) : $DefaultValue;
                                Severity: Major
                                Found in common.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return date("Y-m-d", $UnixTimeStamp);
                                  Severity: Major
                                  Found in common.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return call_user_func_array(array($this, 'addAnAddress'), $params);
                                    Severity: Major
                                    Found in library/PHPMailer.class.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return (boolean)filter_var($address, FILTER_VALIDATE_EMAIL);
                                      Severity: Major
                                      Found in library/PHPMailer.class.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return isset($_REQUEST[$Key]) ? trim($_REQUEST[$Key]) : $DefaultValue;
                                        Severity: Major
                                        Found in common.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language