stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

Function createWrapper has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    createWrapper: function( element ) {

        // if the element is already wrapped, return it
        if ( element.parent().is( ".ui-effects-wrapper" )) {
            return element.parent();
Severity: Major
Found in public/lib/jquery-ui.js - About 2 hrs to fix

    Function _mouseDrag has 56 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _mouseDrag: function(event) {
    
            //Compute the helpers position
            this.position = this._generatePosition(event);
            this.positionAbs = this._convertPositionTo("absolute");
    Severity: Major
    Found in public/lib/jquery-ui.js - About 2 hrs to fix

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

          jQuery.fn.offset = function( options ) {
              var elem = this[0];
      
              if ( options ) {
                  return this.each(function( i ) {
      Severity: Major
      Found in public/lib/jquery.js - About 2 hrs to fix

        Function _generateMonthYearHeader has 53 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                    secondary, monthNames, monthNamesShort) {
                var changeMonth = this._get(inst, 'changeMonth');
                var changeYear = this._get(inst, 'changeYear');
                var showMonthAfterYear = this._get(inst, 'showMonthAfterYear');
        Severity: Major
        Found in public/lib/jquery-ui.js - About 2 hrs to fix

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

              parse: function( red, green, blue, alpha ) {
                  if ( red === undefined ) {
                      this._rgba = [ null, null, null, null ];
                      return this;
                  }
          Severity: Major
          Found in public/lib/jquery-ui.js - About 2 hrs to fix

            Function _refreshValue has 52 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _refreshValue: function() {
                    var lastValPercent, valPercent, value, valueMin, valueMax,
                        oRange = this.options.range,
                        o = this.options,
                        that = this,
            Severity: Major
            Found in public/lib/jquery-ui.js - About 2 hrs to fix

              Function _mouseStart has 52 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  _mouseStart: function(event) {
                      var that = this;
              
                      this.opos = [event.pageX, event.pageY];
              
              
              Severity: Major
              Found in public/lib/jquery-ui.js - About 2 hrs to fix

                Function keydown has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                            keydown: function( event ) {
                                if ( this.element.prop( "readOnly" ) ) {
                                    suppressKeyPress = true;
                                    suppressInput = true;
                                    suppressKeyPressRepeat = true;
                Severity: Major
                Found in public/lib/jquery-ui.js - About 2 hrs to fix

                  Function _processTabs has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _processTabs: function() {
                          var that = this;
                  
                          this.tablist = this._getList()
                              .addClass( "ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" )
                  Severity: Major
                  Found in public/lib/jquery-ui.js - About 2 hrs to fix

                    Function _setOption has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _setOption: function( key, value ) {
                            var isDraggable, isResizable,
                                uiDialog = this.uiDialog;
                    
                            switch ( key ) {
                    Severity: Major
                    Found in public/lib/jquery-ui.js - About 2 hrs to fix

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

                              function parseOptions(opts) {
                                  var i;
                                  
                                  $.extend(true, options, opts);
                                  
                      Severity: Minor
                      Found in public/lib/jquery.flot.js - About 2 hrs to fix

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

                        $.effects.animateClass = function( value, duration, easing, callback ) {
                            var o = $.speed( duration, easing, callback );
                        
                            return this.queue( function() {
                                var animated = $( this ),
                        Severity: Minor
                        Found in public/lib/jquery-ui.js - About 2 hrs to fix

                          Consider simplifying this complex logical expression.
                          Open

                                  if(!(/^(document|window|parent)$/).test(o.containment) && o.containment.constructor != Array) {
                                      var c = $(o.containment);
                                      var ce = c[0]; if(!ce) return;
                                      var co = c.offset();
                                      var over = ($(ce).css("overflow") != 'hidden');
                          Severity: Critical
                          Found in public/lib/jquery-ui.js - About 2 hrs to fix

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

                                _clear: function(event, noPropagation) {
                            
                                    this.reverting = false;
                                    // We delay all events that have to be triggered to after the point where the placeholder has been removed and
                                    // everything else normalized again
                            Severity: Minor
                            Found in public/lib/jquery-ui.js - About 2 hrs to fix

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

                                  _mouseCapture: function( event ) {
                                      var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,
                                          that = this,
                                          o = this.options;
                              
                              
                              Severity: Minor
                              Found in public/lib/jquery-ui.js - About 2 hrs to fix

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

                                        function allocateAxisBoxFirstPhase(axis) {
                                            // find the bounding box of the axis by looking at label
                                            // widths/heights and ticks, make room by diminishing the
                                            // plotOffset
                                
                                
                                Severity: Minor
                                Found in public/lib/jquery.flot.js - About 1 hr to fix

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

                                      $.plot.formatDate = function(d, fmt, monthNames) {
                                          var leftPad = function(n) {
                                              n = "" + n;
                                              return n.length == 1 ? "0" + n : n;
                                          };
                                  Severity: Minor
                                  Found in public/lib/jquery.flot.js - About 1 hr to fix

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

                                        _contactContainers: function(event) {
                                    
                                            // get innermost container that intersects with item
                                            var innermostContainer = null, innermostIndex = null;
                                    
                                    
                                    Severity: Minor
                                    Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                                      $.effects.effect.blind = 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 _determineDate has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _determineDate: function(inst, date, defaultDate) {
                                                var offsetNumeric = function(offset) {
                                                    var date = new Date();
                                                    date.setDate(date.getDate() + offset);
                                                    return date;
                                        Severity: Minor
                                        Found in public/lib/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language