suitmedia/suitcoda

View on GitHub

Showing 552 of 784 total issues

Function projectChart has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        projectChart: function () {
            var $chart = $('.project-chart');

            if ( !$chart.length ) return;

Severity: Major
Found in _frontend/assets/js/main.min.js - About 2 hrs to fix

    Function projectChart has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            projectChart: function () {
                var $chart = $('.project-chart');
    
                if ( !$chart.length ) return;
    
    
    Severity: Major
    Found in _frontend/dev/js/main.js - About 2 hrs to fix

      Function formatAsJUnit has 61 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                          formatAsJUnit: function(u) {
                              var v, B, F, x, t, r, y = u.length,
                                  A = 0,
                                  q = 0,
                                  z = [],
      Severity: Major
      Found in performance/yslow.js - About 2 hrs to fix

        Function superMatcher has 61 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                superMatcher = function( seed, context, xml, results, outermost ) {
                    var elem, j, matcher,
                        matchedCount = 0,
                        i = "0",
                        unmatched = seed && [],
        Severity: Major
        Found in _frontend/assets/js/vendor/jquery.min.js - About 2 hrs to fix

          Function superMatcher has 61 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  superMatcher = function( seed, context, xml, results, outermost ) {
                      var elem, j, matcher,
                          matchedCount = 0,
                          i = "0",
                          unmatched = seed && [],
          Severity: Major
          Found in _frontend/dev/js/vendor/jquery.js - About 2 hrs to fix

            Function _animateBar has 61 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    _animateBar: 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 2 hrs to fix

              Function send has 60 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                              send: function( headers, complete ) {
                                  var i,
                                      xhr = options.xhr(),
                                      id = ++xhrId;
              
              
              Severity: Major
              Found in _frontend/assets/js/vendor/jquery.min.js - About 2 hrs to fix

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

                    init = jQuery.fn.init = function( selector, context ) {
                        var match, elem;
                
                        // HANDLE: $(""), $(null), $(undefined), $(false)
                        if ( !selector ) {
                Severity: Major
                Found in _frontend/assets/js/vendor/jquery.min.js - About 2 hrs to fix

                  Function domManip has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      domManip: function( args, callback ) {
                  
                          // Flatten any nested arrays
                          args = concat.apply( [], args );
                  
                  
                  Severity: Major
                  Found in _frontend/assets/js/vendor/jquery.min.js - About 2 hrs to fix

                    Function FastClick has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function FastClick(layer) {
                        'use strict';
                        var oldOnClick, self = this;
                    
                    
                    
                    Severity: Major
                    Found in _frontend/assets/js/vendor/fastclick.min.js - About 2 hrs to fix

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

                          init = jQuery.fn.init = function( selector, context ) {
                              var match, elem;
                      
                              // HANDLE: $(""), $(null), $(undefined), $(false)
                              if ( !selector ) {
                      Severity: Major
                      Found in _frontend/dev/js/vendor/jquery.js - About 2 hrs to fix

                        Function send has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                        send: function( headers, complete ) {
                                            var i,
                                                xhr = options.xhr(),
                                                id = ++xhrId;
                        
                        
                        Severity: Major
                        Found in _frontend/dev/js/vendor/jquery.js - About 2 hrs to fix

                          Function domManip has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              domManip: function( args, callback ) {
                          
                                  // Flatten any nested arrays
                                  args = concat.apply( [], args );
                          
                          
                          Severity: Major
                          Found in _frontend/dev/js/vendor/jquery.js - About 2 hrs to fix

                            Function FastClick has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function FastClick(layer) {
                                'use strict';
                                var oldOnClick, self = this;
                            
                            
                            
                            Severity: Major
                            Found in _frontend/dev/js/vendor/fastclick.js - About 2 hrs to fix

                              Function CHILD has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      "CHILD": function( type, what, argument, first, last ) {
                                          var simple = type.slice( 0, 3 ) !== "nth",
                                              forward = type.slice( -4 ) !== "last",
                                              ofType = what === "of-type";
                              
                              
                              Severity: Major
                              Found in _frontend/assets/js/vendor/jquery.min.js - About 2 hrs to fix

                                Function Deferred has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    Deferred: function( func ) {
                                        var tuples = [
                                                // action, add listener, listener list, final state
                                                [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
                                                [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
                                Severity: Major
                                Found in _frontend/assets/js/vendor/jquery.min.js - About 2 hrs to fix

                                  Function Deferred has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      Deferred: function( func ) {
                                          var tuples = [
                                                  // action, add listener, listener list, final state
                                                  [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
                                                  [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
                                  Severity: Major
                                  Found in _frontend/dev/js/vendor/jquery.js - About 2 hrs to fix

                                    Function CHILD has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            "CHILD": function( type, what, argument, first, last ) {
                                                var simple = type.slice( 0, 3 ) !== "nth",
                                                    forward = type.slice( -4 ) !== "last",
                                                    ofType = what === "of-type";
                                    
                                    
                                    Severity: Major
                                    Found in _frontend/dev/js/vendor/jquery.js - About 2 hrs to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                                              if ( forward && useCache ) {
                                                                  // Seek `elem` from a previously-cached index
                                                                  outerCache = parent[ expando ] || (parent[ expando ] = {});
                                                                  cache = outerCache[ type ] || [];
                                                                  nodeIndex = cache[0] === dirruns && cache[1];
                                      Severity: Critical
                                      Found in _frontend/assets/js/vendor/jquery.min.js - About 2 hrs to fix

                                        Consider simplifying this complex logical expression.
                                        Open

                                                                if ( forward && useCache ) {
                                                                    // Seek `elem` from a previously-cached index
                                                                    outerCache = parent[ expando ] || (parent[ expando ] = {});
                                                                    cache = outerCache[ type ] || [];
                                                                    nodeIndex = cache[0] === dirruns && cache[1];
                                        Severity: Critical
                                        Found in _frontend/dev/js/vendor/jquery.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language