klein0r/affiliate-dashboard

View on GitHub

Showing 288 of 320 total issues

File jquery.js has 6829 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * jQuery JavaScript Library v1.11.1
 * http://jquery.com/
 *
 * Includes Sizzle.js
Severity: Major
Found in web/js/jquery.js - About 2 wks to fix

    File jquery_jquery-1.11.1_1.js has 6829 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*!
     * jQuery JavaScript Library v1.11.1
     * http://jquery.com/
     *
     * Includes Sizzle.js
    Severity: Major
    Found in web/js/jquery_jquery-1.11.1_1.js - About 2 wks to fix

      Function Sizzle has 1347 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      (function( window ) {
      
      var i,
          support,
          Expr,
      Severity: Major
      Found in web/js/jquery.js - About 6 days to fix

        Function Sizzle has 1347 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        (function( window ) {
        
        var i,
            support,
            Expr,
        Severity: Major
        Found in web/js/jquery_jquery-1.11.1_1.js - About 6 days to fix

          File bootstrap.js has 1274 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /* ========================================================================
           * Bootstrap: transition.js v3.0.3
           * http://getbootstrap.com/javascript/#transitions
           * ========================================================================
           * Copyright 2013 Twitter, Inc.
          Severity: Major
          Found in web/js/bootstrap.js - About 3 days to fix

            Method __construct has 291 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function __construct()
                {
                    /* mandatory requirements follow */
            
                    $installedPhpVersion = phpversion();
            Severity: Major
            Found in var/SymfonyRequirements.php - About 1 day to fix

              Function ajax has 240 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  ajax: function( url, options ) {
              
                      // If url is an object, simulate pre-1.5 signature
                      if ( typeof url === "object" ) {
                          options = url;
              Severity: Major
              Found in web/js/jquery.js - About 1 day to fix

                Function ajax has 240 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    ajax: function( url, options ) {
                
                        // If url is an object, simulate pre-1.5 signature
                        if ( typeof url === "object" ) {
                            options = url;
                Severity: Major
                Found in web/js/jquery_jquery-1.11.1_1.js - About 1 day to fix

                  Function setDocument has 216 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  setDocument = Sizzle.setDocument = function( node ) {
                      var hasCompare,
                          doc = node ? node.ownerDocument || node : preferredDoc,
                          parent = doc.defaultView;
                  
                  
                  Severity: Major
                  Found in web/js/jquery.js - About 1 day to fix

                    Function setDocument has 216 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    setDocument = Sizzle.setDocument = function( node ) {
                        var hasCompare,
                            doc = node ? node.ownerDocument || node : preferredDoc,
                            parent = doc.defaultView;
                    
                    
                    Severity: Major
                    Found in web/js/jquery_jquery-1.11.1_1.js - About 1 day to fix

                      File SymfonyRequirements.php has 469 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      <?php
                      
                      /*
                       * This file is part of the Symfony package.
                       *
                      Severity: Minor
                      Found in var/SymfonyRequirements.php - About 7 hrs to fix

                        Function __construct has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring.
                        Open

                            public function __construct()
                            {
                                /* mandatory requirements follow */
                        
                                $installedPhpVersion = phpversion();
                        Severity: Minor
                        Found in var/SymfonyRequirements.php - About 5 hrs to fix

                        Cognitive Complexity

                        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                        A method's cognitive complexity is based on a few simple rules:

                        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                        • Code is considered more complex for each "break in the linear flow of the code"
                        • Code is considered more complex when "flow breaking structures are nested"

                        Further reading

                        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 web/js/jquery.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 web/js/jquery_jquery-1.11.1_1.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 web/js/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 web/js/jquery_jquery-1.11.1_1.js - About 5 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 web/js/jquery.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 web/js/jquery_jquery-1.11.1_1.js - About 4 hrs to fix

                                    Function trigger has 89 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        trigger: function( event, data, elem, onlyHandlers ) {
                                            var handle, ontype, cur,
                                                bubbleType, special, tmp, i,
                                                eventPath = [ elem || document ],
                                                type = hasOwn.call( event, "type" ) ? event.type : event,
                                    Severity: Major
                                    Found in web/js/jquery.js - About 3 hrs to fix

                                      Function trigger has 89 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          trigger: function( event, data, elem, onlyHandlers ) {
                                              var handle, ontype, cur,
                                                  bubbleType, special, tmp, i,
                                                  eventPath = [ elem || document ],
                                                  type = hasOwn.call( event, "type" ) ? event.type : event,
                                      Severity: Major
                                      Found in web/js/jquery_jquery-1.11.1_1.js - About 3 hrs to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language