insideout10/wordlift-plugin-js

View on GitHub
app/lib/jquery-ui-1.10.3/ui/jquery-ui.js

Summary

Maintainability
F
2 yrs
Test Coverage

File jquery-ui.js has 11714 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*! jQuery UI - v1.10.3 - 2013-05-03
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
(function( $, undefined ) {
Severity: Major
Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 mo to fix

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

        _create: function() {
            // Some browsers only repeat keydown events, not keypress events,
            // so we use the suppressKeyPress flag to determine if we've already
            // handled the keydown event. #7269
            // Unfortunately the code for & in keypress is the same as the up arrow,
    Severity: Major
    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 7 hrs to fix

      Function _generateHTML has 169 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          _generateHTML: function(inst) {
              var maxDraw, prevText, prev, nextText, next, currentText, gotoDate,
                  controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin,
                  monthNames, monthNamesShort, beforeShowDay, showOtherMonths,
                  selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate,
      Severity: Major
      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 6 hrs to fix

        Function size has 156 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        $.effects.effect.size = function( o, done ) {
        
            // Create element
            var original, baseline, factor,
                el = $( this ),
        Severity: Major
        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 6 hrs to fix

          Function parseDate has 148 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              parseDate: function (format, value, settings) {
                  if (format == null || value == null) {
                      throw "Invalid arguments";
                  }
          
          
          Severity: Major
          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 5 hrs to fix

            Function position has 147 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            $.fn.position = function( options ) {
                if ( !options || !options.of ) {
                    return _position.apply( this, arguments );
                }
            
            
            Severity: Major
            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 5 hrs to fix

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

                  _create: function() {
                      this.element.closest( "form" )
                          .unbind( "reset" + this.eventNamespace )
                          .bind( "reset" + this.eventNamespace, formResetHandler );
              
              
              Severity: Major
              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 5 hrs to fix

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

                    _create: function() {
                
                        var n, i, handle, axis, hname,
                            that = this,
                            o = this.options;
                Severity: Major
                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 4 hrs to fix

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

                      _refresh: function() {
                          var maxHeight,
                              options = this.options,
                              heightStyle = options.heightStyle,
                              parent = this.element.parent(),
                  Severity: Major
                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 3 hrs to fix

                    Function _doKeyDown has 84 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _doKeyDown: function(event) {
                            var onSelect, dateStr, sel,
                                inst = $.datepicker._getInst(event.target),
                                handled = true,
                                isRTL = inst.dpDiv.is(".ui-datepicker-rtl");
                    Severity: Major
                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 3 hrs to fix

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

                          _keydown: function( event ) {
                              /*jshint maxcomplexity:20*/
                              var match, prev, character, skip, regex,
                                  preventDefault = true;
                      
                      
                      Severity: Major
                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 3 hrs to fix

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

                            formatDate: function (format, date, settings) {
                                if (!date) {
                                    return "";
                                }
                        
                        
                        Severity: Major
                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 3 hrs to fix

                          Function _clear has 77 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: Major
                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 3 hrs to fix

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

                                _mouseDrag: function(event) {
                                    var i, item, itemElement, intersection,
                                        o = this.options,
                                        scrolled = false;
                            
                            
                            Severity: Major
                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 3 hrs to fix

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

                                  _mouseStart: function(event, overrideHandle, noActivation) {
                              
                                      var i, body,
                                          o = this.options;
                              
                              
                              Severity: Major
                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 3 hrs to fix

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

                                    _mouseDrag: function(event) {
                                
                                        this.dragged = true;
                                
                                        if (this.options.disabled) {
                                Severity: Major
                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

                                  Function Datepicker has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function Datepicker() {
                                      this._curInst = null; // The current instance in use
                                      this._keyEvent = false; // If the last event was a key event
                                      this._disabledInputs = []; // List of date picker inputs that have been disabled
                                      this._datepickerShowing = false; // True if the popup picker is showing , false if not
                                  Severity: Major
                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                        _create: function() {
                                            this.activeMenu = this.element;
                                            // flag used to prevent firing of the click handler
                                            // as the event bubbles up through nested menus
                                            this.mouseHandled = false;
                                    Severity: Major
                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

                                      Function widget has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      $.widget = function( name, base, prototype ) {
                                          var fullName, existingConstructor, constructor, basePrototype,
                                              // proxiedPrototype allows the provided prototype to remain unmodified
                                              // so that it can be used as a mixin for multiple widgets (#8876)
                                              proxiedPrototype = {},
                                      Severity: Major
                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                            _contactContainers: function(event) {
                                                var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, base, cur, nearBottom, floating,
                                                    innermostContainer = null,
                                                    innermostIndex = null;
                                        
                                        
                                        Severity: Major
                                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

                                          Function _open has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                          Open

                                              _open: function( event, target, content ) {
                                                  var tooltip, events, delayedShow,
                                                      positionOption = $.extend( {}, this.options.position );
                                          
                                                  if ( !content ) {
                                          Severity: Major
                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

                                            Function bounce has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                                            Open

                                            $.effects.effect.bounce = function( o, done ) {
                                                var el = $( this ),
                                                    props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
                                            
                                                    // defaults:
                                            Severity: Major
                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

                                              Function _showDatepicker has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                              Open

                                                  _showDatepicker: function(input) {
                                                      input = input.target || input;
                                                      if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger
                                                          input = $("input", input.parentNode)[0];
                                                      }
                                              Severity: Major
                                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                                    drag: function(event, ui) {
                                                
                                                        var inst = $(this).data("ui-draggable"), that = this;
                                                
                                                        $.each(inst.sortables, function() {
                                                Severity: Major
                                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                                      drag: function(event, ui) {
                                                  
                                                          var ts, bs, ls, rs, l, r, t, b, i, first,
                                                              inst = $(this).data("ui-draggable"),
                                                              o = inst.options,
                                                  Severity: Major
                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

                                                    Function explode has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                                    Open

                                                    $.effects.effect.explode = function( o, done ) {
                                                    
                                                        var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
                                                            cells = rows,
                                                            el = $( this ),
                                                    Severity: Major
                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                                          _generatePosition: function(event) {
                                                      
                                                              var containment, co, top, left,
                                                                  o = this.options,
                                                                  scroll = this.cssPosition === "absolute" && !( this.scrollParent[ 0 ] !== document && $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ? this.offsetParent : this.scrollParent,
                                                      Severity: Major
                                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                                                keydown: function( event ) {
                                                                    /*jshint maxcomplexity:25*/
                                                                    var allowed, curVal, newVal, step,
                                                                        index = $( event.target ).data( "ui-slider-handle-index" );
                                                        
                                                        
                                                        Severity: Major
                                                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                                              _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                                                                      secondary, monthNames, monthNamesShort) {
                                                          
                                                                  var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,
                                                                      changeMonth = this._get(inst, "changeMonth"),
                                                          Severity: Major
                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

                                                            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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                                                  _mouseStart: function(event) {
                                                                      var that = this,
                                                                          options = this.options;
                                                              
                                                                      this.opos = [event.pageX, event.pageY];
                                                              Severity: Major
                                                              Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs to fix

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

                                                                              keydown: function( event ) {
                                                                                  /*jshint maxcomplexity:15*/
                                                                                  if ( this.element.prop( "readOnly" ) ) {
                                                                                      suppressKeyPress = true;
                                                                                      suppressInput = true;
                                                                  Severity: Major
                                                                  Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 2 hrs 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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                _setOption: function( key, value ) {
                                                                                    /*jshint maxcomplexity:15*/
                                                                                    var isDraggable, isResizable,
                                                                                        uiDialog = this.uiDialog;
                                                                            
                                                                            
                                                                            Severity: Minor
                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                  _setOption: function( key, value ) {
                                                                                      var i,
                                                                                          valsLength = 0;
                                                                              
                                                                                      if ( key === "range" && this.options.range === true ) {
                                                                              Severity: Minor
                                                                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

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

                                                                                  Function _mouseCapture has 48 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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                    Function _animate has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                    Open

                                                                                        _animate: function( toShow, toHide, data ) {
                                                                                            var total, easing, duration,
                                                                                                that = this,
                                                                                                adjust = 0,
                                                                                                down = toShow.length &&
                                                                                    Severity: Minor
                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                            resize: function() {
                                                                                                var that = $(this).data("ui-resizable"),
                                                                                                    o = that.options,
                                                                                                    cs = that.size,
                                                                                                    os = that.originalSize,
                                                                                        Severity: Minor
                                                                                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                          Function scale has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                          Open

                                                                                          $.effects.effect.scale = function( o, done ) {
                                                                                          
                                                                                              // Create element
                                                                                              var el = $( this ),
                                                                                                  options = $.extend( true, {}, o ),
                                                                                          Severity: Minor
                                                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                _generatePosition: function(event) {
                                                                                            
                                                                                                    var top, left,
                                                                                                        o = this.options,
                                                                                                        pageX = event.pageX,
                                                                                            Severity: Minor
                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                              Function fold has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                              Open

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

                                                                                                Function _tabKeydown has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                Open

                                                                                                    _tabKeydown: function( event ) {
                                                                                                        /*jshint maxcomplexity:15*/
                                                                                                        var focusedTab = $( this.document[0].activeElement ).closest( "li" ),
                                                                                                            selectedIndex = this.tabs.index( focusedTab ),
                                                                                                            goingForward = true;
                                                                                                Severity: Minor
                                                                                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                      _mouseStart: function(event) {
                                                                                                  
                                                                                                          var o = this.options;
                                                                                                  
                                                                                                          //Create and append the visible helper
                                                                                                  Severity: Minor
                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                    Function _setContainment has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                    Open

                                                                                                        _setContainment: function() {
                                                                                                    
                                                                                                            var over, c, ce,
                                                                                                                o = this.options;
                                                                                                    
                                                                                                    
                                                                                                    Severity: Minor
                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                          resize: function( event ) {
                                                                                                              var woset, hoset, isParent, isOffsetRelative,
                                                                                                                  that = $(this).data("ui-resizable"),
                                                                                                                  o = that.options,
                                                                                                                  co = that.containerOffset, cp = that.position,
                                                                                                      Severity: Minor
                                                                                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                            _destroy: function() {
                                                                                                                if ( this.xhr ) {
                                                                                                                    this.xhr.abort();
                                                                                                                }
                                                                                                        
                                                                                                        
                                                                                                        Severity: Minor
                                                                                                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                              refresh: function() {
                                                                                                                  var menus,
                                                                                                                      icon = this.options.icons.submenu,
                                                                                                                      submenus = this.element.find( this.options.menus );
                                                                                                          
                                                                                                          
                                                                                                          Severity: Minor
                                                                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                _mouseDrag: function(event) {
                                                                                                            
                                                                                                                    //Increase performance, avoid regex
                                                                                                                    var data,
                                                                                                                        el = this.helper, props = {},
                                                                                                            Severity: Minor
                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                              Function shake has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                              Open

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

                                                                                                                Function _createWrapper has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                Open

                                                                                                                    _createWrapper: function() {
                                                                                                                        this.uiDialog = $("<div>")
                                                                                                                            .addClass( "ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " +
                                                                                                                                this.options.dialogClass )
                                                                                                                            .hide()
                                                                                                                Severity: Minor
                                                                                                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                  Consider simplifying this complex logical expression.
                                                                                                                  Open

                                                                                                                          if (this.floating && horizontalDirection) {
                                                                                                                              return ((horizontalDirection === "right" && isOverRightHalf) || (horizontalDirection === "left" && !isOverRightHalf));
                                                                                                                          } else {
                                                                                                                              return verticalDirection && ((verticalDirection === "down" && isOverBottomHalf) || (verticalDirection === "up" && !isOverBottomHalf));
                                                                                                                          }
                                                                                                                  Severity: Critical
                                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                    Consider simplifying this complex logical expression.
                                                                                                                    Open

                                                                                                                            if(!(/^(document|window|parent)$/).test(o.containment)) {
                                                                                                                                ce = $(o.containment)[0];
                                                                                                                                co = $(o.containment).offset();
                                                                                                                                over = ($(ce).css("overflow") !== "hidden");
                                                                                                                    
                                                                                                                    
                                                                                                                    Severity: Critical
                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                      Consider simplifying this complex logical expression.
                                                                                                                      Open

                                                                                                                              if ( ( ( $target[0].id !== $.datepicker._mainDivId &&
                                                                                                                                      $target.parents("#" + $.datepicker._mainDivId).length === 0 &&
                                                                                                                                      !$target.hasClass($.datepicker.markerClassName) &&
                                                                                                                                      !$target.closest("." + $.datepicker._triggerClass).length &&
                                                                                                                                      $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
                                                                                                                      Severity: Critical
                                                                                                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                            _eventHandler: function( event ) {
                                                                                                                                var options = this.options,
                                                                                                                                    active = this.active,
                                                                                                                                    clicked = $( event.currentTarget ),
                                                                                                                                    clickedIsActive = clicked[ 0 ] === active[ 0 ],
                                                                                                                        Severity: Minor
                                                                                                                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                          Function hook has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                          Open

                                                                                                                          color.hook = function( hook ) {
                                                                                                                              var hooks = hook.split( " " );
                                                                                                                              each( hooks, function( i, hook ) {
                                                                                                                                  jQuery.cssHooks[ hook ] = {
                                                                                                                                      set: function( elem, value ) {
                                                                                                                          Severity: Minor
                                                                                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                            Function _makeResizable has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                            Open

                                                                                                                                _makeResizable: function() {
                                                                                                                                    var that = this,
                                                                                                                                        options = this.options,
                                                                                                                                        handles = options.resizable,
                                                                                                                                        // .ui-resizable has position: relative defined in the stylesheet
                                                                                                                            Severity: Minor
                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                  _attachments: function(input, inst) {
                                                                                                                                      var showOn, buttonText, buttonImage,
                                                                                                                                          appendText = this._get(inst, "appendText"),
                                                                                                                                          isRTL = this._get(inst, "isRTL");
                                                                                                                              
                                                                                                                              
                                                                                                                              Severity: Minor
                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                Function bridge has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                Open

                                                                                                                                $.widget.bridge = function( name, object ) {
                                                                                                                                    var fullName = object.prototype.widgetFullName || name;
                                                                                                                                    $.fn[ name ] = function( options ) {
                                                                                                                                        var isMethodCall = typeof options === "string",
                                                                                                                                            args = slice.call( arguments, 1 ),
                                                                                                                                Severity: Minor
                                                                                                                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                      _optionDatepicker: function(target, name, value) {
                                                                                                                                          var settings, date, minDate, maxDate,
                                                                                                                                              inst = this._getInst(target);
                                                                                                                                  
                                                                                                                                          if (arguments.length === 2 && typeof name === "string") {
                                                                                                                                  Severity: Minor
                                                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                    Function _on has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                    Open

                                                                                                                                        _on: function( suppressDisabledCheck, element, handlers ) {
                                                                                                                                            var delegateElement,
                                                                                                                                                instance = this;
                                                                                                                                    
                                                                                                                                            // no suppressDisabledCheck flag, shuffle arguments
                                                                                                                                    Severity: Minor
                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                          _respectSize: function( data ) {
                                                                                                                                      
                                                                                                                                              var o = this._vBoundaries,
                                                                                                                                                  a = this.axis,
                                                                                                                                                  ismaxw = isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width), ismaxh = isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height),
                                                                                                                                      Severity: Minor
                                                                                                                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                        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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                          Function drag has 37 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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                _createPlaceholder: function(that) {
                                                                                                                                                    that = that || this;
                                                                                                                                                    var className,
                                                                                                                                                        o = that.options;
                                                                                                                                            
                                                                                                                                            
                                                                                                                                            Severity: Minor
                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                  _possibleChars: function (format) {
                                                                                                                                                      var iFormat,
                                                                                                                                                          chars = "",
                                                                                                                                                          literal = false,
                                                                                                                                                          // Check whether a format character is doubled
                                                                                                                                              Severity: Minor
                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                $.effects.effect.drop = function( o, done ) {
                                                                                                                                                
                                                                                                                                                    var el = $( this ),
                                                                                                                                                        props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
                                                                                                                                                        mode = $.effects.setMode( el, o.mode || "hide" ),
                                                                                                                                                Severity: Minor
                                                                                                                                                Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

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

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

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

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

                                                                                                                                                                _mouseCapture: function(event, overrideHandle) {
                                                                                                                                                                    var currentItem = null,
                                                                                                                                                                        validHandle = false,
                                                                                                                                                                        that = this;
                                                                                                                                                            
                                                                                                                                                            
                                                                                                                                                            Severity: Minor
                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                  effect: function( /* effect, options, speed, callback */ ) {
                                                                                                                                                                      var args = _normalizeArguments.apply( this, arguments ),
                                                                                                                                                                          mode = args.mode,
                                                                                                                                                                          queue = args.queue,
                                                                                                                                                                          effectMethod = $.effects.effect[ args.effect ];
                                                                                                                                                              Severity: Minor
                                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

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

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

                                                                                                                                                                        _dialogDatepicker: function(input, date, onSelect, settings, pos) {
                                                                                                                                                                            var id, browserWidth, browserHeight, scrollX, scrollY,
                                                                                                                                                                                inst = this._dialogInst; // internal instance
                                                                                                                                                                    
                                                                                                                                                                            if (!inst) {
                                                                                                                                                                    Severity: Minor
                                                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                _createTitlebar: function() {
                                                                                                                                                                                    var uiDialogTitle;
                                                                                                                                                                            
                                                                                                                                                                                    this.uiDialogTitlebar = $("<div>")
                                                                                                                                                                                        .addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix")
                                                                                                                                                                            Severity: Minor
                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                  start: function() {
                                                                                                                                                                                      var element, p, co, ch, cw, width, height,
                                                                                                                                                                                          that = $(this).data("ui-resizable"),
                                                                                                                                                                                          o = that.options,
                                                                                                                                                                                          el = that.element,
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                          _position: function() {
                                                                                                                                                                                              var position = this.options.position,
                                                                                                                                                                                                  myAt = [],
                                                                                                                                                                                                  offset = [ 0, 0 ],
                                                                                                                                                                                                  isVisible;
                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                          _create: function() {
                                                                                                                                                                                              var that = this,
                                                                                                                                                                                                  options = this.options;
                                                                                                                                                                                      
                                                                                                                                                                                              this.running = false;
                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                        $.ui.intersect = function(draggable, droppable, toleranceMode) {
                                                                                                                                                                                        
                                                                                                                                                                                            if (!droppable.offset) {
                                                                                                                                                                                                return false;
                                                                                                                                                                                            }
                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                        Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

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

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

                                                                                                                                                                                                  _refreshItems: function(event) {
                                                                                                                                                                                              
                                                                                                                                                                                                      this.items = [];
                                                                                                                                                                                                      this.containers = [this];
                                                                                                                                                                                              
                                                                                                                                                                                              
                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                    Function _size has 32 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, maxContentHeight,
                                                                                                                                                                                                                options = this.options;
                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                              _attachHandlers: function(inst) {
                                                                                                                                                                                                                  var stepMonths = this._get(inst, "stepMonths"),
                                                                                                                                                                                                                      id = "#" + inst.id.replace( /\\\\/g, "\\" );
                                                                                                                                                                                                                  inst.dpDiv.find("[data-handler]").map(function () {
                                                                                                                                                                                                                      var handler = {
                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

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

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

                                                                                                                                                                                                                  _mouseStart: function(event) {
                                                                                                                                                                                                              
                                                                                                                                                                                                                      var curleft, curtop, cursor,
                                                                                                                                                                                                                          o = this.options,
                                                                                                                                                                                                                          iniPos = this.element.position(),
                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                Function refreshPositions has 30 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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                  Function close has 30 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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                        _createButtons: function() {
                                                                                                                                                                                                                            var that = this,
                                                                                                                                                                                                                                buttons = this.options.buttons;
                                                                                                                                                                                                                    
                                                                                                                                                                                                                            // if we already have a button pane, remove it
                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                            _makeDraggable: function() {
                                                                                                                                                                                                                                var that = this,
                                                                                                                                                                                                                                    options = this.options;
                                                                                                                                                                                                                        
                                                                                                                                                                                                                                function filteredUi( ui ) {
                                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                                        Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                  _drop: function(event,custom) {
                                                                                                                                                                                                                              
                                                                                                                                                                                                                                      var draggable = custom || $.ui.ddmanager.current,
                                                                                                                                                                                                                                          childrenIntersection = false;
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              
                                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                                Function _updateDatepicker has 29 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)
                                                                                                                                                                                                                                        instActive = inst; // for delegate hover events
                                                                                                                                                                                                                                        inst.dpDiv.empty().append(this._generateHTML(inst));
                                                                                                                                                                                                                                        this._attachHandlers(inst);
                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                      _createRange: function() {
                                                                                                                                                                                                                                          var options = this.options,
                                                                                                                                                                                                                                              classes = "";
                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                          if ( options.range ) {
                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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" ).addBack()
                                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                                      Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                              _initialActive: function() {
                                                                                                                                                                                                                                                  var active = this.options.active,
                                                                                                                                                                                                                                                      collapsible = this.options.collapsible,
                                                                                                                                                                                                                                                      locationHash = location.hash.substring( 1 );
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                _refreshValue: function() {
                                                                                                                                                                                                                                                    var value = this.options.value,
                                                                                                                                                                                                                                                        percentage = this._percentage();
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                    this.valueDiv
                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                  _setOption: function( key, value ) {
                                                                                                                                                                                                                                                      if ( key === "culture" || key === "numberFormat" ) {
                                                                                                                                                                                                                                                          var prevValue = this._parse( this.element.val() );
                                                                                                                                                                                                                                                          this.options[ key ] = value;
                                                                                                                                                                                                                                                          this.element.val( this._format( prevValue ) );
                                                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                                                  Function _createWidget has 28 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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                        _create: function() {
                                                                                                                                                                                                                                                            var selectees,
                                                                                                                                                                                                                                                                that = this;
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                            this.element.addClass("ui-selectable");
                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                _create: function() {
                                                                                                                                                                                                                                                                    this.originalCss = {
                                                                                                                                                                                                                                                                        display: this.element[0].style.display,
                                                                                                                                                                                                                                                                        width: this.element[0].style.width,
                                                                                                                                                                                                                                                                        minHeight: this.element[0].style.minHeight,
                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                      _updateVirtualBoundaries: function(forceAspectRatio) {
                                                                                                                                                                                                                                                                          var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,
                                                                                                                                                                                                                                                                              o = this.options;
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                          b = {
                                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                        stop: function( event ) {
                                                                                                                                                                                                                                                                            var that = $(this).data("ui-resizable"),
                                                                                                                                                                                                                                                                                o = that.options,
                                                                                                                                                                                                                                                                                pr = that._proportionallyResizeElements,
                                                                                                                                                                                                                                                                                ista = pr.length && (/textarea/i).test(pr[0].nodeName),
                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.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 app/lib/jquery-ui-1.10.3/ui/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 app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                            function getDimensions( elem ) {
                                                                                                                                                                                                                                                                                var raw = elem[0];
                                                                                                                                                                                                                                                                                if ( raw.nodeType === 9 ) {
                                                                                                                                                                                                                                                                                    return {
                                                                                                                                                                                                                                                                                        width: elem.width(),
                                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

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

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

                                                                                                                                                                                                                                                                                    resize: function (event, ui) {
                                                                                                                                                                                                                                                                                        var that = $(this).data("ui-resizable"),
                                                                                                                                                                                                                                                                                            o = that.options,
                                                                                                                                                                                                                                                                                            os = that.originalSize,
                                                                                                                                                                                                                                                                                            op = that.originalPosition,
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                                      _mouseStop: function(event) {
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                          this.resizing = false;
                                                                                                                                                                                                                                                                                          var pr, ista, soffseth, soffsetw, s, left, top,
                                                                                                                                                                                                                                                                                              o = this.options, that = this;
                                                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                                                set: function( elem, value ) {
                                                                                                                                                                                                                                                                                                    var parsed, curElem,
                                                                                                                                                                                                                                                                                                        backgroundColor = "";
                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    if ( value !== "transparent" && ( jQuery.type( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {
                                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

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

                                                                                                                                                                                                                                                                                          focus: function( event, item ) {
                                                                                                                                                                                                                                                                                              var nested, focused;
                                                                                                                                                                                                                                                                                              this.blur( event, event && event.type === "focus" );
                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                              this._scrollIntoView( item );
                                                                                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                                                                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                                                                                        Function _generateMonthYearHeader has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                            _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                                                                                                                                                                                                                                                                                                    secondary, monthNames, monthNamesShort) {
                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                                                                                          Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                  if ( this.options.tolerance === "pointer" ||
                                                                                                                                                                                                                                                                                                      this.options.forcePointerForContainers ||
                                                                                                                                                                                                                                                                                                      (this.options.tolerance !== "pointer" && this.helperProportions[this.floating ? "width" : "height"] > item[this.floating ? "width" : "height"])
                                                                                                                                                                                                                                                                                                  ) {
                                                                                                                                                                                                                                                                                                      return isOverElement;
                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                                                                                            Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                    if ($.datepicker._datepickerShowing) {
                                                                                                                                                                                                                                                                                                        switch (event.keyCode) {
                                                                                                                                                                                                                                                                                                            case 9: $.datepicker._hideDatepicker();
                                                                                                                                                                                                                                                                                                                    handled = false;
                                                                                                                                                                                                                                                                                                                    break; // hide on tab out
                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                                                                                              Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                      if((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {
                                                                                                                                                                                                                                                                                                          $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
                                                                                                                                                                                                                                                                                                              if(that._trigger("stop", event) !== false) {
                                                                                                                                                                                                                                                                                                                  that._clear();
                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                                                                                                Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                            if(!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) {
                                                                                                                                                                                                                                                                                                                (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 1 hr to fix

                                                                                                                                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                              if (lookAhead("'")) {
                                                                                                                                                                                                                                                                                                                                  output += "'";
                                                                                                                                                                                                                                                                                                                              } else {
                                                                                                                                                                                                                                                                                                                                  literal = true;
                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                            switch (col) {
                                                                                                                                                                                                                                                                                                                                case 0: calender += " ui-datepicker-group-first";
                                                                                                                                                                                                                                                                                                                                    cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break;
                                                                                                                                                                                                                                                                                                                                case numMonths[1]-1: calender += " ui-datepicker-group-last";
                                                                                                                                                                                                                                                                                                                                    cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break;
                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 45 mins to fix

                                                                                                                                                                                                                                                                                                      Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                  if ( ( this.options.values.length === 2 && this.options.range === true ) &&
                                                                                                                                                                                                                                                                                                                          ( ( index === 0 && newVal > otherVal) || ( index === 1 && newVal < otherVal ) )
                                                                                                                                                                                                                                                                                                                      ) {
                                                                                                                                                                                                                                                                                                                      newVal = otherVal;
                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 40 mins to fix

                                                                                                                                                                                                                                                                                                        Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                    if(
                                                                                                                                                                                                                                                                                                                        inst.options.greedy &&
                                                                                                                                                                                                                                                                                                                        !inst.options.disabled &&
                                                                                                                                                                                                                                                                                                                        inst.options.scope === draggable.options.scope &&
                                                                                                                                                                                                                                                                                                                        inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element)) &&
                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 40 mins to fix

                                                                                                                                                                                                                                                                                                          Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                              if ( o.mode === "toggle" && mode === "show" ) {
                                                                                                                                                                                                                                                                                                                  el.from = o.to || zero;
                                                                                                                                                                                                                                                                                                                  el.to = o.from || original;
                                                                                                                                                                                                                                                                                                              } else {
                                                                                                                                                                                                                                                                                                                  el.from = o.from || ( mode === "show" ? zero : original );
                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 40 mins to fix

                                                                                                                                                                                                                                                                                                            Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                                if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                                                                                                                                                                                                                                                                                                                    curElem = hook === "backgroundColor" ? elem.parentNode : elem;
                                                                                                                                                                                                                                                                                                                                    while (
                                                                                                                                                                                                                                                                                                                                        (backgroundColor === "" || backgroundColor === "transparent") &&
                                                                                                                                                                                                                                                                                                                                        curElem && curElem.style
                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 40 mins to fix

                                                                                                                                                                                                                                                                                                              Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                      if ( tab.hasClass( "ui-state-disabled" ) ||
                                                                                                                                                                                                                                                                                                                              // tab is already loading
                                                                                                                                                                                                                                                                                                                              tab.hasClass( "ui-tabs-loading" ) ||
                                                                                                                                                                                                                                                                                                                              // can't switch durning an animation
                                                                                                                                                                                                                                                                                                                              this.running ||
                                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                                              Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 40 mins to fix

                                                                                                                                                                                                                                                                                                                Function switchClass has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                                    switchClass: function( remove, add, speed, easing, callback) {
                                                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                                                Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                  Function _dialogDatepicker has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                      _dialogDatepicker: function(input, date, onSelect, settings, pos) {
                                                                                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                                                                                  Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 35 mins to fix

                                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                            return true;
                                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                                    Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                                  return;
                                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                                      Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                            return false;
                                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                                        Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                                                  return false;
                                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                                          Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.extend($.ui, { datepicker: { version: "1.10.3" } });
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var PROP_NAME = "datepicker",
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 4 mos to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.datepicker.js on lines 14..2038

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 20992.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            /*jshint loopfunc: true */
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            function isOverAxis( x, reference, size ) {
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 mos to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.sortable.js on lines 16..1285

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 14776.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.widget("ui.draggable", $.ui.mouse, {
                                                                                                                                                                                                                                                                                                                                version: "1.10.3",
                                                                                                                                                                                                                                                                                                                                widgetEventPrefix: "drag",
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 mos to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.draggable.js on lines 16..958

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 11234.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            function num(v) {
                                                                                                                                                                                                                                                                                                                                return parseInt(v, 10) || 0;
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 mos to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.resizable.js on lines 16..968

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 10888.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function($, undefined) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var dataSpace = "ui-effects-";
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects = {
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 mos to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect.js on lines 11..1289

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 9829.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var tabId = 0,
                                                                                                                                                                                                                                                                                                                                rhash = /#.*$/;
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 mo to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.tabs.js on lines 15..846

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 6698.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            // number of pages in a slider
                                                                                                                                                                                                                                                                                                                            // (how many times can you page up/down to go through the whole range)
                                                                                                                                                                                                                                                                                                                            var numPages = 5;
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 mo to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.slider.js on lines 16..672

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 6235.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var sizeRelatedOptions = {
                                                                                                                                                                                                                                                                                                                                    buttons: true,
                                                                                                                                                                                                                                                                                                                                    height: true,
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 mo to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.dialog.js on lines 20..808

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 6211.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.widget( "ui.menu", {
                                                                                                                                                                                                                                                                                                                                version: "1.10.3",
                                                                                                                                                                                                                                                                                                                                defaultElement: "<ul>",
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 mo to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.menu.js on lines 16..621

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 5148.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.ui = $.ui || {};
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var cachedScrollbarWidth,
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 mo to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.position.js on lines 11..497

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 4933.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var uid = 0,
                                                                                                                                                                                                                                                                                                                                hideProps = {},
                                                                                                                                                                                                                                                                                                                                showProps = {};
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 mo to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.accordion.js on lines 15..572

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 4608.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            // used to prevent race conditions with remote data sources
                                                                                                                                                                                                                                                                                                                            var requestIndex = 0;
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 wks to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.autocomplete.js on lines 17..610

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 4449.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var uuid = 0,
                                                                                                                                                                                                                                                                                                                                slice = Array.prototype.slice,
                                                                                                                                                                                                                                                                                                                                _cleanData = $.cleanData;
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 wks to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.widget.js on lines 11..521

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 4303.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $ ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            function modifier( fn ) {
                                                                                                                                                                                                                                                                                                                                return function() {
                                                                                                                                                                                                                                                                                                                                    var previous = this.element.val();
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 wks to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.spinner.js on lines 16..493

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 3886.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            function isOverAxis( x, reference, size ) {
                                                                                                                                                                                                                                                                                                                                return ( x > reference ) && ( x < ( reference + size ) );
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 wks to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.droppable.js on lines 17..372

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 3680.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var lastActive, startXPos, startYPos, clickDragged,
                                                                                                                                                                                                                                                                                                                                baseClasses = "ui-button ui-widget ui-state-default ui-corner-all",
                                                                                                                                                                                                                                                                                                                                stateClasses = "ui-state-hover ui-state-active ",
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 wks to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.button.js on lines 15..419

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 3560.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.puff = function( o, done ) {
                                                                                                                                                                                                                                                                                                                                var elem = $( this ),
                                                                                                                                                                                                                                                                                                                                    mode = $.effects.setMode( elem, o.mode || "hide" ),
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 wks to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-scale.js on lines 14..318

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 3113.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $ ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var increments = 0;
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            function addDescribedBy( elem, id ) {
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 wks to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.tooltip.js on lines 16..402

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 2974.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var uuid = 0,
                                                                                                                                                                                                                                                                                                                                runiqueId = /^ui-id-\d+$/;
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 wks to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.core.js on lines 11..320

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 2696.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.widget("ui.selectable", $.ui.mouse, {
                                                                                                                                                                                                                                                                                                                                version: "1.10.3",
                                                                                                                                                                                                                                                                                                                                options: {
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 wk to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.selectable.js on lines 16..277

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 2249.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var mouseHandled = false;
                                                                                                                                                                                                                                                                                                                            $( document ).mouseup( function() {
                                                                                                                                                                                                                                                                                                                                mouseHandled = false;
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 wk to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.mouse.js on lines 14..169

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 1350.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.widget( "ui.progressbar", {
                                                                                                                                                                                                                                                                                                                                version: "1.10.3",
                                                                                                                                                                                                                                                                                                                                options: {
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 5 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.progressbar.js on lines 15..145

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 971.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.bounce = function( o, done ) {
                                                                                                                                                                                                                                                                                                                                var el = $( this ),
                                                                                                                                                                                                                                                                                                                                    props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 4 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-bounce.js on lines 14..113

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 804.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.explode = function( o, done ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 4 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-explode.js on lines 14..97

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 714.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.shake = function( o, done ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                var el = $( this ),
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-shake.js on lines 14..74

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 610.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            var rvertical = /up|down|vertical/,
                                                                                                                                                                                                                                                                                                                                rpositivemotion = /up|left|vertical|horizontal/;
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-blind.js on lines 14..82

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 587.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.fold = function( o, done ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                // Create element
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 3 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-fold.js on lines 14..76

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 551.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.drop = function( o, done ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                var el = $( this ),
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-drop.js on lines 14..65

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 453.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.clip = function( o, done ) {
                                                                                                                                                                                                                                                                                                                                // Create element
                                                                                                                                                                                                                                                                                                                                var el = $( this ),
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-clip.js on lines 14..67

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 452.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.slide = function( o, done ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                // Create element
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-slide.js on lines 14..64

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 440.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.pulsate = function( o, done ) {
                                                                                                                                                                                                                                                                                                                                var elem = $( this ),
                                                                                                                                                                                                                                                                                                                                    mode = $.effects.setMode( elem, o.mode || "show" ),
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-pulsate.js on lines 14..63

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 411.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.transfer = function( o, done ) {
                                                                                                                                                                                                                                                                                                                                var elem = $( this ),
                                                                                                                                                                                                                                                                                                                                    target = $( o.to ),
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-transfer.js on lines 14..47

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 348.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.highlight = function( o, done ) {
                                                                                                                                                                                                                                                                                                                                var elem = $( this ),
                                                                                                                                                                                                                                                                                                                                    props = [ "backgroundImage", "backgroundColor", "opacity" ],
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-highlight.js on lines 14..50

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 265.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                                            (function( $, undefined ) {
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            $.effects.effect.fade = function( o, done ) {
                                                                                                                                                                                                                                                                                                                                var el = $( this ),
                                                                                                                                                                                                                                                                                                                                    mode = $.effects.setMode( el, o.mode || "toggle" );
                                                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                                                            Found in app/lib/jquery-ui-1.10.3/ui/jquery-ui.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                                                            app/lib/jquery-ui-1.10.3/ui/jquery.ui.effect-fade.js on lines 14..30

                                                                                                                                                                                                                                                                                                                            Duplicated Code

                                                                                                                                                                                                                                                                                                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                                            Tuning

                                                                                                                                                                                                                                                                                                                            This issue has a mass of 123.

                                                                                                                                                                                                                                                                                                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                                            Refactorings

                                                                                                                                                                                                                                                                                                                            Further Reading

                                                                                                                                                                                                                                                                                                                            There are no issues that match your filters.

                                                                                                                                                                                                                                                                                                                            Category
                                                                                                                                                                                                                                                                                                                            Status