suitmedia/suitcoda

View on GitHub

Showing 552 of 784 total issues

Function onTouchEnd has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

FastClick.prototype.onTouchEnd = function(event) {
    'use strict';
    var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;

    if (!this.trackingClick) {
Severity: Minor
Found in _frontend/dev/js/vendor/fastclick.js - About 2 hrs to fix

    Function internalRemoveData has 49 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function internalRemoveData( elem, name, pvt ) {
        if ( !jQuery.acceptData( elem ) ) {
            return;
        }
    
    
    Severity: Minor
    Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

      Function internalRemoveData has 49 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function internalRemoveData( elem, name, pvt ) {
          if ( !jQuery.acceptData( elem ) ) {
              return;
          }
      
      
      Severity: Minor
      Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

        Function computeStats has 48 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

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

          Function openDialog has 47 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                              openDialog: function(K, C, B, x, w, u, F) {
                                  var E, D, G, z, y, q, r, t, I, v, s, A, H = this.modaldlg,
                                      J = H.getElementsByTagName("div");
                                  for (E = 0; E < J.length; E += 1) {
                                      if (J[E].className && J[E].className.length > 0) {
          Severity: Minor
          Found in performance/yslow.js - About 1 hr to fix

            Function updateProgressView has 47 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                                updateProgressView: function(q, v) {
                                    var u, x, y, w, z, r, s, t, A = "";
                                    if (this.curButtonId === "panel_about") {
                                        z = this.getButtonView(this.curButtonId);
                                        if (q === "peel") {
            Severity: Minor
            Found in performance/yslow.js - About 1 hr to fix

              Function setComponentDetails has 47 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                              YSLOW.Component.prototype.setComponentDetails = function(s) {
                                  var q = this,
                                      r = function(v, t) {
                                          var w;
                                          q.status = t.status;
              Severity: Minor
              Found in performance/yslow.js - About 1 hr to fix

                Function internalData has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
                    if ( !jQuery.acceptData( elem ) ) {
                        return;
                    }
                
                
                Severity: Minor
                Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                  Function select has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  select = Sizzle.select = function( selector, context, results, seed ) {
                      var i, tokens, token, type, find,
                          compiled = typeof selector === "function" && selector,
                          match = !seed && tokenize( (selector = compiled.selector || selector) );
                  
                  
                  Severity: Minor
                  Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                    Function internalData has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
                        if ( !jQuery.acceptData( elem ) ) {
                            return;
                        }
                    
                    
                    Severity: Minor
                    Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                      Function select has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      select = Sizzle.select = function( selector, context, results, seed ) {
                          var i, tokens, token, type, find,
                              compiled = typeof selector === "function" && selector,
                              match = !seed && tokenize( (selector = compiled.selector || selector) );
                      
                      
                      Severity: Minor
                      Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                        Method testHandleWithDatabaseActiveUrl has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function testHandleWithDatabaseActiveUrl()
                            {
                                $urlFaker = factory(Url::class, 5)->create();
                        
                                $project = Mockery::mock(Project::class)->makePartial();
                        Severity: Minor
                        Found in tests/Listeners/CrawlerTheWebsiteTest.php - About 1 hr to fix

                          Method testHandleWithDatabaseNotActiveUrl has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function testHandleWithDatabaseNotActiveUrl()
                              {
                                  $urlFaker = factory(Url::class, 5)->create();
                          
                                  $project = Mockery::mock(Project::class)->makePartial();
                          Severity: Minor
                          Found in tests/Listeners/CrawlerTheWebsiteTest.php - About 1 hr to fix

                            Function tokenize has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
                                var matched, match, tokens, type,
                                    soFar, groups, preFilters,
                                    cached = tokenCache[ selector + " " ];
                            
                            
                            Severity: Minor
                            Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                              Function matcherFromTokens has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function matcherFromTokens( tokens ) {
                                  var checkContext, matcher, j,
                                      len = tokens.length,
                                      leadingRelative = Expr.relative[ tokens[0].type ],
                                      implicitRelative = leadingRelative || Expr.relative[" "],
                              Severity: Minor
                              Found in _frontend/assets/js/vendor/jquery.min.js - About 1 hr to fix

                                Function tokenize has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
                                    var matched, match, tokens, type,
                                        soFar, groups, preFilters,
                                        cached = tokenCache[ selector + " " ];
                                
                                
                                Severity: Minor
                                Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                                  Function matcherFromTokens has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function matcherFromTokens( tokens ) {
                                      var checkContext, matcher, j,
                                          len = tokens.length,
                                          leadingRelative = Expr.relative[ tokens[0].type ],
                                          implicitRelative = leadingRelative || Expr.relative[" "],
                                  Severity: Minor
                                  Found in _frontend/dev/js/vendor/jquery.js - About 1 hr to fix

                                    Method testHandleWithEmptyDatabase has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function testHandleWithEmptyDatabase()
                                        {
                                            $project = Mockery::mock(Project::class)->makePartial();
                                            $inspection = Mockery::mock(Inspection::class)->makePartial();
                                            $crawler = Mockery::mock(CrawlerUrl::class)->shouldIgnoreMissing();
                                    Severity: Minor
                                    Found in tests/Listeners/CrawlerTheWebsiteTest.php - About 1 hr to fix

                                      Function parse has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          sprintf.parse = function(fmt) {
                                              var _fmt = fmt, match = [], parse_tree = [], arg_names = 0
                                              while (_fmt) {
                                                  if ((match = re.text.exec(_fmt)) !== null) {
                                                      parse_tree[parse_tree.length] = match[0]
                                      Severity: Minor
                                      Found in _frontend/assets/js/vendor/sprintf.min.js - About 1 hr to fix

                                        Function parse has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            sprintf.parse = function(fmt) {
                                                var _fmt = fmt, match = [], parse_tree = [], arg_names = 0
                                                while (_fmt) {
                                                    if ((match = re.text.exec(_fmt)) !== null) {
                                                        parse_tree[parse_tree.length] = match[0]
                                        Severity: Minor
                                        Found in _frontend/dev/js/vendor/sprintf.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language