bronycub/sugarcub

View on GitHub

Showing 3,238 of 3,238 total issues

Function when has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    when: function( singleValue ) {
        var

            // count of uncompleted subordinates
            remaining = arguments.length,
Severity: Minor
Found in core/static/vendor/jquery/dist/jquery.js - About 1 hr to fix

    Function when has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        when: function( singleValue ) {
            var
    
                // count of uncompleted subordinates
                remaining = arguments.length,
    Severity: Minor
    Found in core/static/vendor/jquery/dist/jquery.slim.js - About 1 hr to fix

      Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          offset: function( options ) {
      
              // Preserve chaining for setter
              if ( arguments.length ) {
                  return options === undefined ?
      Severity: Minor
      Found in core/static/vendor/jquery/dist/jquery.slim.js - About 1 hr to fix

        Function remove has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            remove: function( owner, key ) {
                var i,
                    cache = owner[ this.expando ];
        
                if ( cache === undefined ) {
        Severity: Minor
        Found in core/static/vendor/jquery/dist/jquery.slim.js - About 1 hr to fix

          Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              offset: function( options ) {
          
                  // Preserve chaining for setter
                  if ( arguments.length ) {
                      return options === undefined ?
          Severity: Minor
          Found in core/static/vendor/jquery/dist/jquery.js - About 1 hr to fix

            Function augmentWidthOrHeight has 26 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
                var i,
                    val = 0;
            
                // If we already have the right measurement, avoid augmentation
            Severity: Minor
            Found in core/static/vendor/jquery/dist/jquery.slim.js - About 1 hr to fix

              Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  offset: function( options ) {
              
                      // Preserve chaining for setter
                      if ( arguments.length ) {
                          return options === undefined ?
              Severity: Minor
              Found in core/static/vendor/jquery/src/offset.js - About 1 hr to fix

                Function remove has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    remove: function( owner, key ) {
                        var i,
                            cache = owner[ this.expando ];
                
                        if ( cache === undefined ) {
                Severity: Minor
                Found in core/static/vendor/jquery/src/data/Data.js - About 1 hr to fix

                  Function augmentWidthOrHeight has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
                      var i,
                          val = 0;
                  
                      // If we already have the right measurement, avoid augmentation
                  Severity: Minor
                  Found in core/static/vendor/jquery/src/css.js - About 1 hr to fix

                    Function when has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        when: function( singleValue ) {
                            var
                    
                                // count of uncompleted subordinates
                                remaining = arguments.length,
                    Severity: Minor
                    Found in core/static/vendor/jquery/src/deferred.js - About 1 hr to fix

                      Function defaultDate has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              picker.defaultDate = function (defaultDate) {
                                  ///<signature helpKeyword="$.fn.datetimepicker.defaultDate">
                                  ///<summary>Returns a moment with the options.defaultDate option configuration or false if not set</summary>
                                  ///<returns type="Moment">date.clone()</returns>
                                  ///</signature>

                        Function enabledHours has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                picker.enabledHours = function (hours) {
                                    ///<signature helpKeyword="$.fn.datetimepicker.enabledHours">
                                    ///<summary>Returns an array with the currently set enabled hours on the component.</summary>
                                    ///<returns type="array">options.enabledHours</returns>
                                    ///</signature>

                          Function addEventListener has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              addEventListener: function (types, fn, context) { // (String, Function[, Object]) or (Object[, Object])
                          
                                  // types can be a map of types/handlers
                                  if (L.Util.invokeEach(types, this.addEventListener, this, fn, context)) { return this; }
                          
                          
                          Severity: Minor
                          Found in core/static/vendor/leaflet/dist/leaflet-src.js - About 1 hr to fix

                            Function disabledHours has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    picker.disabledHours = function (hours) {
                                        ///<signature helpKeyword="$.fn.datetimepicker.disabledHours">
                                        ///<summary>Returns an array with the currently set disabled hours on the component.</summary>
                                        ///<returns type="array">options.disabledHours</returns>
                                        ///</signature>

                              Function formatDate has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      formatDate: function(date, format, language){
                                          if (!date)
                                              return '';
                                          if (typeof format === 'string')
                                              format = DPGlobal.parseFormat(format);
                              Severity: Minor
                              Found in core/static/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js - About 1 hr to fix

                                Function extractStacktrace has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function extractStacktrace( e, offset ) {
                                    offset = offset === undefined ? 4 : offset;
                                
                                    var stack, include, i;
                                
                                
                                Severity: Minor
                                Found in core/static/vendor/jquery-expander/test/qunit/qunit.1.19.0.js - About 1 hr to fix

                                  Function object has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                              "object": function (b, a) {
                                                  var i, j, loop;
                                                  var eq = true; // unless we can proove it
                                                  var aProperties = [], bProperties = []; // collection of strings
                                  
                                  
                                  Severity: Minor
                                  Found in core/static/vendor/jquery-expander/test/qunit/qunit.js - About 1 hr to fix

                                    Function object has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                                    object: function( map, stack ) {
                                                        var keys, key, val, i, nonEnumerableProperties,
                                                            ret = [];
                                    
                                                        if ( dump.maxDepth && dump.depth > dump.maxDepth ) {
                                    Severity: Minor
                                    Found in core/static/vendor/jquery-expander/test/qunit/qunit.1.19.0.js - About 1 hr to fix

                                      Function diffHalfMatchI has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              function diffHalfMatchI( longtext, shorttext, i ) {
                                                  var seed, j, bestCommon, prefixLength, suffixLength,
                                                      bestLongtextA, bestLongtextB, bestShorttextA, bestShorttextB;
                                                  // Start with a 1/4 length substring at position i as a seed.
                                                  seed = longtext.substring( i, i + Math.floor( longtext.length / 4 ) );
                                      Severity: Minor
                                      Found in core/static/vendor/jquery-expander/test/qunit/qunit.1.19.0.js - About 1 hr to fix

                                        Function typeOf has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                typeOf: function( obj ) {
                                                    var type;
                                                    if ( obj === null ) {
                                                        type = "null";
                                                    } else if (typeof obj === "undefined") {
                                        Severity: Minor
                                        Found in core/static/vendor/bootstrap-datepicker/tests/assets/qunit.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language