stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

Function close has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    close: function( event ) {
        var that = this,
            target = $( event ? event.currentTarget : this.element ),
            tooltip = this._find( target );

Severity: Minor
Found in public/lib/jquery-ui.js - About 1 hr to fix

    Function _refresh has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _refresh: function() {
            this._setupDisabled( this.options.disabled );
            this._setupEvents( this.options.event );
            this._setupHeightStyle( this.options.heightStyle );
    
    
    Severity: Minor
    Found in public/lib/jquery-ui.js - About 1 hr to fix

      Function ATTR has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              ATTR: function( elem, match ) {
                  var name = match[1],
                      result = Expr.attrHandle[ name ] ?
                          Expr.attrHandle[ name ]( elem ) :
                          elem[ name ] != null ?
      Severity: Minor
      Found in public/lib/jquery.js - About 1 hr to fix

        Function setRange has 28 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                function setRange(axis) {
                    var opts = axis.options,
                        min = +(opts.min != null ? opts.min : axis.datamin),
                        max = +(opts.max != null ? opts.max : axis.datamax),
                        delta = max - min;
        Severity: Minor
        Found in public/lib/jquery.flot.js - About 1 hr to fix

          Function puff has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          $.effects.effect.puff = function( o, done ) {
              var elem = $( this ),
                  mode = $.effects.setMode( elem, o.mode || "hide" ),
                  hide = mode === "hide",
                  percent = parseInt( o.percent, 10 ) || 150,
          Severity: Minor
          Found in public/lib/jquery-ui.js - About 1 hr to fix

            Function values has 28 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                values: function( index, newValue ) {
                    var vals,
                        newValues,
                        i;
            
            
            Severity: Minor
            Found in public/lib/jquery-ui.js - About 1 hr to fix

              Function _initSource has 28 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  _initSource: function() {
                      var array, url,
                          that = this;
                      if ( $.isArray(this.options.source) ) {
                          array = this.options.source;
              Severity: Minor
              Found in public/lib/jquery-ui.js - About 1 hr to fix

                Function highlight has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                $.effects.effect.highlight = function( o, done ) {
                    var elem = $( this ),
                        props = [ "backgroundImage", "backgroundColor", "opacity" ],
                        mode = $.effects.setMode( elem, o.mode || "show" ),
                        animation = {
                Severity: Minor
                Found in public/lib/jquery-ui.js - About 1 hr to fix

                  Function _create has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _create: function() {
                          var that = this;
                  
                          this.element.addClass("ui-selectable");
                  
                  
                  Severity: Minor
                  Found in public/lib/jquery-ui.js - About 1 hr to fix

                    Function refreshPositions has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        refreshPositions: function(fast) {
                    
                            //This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change
                            if(this.offsetParent && this.helper) {
                                this.offset.parent = this._getParentOffset();
                    Severity: Minor
                    Found in public/lib/jquery-ui.js - About 1 hr to fix

                      Function transfer has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      $.effects.effect.transfer = function( o, done ) {
                          var elem = $( this ),
                              target = $( o.to ),
                              targetFixed = target.css( "position" ) === "fixed",
                              body = $("body"),
                      Severity: Minor
                      Found in public/lib/jquery-ui.js - About 1 hr to fix

                        Function _mouseStop has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _mouseStop: function(event) {
                        
                                //If we are using droppables, inform the manager about the drop
                                var dropped = false;
                                if ($.ui.ddmanager && !this.options.dropBehaviour)
                        Severity: Minor
                        Found in public/lib/jquery-ui.js - About 1 hr to fix

                          Function addClass has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              addClass: function( value ) {
                                  if ( jQuery.isFunction(value) ) {
                                      return this.each(function(i) {
                                          var self = jQuery(this);
                                          self.addClass( value.call(this, i, self.attr("class")) );
                          Severity: Minor
                          Found in public/lib/jquery.js - About 1 hr to fix

                            Function type has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                jQuery.fn[ type ] = function( size ) {
                                    // Get window width or height
                                    var elem = this[0];
                                    if ( !elem ) {
                                        return size == null ? null : this;
                            Severity: Minor
                            Found in public/lib/jquery.js - About 1 hr to fix

                              Function html has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  html: function( value ) {
                                      if ( value === undefined ) {
                                          return this[0] && this[0].nodeType === 1 ?
                                              this[0].innerHTML.replace(rinlinejQuery, "") :
                                              null;
                              Severity: Minor
                              Found in public/lib/jquery.js - About 1 hr to fix

                                Function refresh has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    refresh: function() {
                                        //See #8237 & #8828
                                        var isDisabled = this.element.is( "input, button" ) ? this.element.is( ":disabled" ) : this.element.hasClass( "ui-button-disabled" );
                                
                                        if ( isDisabled !== this.options.disabled ) {
                                Severity: Minor
                                Found in public/lib/jquery-ui.js - About 1 hr to fix

                                  Function left has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          left: function( position, data ) {
                                              var within = data.within,
                                                  withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
                                                  outerWidth = within.width,
                                                  collisionPosLeft = position.left - data.collisionPosition.marginLeft,
                                  Severity: Minor
                                  Found in public/lib/jquery-ui.js - About 1 hr to fix

                                    Function top has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            top: function( position, data ) {
                                                var within = data.within,
                                                    withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
                                                    outerHeight = data.within.height,
                                                    collisionPosTop = position.top - data.collisionPosition.marginTop,
                                    Severity: Minor
                                    Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                                          toggleClass: function( value, stateVal ) {
                                              var type = typeof value,
                                                  isBool = typeof stateVal === "boolean";
                                      
                                              if ( jQuery.isFunction( value ) ) {
                                      Severity: Minor
                                      Found in public/lib/jquery.js - About 1 hr to fix

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

                                        Sizzle.find = function( expr, context, isXML ) {
                                            var set;
                                        
                                            if ( !expr ) {
                                                return [];
                                        Severity: Minor
                                        Found in public/lib/jquery.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language