suitmedia/suitcoda

View on GitHub

Showing 552 of 784 total issues

Function getResults has 154 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                    getResults: function(w, S) {
                        var O, L, J, u, t, H, T, G, F, x, v, r, W, Q, I, s, E, D, y, A, N, K, B, z = / <button [\s\S]+<\/button>/,
                            q = YSLOW.util,
                            C = q.isArray,
                            V = {},
Severity: Major
Found in performance/yslow.js - About 6 hrs to fix

    Function init has 129 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      Plugin.prototype.init = function () {
        var userOpts = this.settings;
    
        
        /**
    Severity: Major
    Found in _frontend/assets/js/vendor/baze.validate.min.js - About 5 hrs to fix

      Function init has 129 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        Plugin.prototype.init = function () {
          var userOpts = this.settings;
      
          
          /**
      Severity: Major
      Found in _frontend/dev/js/vendor/baze.validate.js - About 5 hrs to fix

        Function Callbacks has 128 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        jQuery.Callbacks = function( options ) {
        
            // Convert options from String-formatted to Object-formatted if needed
            // (we check in cache first)
            options = typeof options === "string" ?
        Severity: Major
        Found in _frontend/assets/js/vendor/jquery.min.js - About 5 hrs to fix

          Function Callbacks has 128 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          jQuery.Callbacks = function( options ) {
          
              // Convert options from String-formatted to Object-formatted if needed
              // (we check in cache first)
              options = typeof options === "string" ?
          Severity: Major
          Found in _frontend/dev/js/vendor/jquery.js - About 5 hrs to fix

            Consider simplifying this complex logical expression.
            Open

                        if ( event.pageX == null && original.clientX != null ) {
                            eventDoc = event.target.ownerDocument || document;
                            doc = eventDoc.documentElement;
                            body = eventDoc.body;
            
            
            Severity: Critical
            Found in _frontend/assets/js/vendor/jquery.min.js - About 5 hrs to fix

              Consider simplifying this complex logical expression.
              Open

                          if ( event.pageX == null && original.clientX != null ) {
                              eventDoc = event.target.ownerDocument || document;
                              doc = eventDoc.documentElement;
                              body = eventDoc.body;
              
              
              Severity: Critical
              Found in _frontend/dev/js/vendor/jquery.js - About 5 hrs to fix

                File fastclick.min.js has 366 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /**
                 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
                 *
                 * @version 0.6.9
                 * @codingstandard ftlabs-jsv2
                Severity: Minor
                Found in _frontend/assets/js/vendor/fastclick.min.js - About 4 hrs to fix

                  File fastclick.js has 366 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /**
                   * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
                   *
                   * @version 0.6.9
                   * @codingstandard ftlabs-jsv2
                  Severity: Minor
                  Found in _frontend/dev/js/vendor/fastclick.js - About 4 hrs to fix

                    Function _getMilestones has 113 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            _getMilestones: function(par) {
                                if (par) {
                                    var that = par.that;
                                    var $el = that.$el;    
                                    var $elID = $el.attr('id');
                    Severity: Major
                    Found in _frontend/assets/js/vendor/jquery-barIndicator.min.js - About 4 hrs to fix

                      Function check has 110 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function check(url) {
                      
                          var Horseman    = require('node-horseman'),
                              horseman    = new Horseman();
                      
                      
                      Severity: Major
                      Found in socmed/opengraph.js - About 4 hrs to fix

                        Function defaultPrefilter has 105 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function defaultPrefilter( elem, props, opts ) {
                            /* jshint validthis: true */
                            var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
                                anim = this,
                                orig = {},
                        Severity: Major
                        Found in _frontend/assets/js/vendor/jquery.min.js - About 4 hrs to fix

                          Function defaultPrefilter has 105 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function defaultPrefilter( elem, props, opts ) {
                              /* jshint validthis: true */
                              var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
                                  anim = this,
                                  orig = {},
                          Severity: Major
                          Found in _frontend/dev/js/vendor/jquery.js - About 4 hrs to fix

                            File project_detail.blade.php has 337 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            @extends('_layouts.pages')
                            
                            @section('title', 'Project Detail')
                            
                            @section('main-content')
                            Severity: Minor
                            Found in resources/views/project_detail.blade.php - About 4 hrs to fix

                              Function setAfterOnload has 102 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                                  setAfterOnload: function(s, y) {
                                                      var A, F, I, x, C, q, u, v, N, z, L, t, w, r = YSLOW.util,
                                                          D = r.addEventListener,
                                                          E = r.removeEventListener,
                                                          K = setTimeout,
                              Severity: Major
                              Found in performance/yslow.js - About 4 hrs to fix

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

                                                    lint: function(Q, v, P) {
                                                        var I, G, u, F, w, A, M, K, N, O, t, s, J = 100,
                                                            r = [],
                                                            L = [],
                                                            z = "",
                                Severity: Major
                                Found in performance/yslow.js - About 3 hrs to fix

                                  File CrawlerUrlTest.php has 326 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  <?php
                                  
                                  namespace SuitTests\Supports;
                                  
                                  use GuzzleHttp\Client;
                                  Severity: Minor
                                  Found in tests/Supports/CrawlerUrlTest.php - About 3 hrs to fix

                                    Function reportcardView has 92 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                                        reportcardView: function(s) {
                                                            var w, H, F, E, x, r, v, L, B, I, K, J, q, u, y = '<div id="reportDiv">',
                                                                G = s.getRulesetApplied(),
                                                                A = s.getResults(),
                                                                t = s.url,
                                    Severity: Major
                                    Found in performance/yslow.js - About 3 hrs to fix

                                      Function genComponentRow has 92 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                          genComponentRow: function(w, v, r, u) {
                                                              var s, A, t, q, z, y, x;
                                                              if (typeof r !== "string") {
                                                                  r = ""
                                                              }
                                      Severity: Major
                                      Found in performance/yslow.js - About 3 hrs to fix

                                        Function populateProperties has 91 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                        YSLOW.Component.prototype.populateProperties = function(A, s) {
                                                            var v, q, r, x, y, u, z, w = this,
                                                                t = null,
                                                                B = "undefined";
                                                            if (w.headers.location && A && w.headers.location !== w.url) {
                                        Severity: Major
                                        Found in performance/yslow.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language