sebastian-software/core

View on GitHub

Showing 229 of 406 total issues

Function hh has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    var hh = function(a, b, c, d, x, s, t) {
Severity: Major
Found in source/class/core/crypt/MD5.js - About 50 mins to fix

    Function ff has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        var ff = function(a, b, c, d, x, s, t) {
    Severity: Major
    Found in source/class/core/crypt/MD5.js - About 50 mins to fix

      Avoid deeply nested control flow statements.
      Open

                    if (!self.__refreshActive) {
      
                      self.__startDeceleration(timeStamp);
      
                    }
      Severity: Major
      Found in source/class/core/ui/Scroller.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                      if (!self.__enableScrollX && self.__refreshHeight != null) {
        
                        if (!self.__refreshActive && scrollTop <= -self.__refreshHeight) {
        
                          self.__refreshActive = true;
        Severity: Major
        Found in source/class/core/ui/Scroller.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                      for (length = value.length; length--;) {
                        update(value, length, callback);
                      }
          Severity: Major
          Found in source/class/core/JSON.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                    if (typeof value !== "boolean") {
                                        boollike[name] = false;
                                    }
            Severity: Major
            Found in source/class/core/bom/Form.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                      if (key.substring(0,2) == "__") {
                                          throw new Error("Included class " + includedClass.className + " overwrites private member " + key + " of other included class " + allIncludeMembers[key].className + " in class " + name);
                                      }
              Severity: Major
              Found in source/class/core/Class.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                if (types.indexOf(relevant[j]) != -1)
                                {
                                  data[relevant[j]] = value;
                                  break;
                                }
                Severity: Major
                Found in source/class/core/service/location/GeoCode.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                if (element !== undef) {
                                  // According to ES 5.1 section 15.12.3: "If `gap` {whitespace}
                                  // is not the empty string, let `member` {quote(property) + ":"}
                                  // be the concatenation of `member` and the `space` character."
                                  // The "`space` character" refers to the literal space
                  Severity: Major
                  Found in source/class/core/JSON.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                if (sign) {
                                  abort();
                                }
                    Severity: Major
                    Found in source/class/core/JSON.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                              if (key.substring(0,2) == "__") {
                                                  throw new Error("Included class " + includedClass.className + " overwrites private member of class " + name);
                                              }
                      Severity: Major
                      Found in source/class/core/Class.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                    if (symbol == "-") {
                                      sign = true;
                                      symbol = source.charAt(++Index);
                                    }
                        Severity: Major
                        Found in source/class/core/JSON.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                      while (j--) {
                                        wrapper = wrapper.lastChild;
                                      }
                          Severity: Major
                          Found in source/class/core/bom/Fragment.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                    for (var key2 in ownProperty) {
                                                        property[key2] = ownProperty[key2];
                                                    }
                            Severity: Major
                            Found in source/class/core/Class.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                          if (source.slice(Index, Index + 4) == "true") {
                                            Index += 4;
                                            return true;
                                          } else if (source.slice(Index, Index + 5) == "false") {
                                            Index += 5;
                              Severity: Major
                              Found in source/class/core/JSON.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                            if (!config.nullable) {
                                                                obj.error("Missing value for: " + propertyName + " (during reset() - from theme system)");
                                                            }
                                Severity: Major
                                Found in source/class/core/property/Multi.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                          if (!(value instanceof type || core.Class.includesClass(value.constructor, type))) {
                                                              throw new Error("Value of property " + name + " must be instance of or include " + type + ". Invalid value: " + value);
                                                          }
                                  Severity: Major
                                  Found in source/class/core/property/Debug.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                for (index = 0, length = value.length; index < length; any || (any = true), index++) {
                                                  element = serialize(index, value, callback, properties, whitespace, indentation, stack);
                                                  results.push(element === undef ? "null" : element);
                                                }
                                    Severity: Major
                                    Found in source/class/core/JSON.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                  if (source.charAt(Index) == '"') {
                                                    Index++;
                                                    // Return the revived string.
                                                    return value;
                                                  }
                                      Severity: Major
                                      Found in source/class/core/JSON.js - About 45 mins to fix

                                        Function _section has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                                    _section: function(key, method, data, partials, labels, section)
                                        Severity: Minor
                                        Found in source/class/core/template/Template.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language