suitmedia/suitcoda

View on GitHub

Showing 552 of 784 total issues

Method run has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function run()
    {
        $seoCheckingList = [
            'Title Tag Checking' => '--title',
            'Header Tag Checking' => '--header',
Severity: Minor
Found in database/seeds/SubScopeTableSeeder.php - About 1 hr to fix

    Function formatAsTAP has 44 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                        formatAsTAP: function(t) {
                            var u, z, B, x, s, r, q = 0,
                                w = t.length,
                                y = [],
                                v = YSLOW.util,
    Severity: Minor
    Found in performance/yslow.js - About 1 hr to fix

      Method testEncodingUrl has 42 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function testEncodingUrl()
          {
              $client = $this->getMockClient()->makePartial();
              $domCrawler = $this->getMockDomCrawler()->makePartial();
              
      Severity: Minor
      Found in tests/Supports/CrawlerUrlTest.php - About 1 hr to fix

        Consider simplifying this complex logical expression.
        Open

                    if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
                        ( support.htmlSerialize || !rnoshimcache.test( value )  ) &&
                        ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
                        !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) {
        
        
        Severity: Critical
        Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

          Consider simplifying this complex logical expression.
          Open

                      if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
                          ( support.htmlSerialize || !rnoshimcache.test( value )  ) &&
                          ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
                          !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) {
          
          
          Severity: Critical
          Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

            Function r has 41 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                                    r = function(v, t) {
                                        var w;
                                        q.status = t.status;
                                        q.headers = {};
                                        q.raw_headers = "";
            Severity: Minor
            Found in performance/yslow.js - About 1 hr to fix

              Function filterResult has 41 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                                  filterResult: function(z, q) {
                                      var v, u, r, w, s, x, t, y = this.getButtonView("ysPerfButton");
                                      if (q === "all") {
                                          u = true
                                      }
              Severity: Minor
              Found in performance/yslow.js - About 1 hr to fix

                Function onclickTabLabel has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                                    onclickTabLabel: function(q, w) {
                                        var s, r, t, y, A, z, v, B = YSLOW.util.getCurrentTarget(q),
                                            x = B.parentNode,
                                            u = x.nextSibling;
                                        if (B.className.indexOf("selected") !== -1 || B.id.indexOf("label") === -1) {
                Severity: Minor
                Found in performance/yslow.js - About 1 hr to fix

                  Function findStyleSheets has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                                      findStyleSheets: function(t, q) {
                                          var A, r, u, y, z = t.getElementsByTagName("head")[0],
                                              w = t.getElementsByTagName("body")[0],
                                              s = [],
                                              x = this,
                  Severity: Minor
                  Found in performance/yslow.js - About 1 hr to fix

                    Function E has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                                B, E = function(M) {
                                                    var N, O = (s.format || "").toLowerCase(),
                                                        P = {
                                                            tap: {
                                                                func: J.formatAsTAP,
                    Severity: Minor
                    Found in performance/yslow.js - About 1 hr to fix

                      Function _labelNumCounter has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              _labelNumCounter: function(par) {
                                  if (par) {
                                      var that = par.that;
                                      var opt = that.opt;
                                      var $el = that.$el;
                      Severity: Minor
                      Found in _frontend/assets/js/vendor/jquery-barIndicator.min.js - About 1 hr to fix

                        Function prettyAnchor has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

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

                          Function sendBeacon has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                              sendBeacon: function(v, u, r) {
                                                  var w, z, A, s, x, t = "",
                                                      y = YSLOW.util,
                                                      B = y.Preference,
                                                      q = "get";
                          Severity: Minor
                          Found in performance/yslow.js - About 1 hr to fix

                            Function stop has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                stop: function( type, clearQueue, gotoEnd ) {
                                    var stopQueue = function( hooks ) {
                                        var stop = hooks.stop;
                                        delete hooks.stop;
                                        stop( gotoEnd );
                            Severity: Minor
                            Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                              Function on has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                      var type, origFn;
                              
                                      // Types can be a map of types/handlers
                                      if ( typeof types === "object" ) {
                              Severity: Minor
                              Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                Function val has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    val: function( value ) {
                                        var hooks, ret, isFunction,
                                            elem = this[0];
                                
                                        if ( !arguments.length ) {
                                Severity: Minor
                                Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                  Function extend has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  jQuery.extend = jQuery.fn.extend = function() {
                                      var src, copyIsArray, copy, name, options, clone,
                                          target = arguments[0] || {},
                                          i = 1,
                                          length = arguments.length,
                                  Severity: Minor
                                  Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                    Function stop has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        stop: function( type, clearQueue, gotoEnd ) {
                                            var stopQueue = function( hooks ) {
                                                var stop = hooks.stop;
                                                delete hooks.stop;
                                                stop( gotoEnd );
                                    Severity: Minor
                                    Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                                      Function on has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                              var type, origFn;
                                      
                                              // Types can be a map of types/handlers
                                              if ( typeof types === "object" ) {
                                      Severity: Minor
                                      Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                                        Function extend has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        jQuery.extend = jQuery.fn.extend = function() {
                                            var src, copyIsArray, copy, name, options, clone,
                                                target = arguments[0] || {},
                                                i = 1,
                                                length = arguments.length,
                                        Severity: Minor
                                        Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language