stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

Function _mouseDown has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _mouseDown: function(event) {
        // don't let more than one widget handle mouseStart
        if( mouseHandled ) { return; }

        // we may have missed mouseup (out of window)
Severity: Minor
Found in public/lib/jquery-ui.js - About 1 hr to fix

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

        refresh: function() {
            var maxHeight, overflow,
                heightStyle = this.options.heightStyle,
                parent = this.element.parent();
    
    
    Severity: Minor
    Found in public/lib/jquery-ui.js - About 1 hr to fix

      Function drag has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          drag: function(event, ui) {
      
              var inst = $(this).data("draggable"), o = inst.options;
              var d = o.snapTolerance;
      
      
      Severity: Minor
      Found in public/lib/jquery-ui.js - About 1 hr to fix

        Function _size has 37 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _size: function() {
                /* If the user has resized the dialog, the .ui-dialog and .ui-dialog-content
                 * divs will both have width and height set, so we need to reset them
                 */
                var nonContentHeight, minContentHeight, autoHeight,
        Severity: Minor
        Found in public/lib/jquery-ui.js - About 1 hr to fix

          Function slide has 37 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            , slide: function (type, next) {
                var $active = this.$element.find('.item.active')
                  , $next = next || $active[type]()
                  , isCycling = this.interval
                  , direction = type == 'next' ? 'left' : 'right'
          Severity: Minor
          Found in public/lib/bootstrap/js/bootstrap.js - About 1 hr to fix

            Function _generatePosition has 36 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _generatePosition: function(event) {
            
                    var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
            
                    // This is another very weird special case that only happens for relative elements:
            Severity: Minor
            Found in public/lib/jquery-ui.js - About 1 hr to fix

              Function clip has 36 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              $.effects.effect.clip = function( o, done ) {
                  // Create element
                  var el = $( this ),
                      props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
                      mode = $.effects.setMode( el, o.mode || "hide" ),
              Severity: Minor
              Found in public/lib/jquery-ui.js - About 1 hr to fix

                Function name has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    $.fn[ name ] = function( options ) {
                        var isMethodCall = typeof options === "string",
                            args = slice.call( arguments, 1 ),
                            returnValue = this;
                
                
                Severity: Minor
                Found in public/lib/jquery-ui.js - About 1 hr to fix

                  Function load has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      load: function( index, event ) {
                          index = this._getIndex( index );
                          var that = this,
                              tab = this.tabs.eq( index ),
                              anchor = tab.find( ".ui-tabs-anchor" ),
                  Severity: Minor
                  Found in public/lib/jquery-ui.js - About 1 hr to fix

                    Function _toggle has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _toggle: function( data ) {
                            var toShow = data.newPanel,
                                toHide = this.prevShow.length ? this.prevShow : data.oldPanel;
                    
                            // handle activating a panel during the animation for another activation
                    Severity: Minor
                    Found in public/lib/jquery-ui.js - About 1 hr to fix

                      Function _resetButton has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          _resetButton: function() {
                              if ( this.type === "input" ) {
                                  if ( this.options.label ) {
                                      this.element.val( this.options.label );
                                  }
                      Severity: Minor
                      Found in public/lib/jquery-ui.js - About 1 hr to fix

                        Function pulsate has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

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

                          Function _attachments has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _attachments: function(input, inst) {
                                  var appendText = this._get(inst, 'appendText');
                                  var isRTL = this._get(inst, 'isRTL');
                                  if (inst.append)
                                      inst.append.remove();
                          Severity: Minor
                          Found in public/lib/jquery-ui.js - About 1 hr to fix

                            Function slide has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            $.effects.effect.slide = function( o, done ) {
                            
                                // Create element
                                var el = $( this ),
                                    props = [ "position", "top", "bottom", "left", "right", "width", "height" ],
                            Severity: Minor
                            Found in public/lib/jquery-ui.js - About 1 hr to fix

                              Function fix has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  fix: function( event ) {
                                      if ( event[ jQuery.expando ] ) {
                                          return event;
                                      }
                              
                              
                              Severity: Minor
                              Found in public/lib/jquery.js - About 1 hr to fix

                                Function _slide has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _slide: function( event, index, newVal ) {
                                        var otherVal,
                                            newValues,
                                            allowed;
                                
                                
                                Severity: Minor
                                Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                                      close: function( event ) {
                                          var that = this,
                                              maxZ, thisZ;
                                  
                                          if ( !this._isOpen ) {
                                  Severity: Minor
                                  Found in public/lib/jquery-ui.js - About 1 hr to fix

                                    Function _toggle has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            _toggle: function( event, eventData ) {
                                                var that = this,
                                                    toShow = eventData.newPanel,
                                                    toHide = eventData.oldPanel,
                                                    fx = this._getFx();
                                    Severity: Minor
                                    Found in public/lib/jquery-ui.js - About 1 hr to fix

                                      Function _eventHandler has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _eventHandler: function( event ) {
                                              var options = this.options,
                                                  active = this.active,
                                                  anchor = $( event.currentTarget ),
                                                  tab = anchor.closest( "li" ),
                                      Severity: Minor
                                      Found in public/lib/jquery-ui.js - About 1 hr to fix

                                        Consider simplifying this complex logical expression.
                                        Open

                                            if ( args.length === 1 && typeof args[0] === "string" && args[0].length < 512 && doc === document &&
                                                args[0].charAt(0) === "<" && !rnocache.test( args[0] ) && (jQuery.support.checkClone || !rchecked.test( args[0] )) ) {
                                        
                                                cacheable = true;
                                                cacheresults = jQuery.fragments[ args[0] ];
                                        Severity: Critical
                                        Found in public/lib/jquery.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language