stevenocchipinti/dwi-visualiser

View on GitHub

Showing 319 of 620 total issues

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 _hideDatepicker has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _hideDatepicker: function(input) {
            var inst = this._curInst;
            if (!inst || (input && inst != $.data(input, PROP_NAME)))
                return;
            if (this._datepickerShowing) {
    Severity: Minor
    Found in public/lib/jquery-ui.js - About 1 hr to fix

      Function dirCheck has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
          for ( var i = 0, l = checkSet.length; i < l; i++ ) {
              var elem = checkSet[i];
      
              if ( elem ) {
      Severity: Minor
      Found in public/lib/jquery.js - About 1 hr to fix

        Function each has 30 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            each: function( object, callback, args ) {
                var name, i = 0,
                    length = object.length,
                    isObj = length === undefined || jQuery.isFunction(object);
        
        
        Severity: Minor
        Found in public/lib/jquery.js - About 1 hr to fix

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

              drag: function(event, ui) {
          
                  var i = $(this).data("draggable"), o = i.options, scrolled = false;
          
                  if(i.scrollParent[0] != document && i.scrollParent[0].tagName != 'HTML') {
          Severity: Minor
          Found in public/lib/jquery-ui.js - About 1 hr to fix

            Function _determineButtonType has 30 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _determineButtonType: function() {
                    var ancestor, labelSelector, checked;
            
                    if ( this.element.is("[type=checkbox]") ) {
                        this.type = "checkbox";
            Severity: Minor
            Found in public/lib/jquery-ui.js - About 1 hr to fix

              Function cancel has 30 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  cancel: function() {
              
                      if(this.dragging) {
              
                          this._mouseUp({ target: null });
              Severity: Minor
              Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                    drag: function(draggable, event) {
                
                        //If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
                        if(draggable.options.refreshPositions) $.ui.ddmanager.prepareOffsets(draggable, event);
                
                
                Severity: Minor
                Found in public/lib/jquery-ui.js - About 1 hr to fix

                  Function to has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  spaces.hsla.to = function ( rgba ) {
                      if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
                          return [ null, null, null, rgba[ 3 ] ];
                      }
                      var r = rgba[ 0 ] / 255,
                  Severity: Minor
                  Found in public/lib/jquery-ui.js - About 1 hr to fix

                    Function open has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        open: function( event ) {
                            var that = this,
                                target = $( event ? event.target : this.element )
                                    // we need closest here due to mouseover bubbling,
                                    // but always pointing at the same event target
                    Severity: Minor
                    Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                          cleanData: function( elems ) {
                              var data, id, cache = jQuery.cache, internalKey = jQuery.expando, special = jQuery.event.special,
                                  deleteExpando = jQuery.support.deleteExpando;
                      
                              for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
                      Severity: Minor
                      Found in public/lib/jquery.js - About 1 hr to fix

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

                                function setupCanvases() {
                                    var reused,
                                        existingCanvas = placeholder.children("canvas.base"),
                                        existingOverlay = placeholder.children("canvas.overlay");
                        
                        
                        Severity: Minor
                        Found in public/lib/jquery.flot.js - About 1 hr to fix

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

                              setOffset: function( elem, options, i ) {
                                  var position = jQuery.css( elem, "position" );
                          
                                  // set position first, in-case top/left are set even on static elem
                                  if ( position === "static" ) {
                          Severity: Minor
                          Found in public/lib/jquery.js - About 1 hr to fix

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

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

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

                                  _createWidget: function( options, element ) {
                                      element = $( element || this.defaultElement || this )[ 0 ];
                                      this.element = $( element );
                                      this.uuid = uuid++;
                                      this.eventNamespace = "." + this.widgetName + this.uuid;
                              Severity: Minor
                              Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                                        complete: function() {
                                            if ( el.to.opacity === 0 ) {
                                                el.css( "opacity", el.from.opacity );
                                            }
                                            if( mode === "hide" ) {
                                Severity: Minor
                                Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                                      transition: function( other, distance ) {
                                          var end = color( other ),
                                              spaceName = end._space(),
                                              space = spaces[ spaceName ],
                                              startColor = this.alpha() === 0 ? color( "transparent" ) : this,
                                  Severity: Minor
                                  Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                                        resize: function(event, ui) {
                                            var that = $(this).data("resizable"), o = that.options,
                                                    ps = that.containerSize, co = that.containerOffset, cs = that.size, cp = that.position,
                                                    pRatio = that._aspectRatio || event.shiftKey, cop = { top:0, left:0 }, ce = that.containerElement;
                                    
                                    
                                    Severity: Minor
                                    Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                                          _destroy: function() {
                                              // Destroy (sub)menus
                                              this.element
                                                  .removeAttr( "aria-activedescendant" )
                                                  .find( ".ui-menu" ).andSelf()
                                      Severity: Minor
                                      Found in public/lib/jquery-ui.js - About 1 hr to fix

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

                                            _optionDatepicker: function(target, name, value) {
                                                var inst = this._getInst(target);
                                                if (arguments.length == 2 && typeof name == 'string') {
                                                    return (name == 'defaults' ? $.extend({}, $.datepicker._defaults) :
                                                        (inst ? (name == 'all' ? $.extend({}, inst.settings) :
                                        Severity: Minor
                                        Found in public/lib/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language