suitmedia/suitcoda

View on GitHub

Showing 552 of 784 total issues

Function findFlash has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                    findFlash: function(u) {
                        var s, t, r, q, v = [];
                        YSLOW.util.event.fire("peelProgress", {
                            total_step: 7,
                            current_step: 4,
Severity: Minor
Found in performance/yslow.js - About 1 hr to fix

    Function prettyScore has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                        prettyScore: function(r) {
                            var q = "F";
                            if (!parseInt(r, 10) && r !== 0) {
                                return r
                            }
    Severity: Minor
    Found in performance/yslow.js - About 1 hr to fix

      Function getComponentType has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                          getComponentType: function(q) {
                              var r = "unknown";
                              if (q && typeof q === "string") {
                                  if (q === "text/html" || q === "text/plain") {
                                      r = "doc"
      Severity: Minor
      Found in performance/yslow.js - About 1 hr to fix

        Function getInlineTags has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                            getInlineTags: function(v, t, r) {
                                var u, q, s = function(C, y, x) {
                                    var A, w, z, B, D = [];
                                    if (!C) {
                                        return D
        Severity: Minor
        Found in performance/yslow.js - About 1 hr to fix

          Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function propFilter( props, specialEasing ) {
              var index, name, easing, value, hooks;
          
              // camelCase, specialEasing and expand cssHook pass
              for ( index in props ) {
          Severity: Minor
          Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

            Function setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    setup: function() {
            
                        if ( rformElems.test( this.nodeName ) ) {
                            // IE doesn't fire change on a check/radio until blur; trigger it on click
                            // after a propertychange. Eat the blur-change in special.change.handle.
            Severity: Minor
            Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

              Function reanimateBar has 27 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      reanimateBar: function() {
                          var $el = this.$el;
                          var $elID = $el.attr('id');
                          var opt = this.opt;
                          var barLength = $.data($el, 'storedAttr').barLength;
              Severity: Minor
              Found in _frontend/assets/js/vendor/jquery-barIndicator.min.js - About 1 hr to fix

                Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function propFilter( props, specialEasing ) {
                    var index, name, easing, value, hooks;
                
                    // camelCase, specialEasing and expand cssHook pass
                    for ( index in props ) {
                Severity: Minor
                Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                  Function setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          setup: function() {
                  
                              if ( rformElems.test( this.nodeName ) ) {
                                  // IE doesn't fire change on a check/radio until blur; trigger it on click
                                  // after a propertychange. Eat the blur-change in special.change.handle.
                  Severity: Minor
                  Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                    Method testRunSoccialMediaResultReader has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function testRunSoccialMediaResultReader()
                        {
                            $json = json_encode([
                                'url' => 'https://example.com/',
                                'name' => 'Social Media Linter',
                    Severity: Minor
                    Found in tests/Supports/ResultReaderTest.php - About 1 hr to fix

                      Method testRunYslowResultReader has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function testRunYslowResultReader()
                          {
                              $json = json_encode([
                                  'url' => 'https://example.com/',
                                  'name' => 'YSlow',
                      Severity: Minor
                      Found in tests/Supports/ResultReaderTest.php - About 1 hr to fix

                        Function positionResultTab has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                            positionResultTab: function(r, q, w) {
                                                var u, z, A, v = 5,
                                                    x = this.panel_doc,
                                                    t = x.defaultView || x.parentWindow,
                                                    s = t.offsetHeight ? t.offsetHeight : t.innerHeight,
                        Severity: Minor
                        Found in performance/yslow.js - About 1 hr to fix

                          Function genStats has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                              genStats: function(y, z) {
                                                  var v, w, s, r, B, x, q, u, t = "",
                                                      A = 0;
                                                  if (!y.PAGE) {
                                                      return ""
                          Severity: Minor
                          Found in performance/yslow.js - About 1 hr to fix

                            Function peel has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                            YSLOW.peeler.peel = function(t) {
                                                var q, w, v, u, r, x = [];
                                                try {
                                                    w = this.findDocuments(t);
                                                    for (q in w) {
                            Severity: Minor
                            Found in performance/yslow.js - About 1 hr to fix

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

                                                  lint: function(y, A, r) {
                                                      var x, z, w, t, s, v = [],
                                                          u = parseInt(r.min_cache_time, 10) * 1000,
                                                          q = A.getComponentsByType("favicon");
                                                      if (q.length) {
                              Severity: Minor
                              Found in performance/yslow.js - About 1 hr to fix

                                Function componentsView has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                                    componentsView: function(u, r) {
                                                        var t, q, s = "<components>";
                                                        for (t = 0; t < u.length; t += 1) {
                                                            s += "<component>";
                                                            s += "<type>" + u[t].type + "</type>";
                                Severity: Minor
                                Found in performance/yslow.js - About 1 hr to fix

                                  Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      offset: function( options ) {
                                          if ( arguments.length ) {
                                              return options === undefined ?
                                                  this :
                                                  this.each(function( i ) {
                                  Severity: Minor
                                  Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                    Function off has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        off: function( types, selector, fn ) {
                                            var handleObj, type;
                                            if ( types && types.preventDefault && types.handleObj ) {
                                                // ( event )  dispatched jQuery.Event
                                                handleObj = types.handleObj;
                                    Severity: Minor
                                    Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                      Function bind has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                            Function.prototype.bind = function bind(that) {
                                      
                                              var target = this;
                                      
                                              if (typeof target != "function") {
                                      Severity: Minor
                                      Found in _frontend/assets/js/vendor/modernizr.min.js - About 1 hr to fix

                                        Function * has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                "*": [ function( prop, value ) {
                                                    var tween = this.createTween( prop, value ),
                                                        target = tween.cur(),
                                                        parts = rfxnum.exec( value ),
                                                        unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
                                        Severity: Minor
                                        Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language