suitmedia/suitcoda

View on GitHub

Showing 552 of 784 total issues

Function cleanData has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    cleanData: function( elems, /* internal */ acceptData ) {
        var elem, type, id, data,
            i = 0,
            internalKey = jQuery.expando,
            cache = jQuery.cache,
Severity: Minor
Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

    Function style has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        style: function( elem, name, value, extra ) {
            // Don't set styles on text and comment nodes
            if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                return;
            }
    Severity: Minor
    Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

      Function validateNumeric has 34 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          var validateNumeric = function ( fields ) {
            var allIsWell = true;
      
            for (var i = 0, j = fields.length; i < j; i++) {
              var el      = fields[i],
      Severity: Minor
      Found in _frontend/assets/js/vendor/baze.validate.min.js - About 1 hr to fix

        Function setOffset has 34 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            setOffset: function( elem, options, i ) {
                var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
                    position = jQuery.css( elem, "position" ),
                    curElem = jQuery( elem ),
                    props = {};
        Severity: Minor
        Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

          Function webforms has 34 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function webforms() {
                                                      Modernizr['input'] = (function( props ) {
                      for ( var i = 0, len = props.length; i < len; i++ ) {
                          attrs[ props[i] ] = !!(props[i] in inputElem);
                      }
          Severity: Minor
          Found in _frontend/dev/js/vendor/modernizr.js - About 1 hr to fix

            Function validateNumeric has 34 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                var validateNumeric = function ( fields ) {
                  var allIsWell = true;
            
                  for (var i = 0, j = fields.length; i < j; i++) {
                    var el      = fields[i],
            Severity: Minor
            Found in _frontend/dev/js/vendor/baze.validate.js - About 1 hr to fix

              Consider simplifying this complex logical expression.
              Open

                                              if (T && (Q === "DOMNodeInserted" || (Q === "DOMSubtreeModified" && T !== P) || (Q === "DOMAttrModified" && (O === "src" || O === "href"))) && !M[T]) {
                                                  M[T] = 1;
                                                  B.push(R)
                                              }
              Severity: Critical
              Found in performance/yslow.js - About 1 hr to fix

                Consider simplifying this complex logical expression.
                Open

                                        } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {
                                            diff = cache[1];
                
                                        // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
                                        } else {
                Severity: Critical
                Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                  Consider simplifying this complex logical expression.
                  Open

                              if ( start && start[ 3 ] !== unit ) {
                                  // Trust units reported by jQuery.css
                                  unit = unit || start[ 3 ];
                  
                                  // Make sure we update the tween properties later on
                  Severity: Critical
                  Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                    Consider simplifying this complex logical expression.
                    Open

                                if ( start && start[ 3 ] !== unit ) {
                                    // Trust units reported by jQuery.css
                                    unit = unit || start[ 3 ];
                    
                                    // Make sure we update the tween properties later on
                    Severity: Critical
                    Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                      Consider simplifying this complex logical expression.
                      Open

                                              } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {
                                                  diff = cache[1];
                      
                                              // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
                                              } else {
                      Severity: Critical
                      Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                        Function lint has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                            lint: function(A, C, r) {
                                                var u, x, s, z, v, y = C.inline,
                                                    B = (y && y.styles) || [],
                                                    t = (y && y.scripts) || [],
                                                    q = C.getComponentsByType(r.types),
                        Severity: Minor
                        Found in performance/yslow.js - About 1 hr to fix

                          Function Component has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                          YSLOW.Component = function(r, s, u, v) {
                                              var t = v && v.obj,
                                                  q = (v && v.comp) || {};
                                              this.url = r;
                                              this.type = s;
                          Severity: Minor
                          Found in performance/yslow.js - About 1 hr to fix

                            Method handle has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function handle(ProjectWatcher $event)
                                {
                                    $urlsFromDatabase = $event->project->urls->pluck('url');
                                    if (is_string($urlsFromDatabase)) {
                                        $urlsFromDatabase = (array)$urlsFromDatabase;
                            Severity: Minor
                            Found in app/Listeners/CrawlerTheWebsite.php - About 1 hr to fix

                              Function updateToolbarSelection has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                                  updateToolbarSelection: function() {
                                                      var q, r, s;
                                                      switch (this.curButtonId) {
                                                          case "ysCompsButton":
                                                          case "ysPerfButton":
                              Severity: Minor
                              Found in performance/yslow.js - About 1 hr to fix

                                Function addCDN has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                                    addCDN: function(z) {
                                                        var t, r, v = this,
                                                            x = document,
                                                            A = v.yscontext,
                                                            B = YSLOW.util.Preference,
                                Severity: Minor
                                Found in performance/yslow.js - About 1 hr to fix

                                  Function fixCloneNodeIssues has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function fixCloneNodeIssues( src, dest ) {
                                      var nodeName, e, data;
                                  
                                      // We do not need to do anything for non-Elements
                                      if ( dest.nodeType !== 1 ) {
                                  Severity: Minor
                                  Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                    Function data has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        data: function( key, value ) {
                                            var i, name, data,
                                                elem = this[0],
                                                attrs = elem && elem.attributes;
                                    
                                    
                                    Severity: Minor
                                    Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                      Function addClass has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          addClass: function( value ) {
                                              var classes, elem, cur, clazz, j, finalValue,
                                                  i = 0,
                                                  len = this.length,
                                                  proceed = typeof value === "string" && value;
                                      Severity: Minor
                                      Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                        Function removeClass has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            removeClass: function( value ) {
                                                var classes, elem, cur, clazz, j, finalValue,
                                                    i = 0,
                                                    len = this.length,
                                                    proceed = arguments.length === 0 || typeof value === "string" && value;
                                        Severity: Minor
                                        Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language