stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

Consider simplifying this complex logical expression.
Open

            if ( match[1] === "nth" ) {
                if ( !match[2] ) {
                    Sizzle.error( match[0] );
                }

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

    Function _dialogDatepicker has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _dialogDatepicker: function(input, date, onSelect, settings, pos) {
            var inst = this._dialogInst; // internal instance
            if (!inst) {
                this.uuid += 1;
                var id = 'dp' + this.uuid;
    Severity: Minor
    Found in public/lib/jquery-ui.js - About 1 hr to fix

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

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

        Function _position has 33 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _position: function( position ) {
                var myAt = [],
                    offset = [ 0, 0 ],
                    isVisible;
        
        
        Severity: Minor
        Found in public/lib/jquery-ui.js - About 1 hr to fix

          Function _keydown has 33 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              _keydown: function( event ) {
                  if ( event.altKey || event.ctrlKey ) {
                      return;
                  }
          
          
          Severity: Minor
          Found in public/lib/jquery-ui.js - About 1 hr to fix

            Function _setupHeightStyle has 33 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

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

              Function Deferred has 32 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  Deferred: function( func ) {
                      var deferred = jQuery._Deferred(),
                          failDeferred = jQuery._Deferred(),
                          promise;
                      // Add errorDeferred methods, then and promise
              Severity: Minor
              Found in public/lib/jquery.js - About 1 hr to fix

                Function _updateDatepicker has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _updateDatepicker: function(inst) {
                        this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
                        var borders = $.datepicker._getBorders(inst.dpDiv);
                        instActive = inst; // for delegate hover events
                        inst.dpDiv.empty().append(this._generateHTML(inst));
                Severity: Minor
                Found in public/lib/jquery-ui.js - About 1 hr to fix

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

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

                    Function _normalizeArguments has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function _normalizeArguments( effect, options, speed, callback ) {
                    
                        // allow passing all options as the first parameter
                        if ( $.isPlainObject( effect ) ) {
                            options = effect;
                    Severity: Minor
                    Found in public/lib/jquery-ui.js - About 1 hr to fix

                      Function drawGraph has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        function drawGraph(lenses) {
                          data = [];
                          min_focal_length = parseInt(lenses[0]['plot'][0]);
                          max_focal_length = min_focal_length
                      
                      
                      Severity: Minor
                      Found in public/application.js - About 1 hr to fix

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

                            when: function( object ) {
                                var lastIndex = arguments.length,
                                    deferred = lastIndex <= 1 && object && jQuery.isFunction( object.promise ) ?
                                        object :
                                        jQuery.Deferred(),
                        Severity: Minor
                        Found in public/lib/jquery.js - About 1 hr to fix

                          Function option has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              option: function( key, value ) {
                                  var options = key,
                                      parts,
                                      curOption,
                                      i;
                          Severity: Minor
                          Found in public/lib/jquery-ui.js - About 1 hr to fix

                            Function offsetString has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    var offsetString = function(offset) {
                                        try {
                                            return $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
                                                offset, $.datepicker._getFormatConfig(inst));
                                        }
                            Severity: Minor
                            Found in public/lib/jquery-ui.js - About 1 hr to fix

                              Function _possibleChars has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  _possibleChars: function (format) {
                                      var chars = '';
                                      var literal = false;
                                      // Check whether a format character is doubled
                                      var lookAhead = function(match) {
                              Severity: Minor
                              Found in public/lib/jquery-ui.js - About 1 hr to fix

                                Function _refreshItems has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _refreshItems: function(event) {
                                
                                        this.items = [];
                                        this.containers = [this];
                                        var items = this.items;
                                Severity: Minor
                                Found in public/lib/jquery-ui.js - About 1 hr to fix

                                  Function _createButtons has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      _createButtons: function( buttons ) {
                                          var that = this,
                                              hasButtons = false;
                                  
                                          // if we already have a button pane, remove it
                                  Severity: Minor
                                  Found in public/lib/jquery-ui.js - About 1 hr to fix

                                    Function _destroy has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        _destroy: function() {
                                            var contents;
                                    
                                            // clean up main element
                                            this.element
                                    Severity: Minor
                                    Found in public/lib/jquery-ui.js - About 1 hr to fix

                                      Function create has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          create: function( dialog ) {
                                              if ( this.instances.length === 0 ) {
                                                  // prevent use of anchors and inputs
                                                  // we use a setTimeout in case the overlay is created from an
                                                  // event that we're going to be cancelling (see #2804)
                                      Severity: Minor
                                      Found in public/lib/jquery-ui.js - About 1 hr to fix

                                        Function _makeDraggable has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _makeDraggable: function() {
                                                var that = this,
                                                    options = this.options;
                                        
                                                function filteredUi( ui ) {
                                        Severity: Minor
                                        Found in public/lib/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language