BallStateCBER/datacenter-plugin-cakephp3

View on GitHub
webroot/js/jquery-1.7.1.js

Summary

Maintainability
F
3 mos
Test Coverage

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

/*!
 * jQuery JavaScript Library v1.7.1
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
Severity: Major
Found in webroot/js/jquery-1.7.1.js - About 2 wks to fix

    Function jQuery has 592 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    var jQuery = (function() {
    
    // Define a local copy of jQuery
    var jQuery = function( selector, context ) {
            // The jQuery object is actually just the init constructor 'enhanced'
    Severity: Major
    Found in webroot/js/jquery-1.7.1.js - About 2 days to fix

      Function ajax has 242 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          ajax: function( url, options ) {
      
              // If url is an object, simulate pre-1.5 signature
              if ( typeof url === "object" ) {
                  options = url;
      Severity: Major
      Found in webroot/js/jquery-1.7.1.js - About 1 day to fix

        Function support has 159 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        jQuery.support = (function() {
        
            var support,
                all,
                a,
        Severity: Major
        Found in webroot/js/jquery-1.7.1.js - About 6 hrs to fix

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

          jQuery.Callbacks = function( flags ) {
          
              // Convert flags from String-formatted to Object-formatted
              // (we check in cache first)
              flags = flags ? ( flagsCache[ flags ] || createFlags( flags ) ) : {};
          Severity: Major
          Found in webroot/js/jquery-1.7.1.js - About 5 hrs to fix

            Consider simplifying this complex logical expression.
            Open

                        if ( event.pageX == null && original.clientX != null ) {
                            eventDoc = event.target.ownerDocument || document;
                            doc = eventDoc.documentElement;
                            body = eventDoc.body;
            
            
            Severity: Critical
            Found in webroot/js/jquery-1.7.1.js - About 5 hrs to fix

              Function Sizzle has 108 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              var Sizzle = function( selector, context, results, seed ) {
                  results = results || [];
                  context = context || document;
              
                  var origContext = context;
              Severity: Major
              Found in webroot/js/jquery-1.7.1.js - About 4 hrs to fix

                Function trigger has 94 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    trigger: function( event, data, elem, onlyHandlers ) {
                        // Don't do events on text and comment nodes
                        if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) {
                            return;
                        }
                Severity: Major
                Found in webroot/js/jquery-1.7.1.js - About 3 hrs to fix

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

                                  send: function( headers, complete ) {
                  
                                      // Get a new xhr
                                      var xhr = s.xhr(),
                                          handle,
                  Severity: Major
                  Found in webroot/js/jquery-1.7.1.js - About 3 hrs to fix

                    Function clean has 83 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        clean: function( elems, context, fragment, scripts ) {
                            var checkScriptType;
                    
                            context = context || document;
                    
                    
                    Severity: Major
                    Found in webroot/js/jquery-1.7.1.js - About 3 hrs to fix

                      Function animate has 83 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          animate: function( prop, speed, easing, callback ) {
                              var optall = jQuery.speed( speed, easing, callback );
                      
                              if ( jQuery.isEmptyObject( prop ) ) {
                                  return this.each( optall.complete, [ false ] );
                      Severity: Major
                      Found in webroot/js/jquery-1.7.1.js - About 3 hrs to fix

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

                            Deferred: function( func ) {
                                var doneList = jQuery.Callbacks( "once memory" ),
                                    failList = jQuery.Callbacks( "once memory" ),
                                    progressList = jQuery.Callbacks( "memory" ),
                                    state = "pending",
                        Severity: Major
                        Found in webroot/js/jquery-1.7.1.js - About 3 hrs to fix

                          Consider simplifying this complex logical expression.
                          Open

                          if ( "getBoundingClientRect" in document.documentElement ) {
                              jQuery.fn.offset = function( options ) {
                                  var elem = this[0], box;
                          
                                  if ( options ) {
                          Severity: Critical
                          Found in webroot/js/jquery-1.7.1.js - About 3 hrs to fix

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

                                    function doAnimation() {
                                        // XXX 'this' does not always have a nodeName when running the
                                        // test suite
                            
                                        if ( optall.queue === false ) {
                            Severity: Major
                            Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

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

                                  add: function( elem, types, handler, data, selector ) {
                              
                                      var elemData, eventHandle, events,
                                          t, tns, type, namespaces, handleObj,
                                          handleObjIn, quick, handlers, special;
                              Severity: Major
                              Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

                                Function filter has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                Sizzle.filter = function( expr, set, inplace, not ) {
                                    var match, anyFound,
                                        type, found, item, filter, left,
                                        i, pass,
                                        old = expr,
                                Severity: Major
                                Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

                                  Function done has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          function done( status, nativeStatusText, responses, headers ) {
                                  
                                              // Called once
                                              if ( state === 2 ) {
                                                  return;
                                  Severity: Major
                                  Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

                                    Function init has 65 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        init: function( selector, context, rootjQuery ) {
                                            var match, elem, ret, doc;
                                    
                                            // Handle $(""), $(null), or $(undefined)
                                            if ( !selector ) {
                                    Severity: Major
                                    Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

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

                                      function ajaxConvert( s, response ) {
                                      
                                          // Apply the dataFilter if provided
                                          if ( s.dataFilter ) {
                                              response = s.dataFilter( response, s.dataType );
                                      Severity: Major
                                      Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

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

                                            dispatch: function( event ) {
                                        
                                                // Make a writable jQuery.Event from the native event object
                                                event = jQuery.event.fix( event || window.event );
                                        
                                        
                                        Severity: Major
                                        Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

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

                                              data: function( elem, name, data, pvt /* Internal Use Only */ ) {
                                                  if ( !jQuery.acceptData( elem ) ) {
                                                      return;
                                                  }
                                          
                                          
                                          Severity: Major
                                          Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

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

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

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

                                                  removeData: function( elem, name, pvt /* Internal Use Only */ ) {
                                                      if ( !jQuery.acceptData( elem ) ) {
                                                          return;
                                                      }
                                              
                                              
                                              Severity: Major
                                              Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

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

                                                    remove: function( elem, types, handler, selector, mappedTypes ) {
                                                
                                                        var elemData = jQuery.hasData( elem ) && jQuery._data( elem ),
                                                            t, tns, type, origType, namespaces, origCount,
                                                            j, events, special, handle, eventType, handleObj;
                                                Severity: Major
                                                Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

                                                  Consider simplifying this complex logical expression.
                                                  Open

                                                      if ( args.length === 1 && typeof first === "string" && first.length < 512 && doc === document &&
                                                          first.charAt(0) === "<" && !rnocache.test( first ) &&
                                                          (jQuery.support.checkClone || !rchecked.test( first )) &&
                                                          (jQuery.support.html5Clone || !rnoshimcache.test( first )) ) {
                                                  
                                                  
                                                  Severity: Critical
                                                  Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

                                                    Consider simplifying this complex logical expression.
                                                    Open

                                                                    if ( ( mappedTypes || origType === handleObj.origType ) &&
                                                                         ( !handler || handler.guid === handleObj.guid ) &&
                                                                         ( !namespaces || namespaces.test( handleObj.namespace ) ) &&
                                                                         ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
                                                                        eventType.splice( j--, 1 );
                                                    Severity: Critical
                                                    Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

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

                                                          step: function( gotoEnd ) {
                                                              var p, n, complete,
                                                                  t = fxNow || createFxNow(),
                                                                  done = true,
                                                                  elem = this.elem,
                                                      Severity: Minor
                                                      Found in webroot/js/jquery-1.7.1.js - About 2 hrs to fix

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

                                                                CHILD: function( elem, match ) {
                                                                    var first, last,
                                                                        doneName, parent, cache,
                                                                        count, diff,
                                                                        type = match[1],
                                                        Severity: Minor
                                                        Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                          function ajaxHandleResponses( s, jqXHR, responses ) {
                                                          
                                                              var contents = s.contents,
                                                                  dataTypes = s.dataTypes,
                                                                  responseFields = s.responseFields,
                                                          Severity: Minor
                                                          Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                domManip: function( args, table, callback ) {
                                                                    var results, first, fragment, parent,
                                                                        value = args[0],
                                                                        scripts = [];
                                                            
                                                            
                                                            Severity: Minor
                                                            Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                  stop: function( type, clearQueue, gotoEnd ) {
                                                                      if ( typeof type !== "string" ) {
                                                                          gotoEnd = clearQueue;
                                                                          clearQueue = type;
                                                                          type = undefined;
                                                              Severity: Minor
                                                              Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                    load: function( url, params, callback ) {
                                                                        if ( typeof url !== "string" && _load ) {
                                                                            return _load.apply( this, arguments );
                                                                
                                                                        // Don't do a request if no elements are being requested
                                                                Severity: Minor
                                                                Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                      data: function( key, value ) {
                                                                          var parts, attr, name,
                                                                              data = null;
                                                                  
                                                                          if ( typeof key === "undefined" ) {
                                                                  Severity: Minor
                                                                  Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                    jQuery.extend = jQuery.fn.extend = function() {
                                                                        var options, name, src, copy, copyIsArray, clone,
                                                                            target = arguments[0] || {},
                                                                            i = 1,
                                                                            length = arguments.length,
                                                                    Severity: Minor
                                                                    Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                          val: function( value ) {
                                                                              var hooks, ret, isFunction,
                                                                                  elem = this[0];
                                                                      
                                                                              if ( !arguments.length ) {
                                                                      Severity: Minor
                                                                      Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                            on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                                                                var origFn, type;
                                                                        
                                                                                // Types can be a map of types/handlers
                                                                                if ( typeof types === "object" ) {
                                                                        Severity: Minor
                                                                        Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                              when: function( firstParam ) {
                                                                                  var args = sliceDeferred.call( arguments, 0 ),
                                                                                      i = 0,
                                                                                      length = args.length,
                                                                                      pValues = new Array( length ),
                                                                          Severity: Minor
                                                                          Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                            function getWH( elem, name, extra ) {
                                                                            
                                                                                // Start with offset property
                                                                                var val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
                                                                                    which = name === "width" ? cssWidth : cssHeight,
                                                                            Severity: Minor
                                                                            Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                  attr: function( elem, name, value, pass ) {
                                                                                      var ret, hooks, notxml,
                                                                                          nType = elem.nodeType;
                                                                              
                                                                                      // don't get/set attributes on text, comment and attribute nodes
                                                                              Severity: Minor
                                                                              Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

                                                                                Consider simplifying this complex logical expression.
                                                                                Open

                                                                                            if ( match[1] === "nth" ) {
                                                                                                if ( !match[2] ) {
                                                                                                    Sizzle.error( match[0] );
                                                                                                }
                                                                                
                                                                                
                                                                                Severity: Critical
                                                                                Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

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

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

                                                                                        closest: function( selectors, context ) {
                                                                                            var ret = [], i, l, cur = this[0];
                                                                                            
                                                                                            // Array (deprecated as of jQuery 1.7)
                                                                                            if ( jQuery.isArray( selectors ) ) {
                                                                                    Severity: Minor
                                                                                    Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                              ATTR: function( elem, match ) {
                                                                                                  var name = match[1],
                                                                                                      result = Sizzle.attr ?
                                                                                                          Sizzle.attr( elem, name ) :
                                                                                                          Expr.attrHandle[ name ] ?
                                                                                      Severity: Minor
                                                                                      Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

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

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

                                                                                              cleanData: function( elems ) {
                                                                                                  var data, id,
                                                                                                      cache = jQuery.cache,
                                                                                                      special = jQuery.event.special,
                                                                                                      deleteExpando = jQuery.support.deleteExpando;
                                                                                          Severity: Minor
                                                                                          Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

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

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

                                                                                                  clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                                                                                      var srcElements,
                                                                                                          destElements,
                                                                                                          i,
                                                                                                          // IE<=8 does not properly clone detached, unknown element nodes
                                                                                              Severity: Minor
                                                                                              Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                    promise: function( type, object ) {
                                                                                                        if ( typeof type !== "string" ) {
                                                                                                            object = type;
                                                                                                            type = undefined;
                                                                                                        }
                                                                                                Severity: Minor
                                                                                                Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                      style: function( elem, name, value, extra ) {
                                                                                                          // Don't set styles on text and comment nodes
                                                                                                          if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                                                                                                              return;
                                                                                                          }
                                                                                                  Severity: Minor
                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

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

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

                                                                                                          find: function( selector ) {
                                                                                                              var self = this,
                                                                                                                  i, l;
                                                                                                      
                                                                                                              if ( typeof selector !== "string" ) {
                                                                                                      Severity: Minor
                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                            jQuery.fn[ type ] = function( size ) {
                                                                                                                // Get window width or height
                                                                                                                var elem = this[0];
                                                                                                                if ( !elem ) {
                                                                                                                    return size == null ? null : this;
                                                                                                        Severity: Minor
                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                              html: function( value ) {
                                                                                                                  if ( value === undefined ) {
                                                                                                                      return this[0] && this[0].nodeType === 1 ?
                                                                                                                          this[0].innerHTML.replace(rinlinejQuery, "") :
                                                                                                                          null;
                                                                                                          Severity: Minor
                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                                show: function( speed, easing, callback ) {
                                                                                                                    var elem, display;
                                                                                                            
                                                                                                                    if ( speed || speed === 0 ) {
                                                                                                                        return this.animate( genFx("show", 3), speed, easing, callback );
                                                                                                            Severity: Minor
                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                                  addClass: function( value ) {
                                                                                                                      var classNames, i, l, elem,
                                                                                                                          setClass, c, cl;
                                                                                                              
                                                                                                                      if ( jQuery.isFunction( value ) ) {
                                                                                                              Severity: Minor
                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                                        setup: function() {
                                                                                                                
                                                                                                                            if ( rformElems.test( this.nodeName ) ) {
                                                                                                                                // IE doesn't fire change on a check/radio until blur; trigger it on click
                                                                                                                                // after a propertychange. Eat the blur-change in special.change.handle.
                                                                                                                Severity: Minor
                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                                  jQuery.buildFragment = function( args, nodes, scripts ) {
                                                                                                                      var fragment, cacheable, cacheresults, doc,
                                                                                                                      first = args[ 0 ];
                                                                                                                  
                                                                                                                      // nodes may contain either an explicit document object,
                                                                                                                  Severity: Minor
                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                                            ">": function( checkSet, part ) {
                                                                                                                                var elem,
                                                                                                                                    isPartStr = typeof part === "string",
                                                                                                                                    i = 0,
                                                                                                                                    l = checkSet.length;
                                                                                                                    Severity: Minor
                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

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

                                                                                                                      function cloneFixAttributes( src, dest ) {
                                                                                                                          var nodeName;
                                                                                                                      
                                                                                                                          // We do not need to do anything for non-Elements
                                                                                                                          if ( dest.nodeType !== 1 ) {
                                                                                                                      Severity: Minor
                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

                                                                                                                        Consider simplifying this complex logical expression.
                                                                                                                        Open

                                                                                                                                        if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) {
                                                                                                                        
                                                                                                                                            event.data = handleObj.data;
                                                                                                                                            event.handleObj = handleObj;
                                                                                                                        
                                                                                                                        
                                                                                                                        Severity: Major
                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

                                                                                                                          Consider simplifying this complex logical expression.
                                                                                                                          Open

                                                                                                                          if ( jQuery.expr && jQuery.expr.filters ) {
                                                                                                                              jQuery.expr.filters.hidden = function( elem ) {
                                                                                                                                  var width = elem.offsetWidth,
                                                                                                                                      height = elem.offsetHeight;
                                                                                                                          
                                                                                                                          
                                                                                                                          Severity: Major
                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

                                                                                                                            Consider simplifying this complex logical expression.
                                                                                                                            Open

                                                                                                                                    if ( (!id || !cache[id] || (!isEvents && !pvt && !cache[id].data)) && getByName && data === undefined ) {
                                                                                                                                        return;
                                                                                                                                    }
                                                                                                                            Severity: Major
                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 1 hr to fix

                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                              Open

                                                                                                                                                  if ( !match ) {
                                                                                                                                                      anyFound = found = true;
                                                                                                                              
                                                                                                                                                  } else if ( match === true ) {
                                                                                                                                                      continue;
                                                                                                                              Severity: Major
                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                Open

                                                                                                                                                            if ( !xhrCallbacks ) {
                                                                                                                                                                xhrCallbacks = {};
                                                                                                                                                                jQuery( window ).unload( xhrOnUnloadAbort );
                                                                                                                                                            }
                                                                                                                                Severity: Major
                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                  Open

                                                                                                                                                          if ( ret === false ) {
                                                                                                                                                              event.preventDefault();
                                                                                                                                                              event.stopPropagation();
                                                                                                                                                          }
                                                                                                                                  Severity: Major
                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                    Open

                                                                                                                                                            if ( elem && elem.parentNode ) {
                                                                                                                                                                // Handle the case where IE and Opera return items
                                                                                                                                                                // by name instead of ID
                                                                                                                                                                if ( elem.id === match[3] ) {
                                                                                                                                                                    return makeArray( [ elem ], extra );
                                                                                                                                    Severity: Major
                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                      Function inspectPrefiltersOrTransports has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                      Open

                                                                                                                                      function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR,
                                                                                                                                              dataType /* internal */, inspected /* internal */ ) {
                                                                                                                                      Severity: Minor
                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                        Open

                                                                                                                                                                for ( j = tbody.length - 1; j >= 0 ; --j ) {
                                                                                                                                                                    if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) {
                                                                                                                                                                        tbody[ j ].parentNode.removeChild( tbody[ j ] );
                                                                                                                                                                    }
                                                                                                                                                                }
                                                                                                                                        Severity: Major
                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                          Function dirCheck has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                          Open

                                                                                                                                          function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
                                                                                                                                          Severity: Minor
                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                            Open

                                                                                                                                                                    if ( jQuery.isPlainObject( context ) ) {
                                                                                                                                                                        selector = [ document.createElement( ret[1] ) ];
                                                                                                                                                                        jQuery.fn.attr.call( selector, context, true );
                                                                                                                                            
                                                                                                                                                                    } else {
                                                                                                                                            Severity: Major
                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                              Open

                                                                                                                                                                      if ( !relativeHierarchySelector || hasParent ) {
                                                                                                                                                                          return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
                                                                                                                                                                      }
                                                                                                                                              Severity: Major
                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                Open

                                                                                                                                                                        if ( name.indexOf( "data-" ) === 0 ) {
                                                                                                                                                                            name = jQuery.camelCase( name.substring(5) );
                                                                                                                                                
                                                                                                                                                                            dataAttr( this[0], name, data[ name ] );
                                                                                                                                                                        }
                                                                                                                                                Severity: Major
                                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                  Open

                                                                                                                                                                      if ( !isXML ) {
                                                                                                                                                                          elem[ expando ] = doneName;
                                                                                                                                                                          elem.sizset = i;
                                                                                                                                                                      }
                                                                                                                                                  Severity: Major
                                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                    Open

                                                                                                                                                                            if ( special[ type ] ) {
                                                                                                                                                                                jQuery.event.remove( elem, type );
                                                                                                                                                    
                                                                                                                                                                            // This is a shortcut to avoid jQuery.event.remove's overhead
                                                                                                                                                                            } else {
                                                                                                                                                    Severity: Major
                                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                      Open

                                                                                                                                                                                          if ( xml && xml.documentElement /* #4958 */ ) {
                                                                                                                                                                                              responses.xml = xml;
                                                                                                                                                                                          }
                                                                                                                                                      Severity: Major
                                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                        Open

                                                                                                                                                                                            if ( !status && s.isLocal && !s.crossDomain ) {
                                                                                                                                                                                                status = responses.text ? 200 : 404;
                                                                                                                                                                                            // IE - #1450: sometimes returns 1223 when it should be 204
                                                                                                                                                                                            } else if ( status === 1223 ) {
                                                                                                                                                                                                status = 204;
                                                                                                                                                        Severity: Major
                                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                          Function dirNodeCheck has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                          Open

                                                                                                                                                          function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                            Open

                                                                                                                                                                                                if ( xhrOnUnloadAbort ) {
                                                                                                                                                                                                    delete xhrCallbacks[ handle ];
                                                                                                                                                                                                }
                                                                                                                                                            Severity: Major
                                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                                              Open

                                                                                                                                                                                      for ( c = 0, cl = classNames.length; c < cl; c++ ) {
                                                                                                                                                                                          if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) {
                                                                                                                                                                                              setClass += classNames[ c ] + " ";
                                                                                                                                                                                          }
                                                                                                                                                                                      }
                                                                                                                                                              Severity: Major
                                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                Open

                                                                                                                                                                                        for ( c = 0, cl = classNames.length; c < cl; c++ ) {
                                                                                                                                                                                            className = className.replace(" " + classNames[ c ] + " ", " ");
                                                                                                                                                                                        }
                                                                                                                                                                Severity: Major
                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                  Open

                                                                                                                                                                                      if ( typeof cur !== "string" ) {
                                                                                                                                                                                          if ( elem === cur ) {
                                                                                                                                                                                              match = true;
                                                                                                                                                                                              break;
                                                                                                                                                                                          }
                                                                                                                                                                  Severity: Major
                                                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                    Open

                                                                                                                                                                                        if ( copyIsArray ) {
                                                                                                                                                                                            copyIsArray = false;
                                                                                                                                                                                            clone = src && jQuery.isArray(src) ? src : [];
                                                                                                                                                                    
                                                                                                                                                                                        } else {
                                                                                                                                                                    Severity: Major
                                                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                      Open

                                                                                                                                                                                              if ( name in thisCache ) {
                                                                                                                                                                                                  name = [ name ];
                                                                                                                                                                                              } else {
                                                                                                                                                                                                  name = name.split( " " );
                                                                                                                                                                                              }
                                                                                                                                                                      Severity: Major
                                                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                        Open

                                                                                                                                                                                                if ( ret[r] === ret[n] ) {
                                                                                                                                                                                                    ret.splice(n--, 1);
                                                                                                                                                                                                    break;
                                                                                                                                                                                                }
                                                                                                                                                                        Severity: Major
                                                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                          Open

                                                                                                                                                                                          } else if ( copy !== undefined ) {
                                                                                                                                                                                              target[ name ] = copy;
                                                                                                                                                                                          }
                                                                                                                                                                          Severity: Major
                                                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                            Open

                                                                                                                                                                                                if ( tmp[ 0 ] === prev || tmp[ 0 ] === "*" ) {
                                                                                                                                                                                                    conv2 = converters[ tmp[1] + " " + current ];
                                                                                                                                                                                                    if ( conv2 ) {
                                                                                                                                                                                                        conv1 = converters[ conv1 ];
                                                                                                                                                                                                        if ( conv1 === true ) {
                                                                                                                                                                            Severity: Major
                                                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                              Function access has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                              Open

                                                                                                                                                                                  access: function( elems, key, value, exec, fn, pass ) {
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                Function ATTR has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                Open

                                                                                                                                                                                        ATTR: function( match, curLoop, inplace, result, not, isXML ) {
                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                  Open

                                                                                                                                                                                                          if ( elem.id !== match[2] ) {
                                                                                                                                                                                                              return rootjQuery.find( selector );
                                                                                                                                                                                                          }
                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                    Open

                                                                                                                                                                                                        if ( !old ) {
                                                                                                                                                                                                            context.setAttribute( "id", nid );
                                                                                                                                                                                                        } else {
                                                                                                                                                                                                            nid = nid.replace( /'/g, "\\$&" );
                                                                                                                                                                                                        }
                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                      Open

                                                                                                                                                                                                          if ( relativeHierarchySelector && hasParent ) {
                                                                                                                                                                                                              context = context.parentNode;
                                                                                                                                                                                                          }
                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                        Open

                                                                                                                                                                                                                            if ( xhr.readyState !== 4 ) {
                                                                                                                                                                                                                                xhr.abort();
                                                                                                                                                                                                                            }
                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                          Function CLASS has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                          Open

                                                                                                                                                                                                  CLASS: function( match, curLoop, inplace, result, not, isXML ) {
                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                                            Open

                                                                                                                                                                                                                if ( !anyFound ) {
                                                                                                                                                                                                                    return [];
                                                                                                                                                                                                                }
                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                                                                              Open

                                                                                                                                                                                                                      if ( !old ) {
                                                                                                                                                                                                                          oldContext.removeAttribute( "id" );
                                                                                                                                                                                                                      }
                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                                Open

                                                                                                                                                                                                                                if ( firing ) {
                                                                                                                                                                                                                                    if ( i <= firingLength ) {
                                                                                                                                                                                                                                        firingLength--;
                                                                                                                                                                                                                                        if ( i <= firingIndex ) {
                                                                                                                                                                                                                                            firingIndex--;
                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                                  Open

                                                                                                                                                                                                                      for ( i = 0; (item = curLoop[i]) != null; i++ ) {
                                                                                                                                                                                                                          if ( item ) {
                                                                                                                                                                                                                              found = filter( item, match, i, curLoop );
                                                                                                                                                                                                                              pass = not ^ found;
                                                                                                                                                                                                  
                                                                                                                                                                                                  
                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                                    Open

                                                                                                                                                                                                                        if ( !inplace ) {
                                                                                                                                                                                                                            curLoop = result;
                                                                                                                                                                                                                        }
                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                      if ( flags.unique ) {
                                                                                                                                                                                                                                          break;
                                                                                                                                                                                                                                      }
                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 45 mins to fix

                                                                                                                                                                                                        Consider simplifying this complex logical expression.
                                                                                                                                                                                                        Open

                                                                                                                                                                                                        if ( !jQuery.support.opacity ) {
                                                                                                                                                                                                            jQuery.cssHooks.opacity = {
                                                                                                                                                                                                                get: function( elem, computed ) {
                                                                                                                                                                                                                    // IE uses filters for opacity
                                                                                                                                                                                                                    return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 40 mins to fix

                                                                                                                                                                                                          Consider simplifying this complex logical expression.
                                                                                                                                                                                                          Open

                                                                                                                                                                                                                  } else if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
                                                                                                                                                                                                                      (jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) &&
                                                                                                                                                                                                                      !wrapMap[ (rtagName.exec( value ) || ["", ""])[1].toLowerCase() ] ) {
                                                                                                                                                                                                          
                                                                                                                                                                                                                      value = value.replace(rxhtmlTag, "<$1></$2>");
                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 40 mins to fix

                                                                                                                                                                                                            Consider simplifying this complex logical expression.
                                                                                                                                                                                                            Open

                                                                                                                                                                                                                    if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
                                                                                                                                                                                                                            Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
                                                                                                                                                                                                            
                                                                                                                                                                                                                        ret = Sizzle.find( parts.shift(), context, contextXML );
                                                                                                                                                                                                                        context = ret.expr ?
                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 40 mins to fix

                                                                                                                                                                                                              Consider simplifying this complex logical expression.
                                                                                                                                                                                                              Open

                                                                                                                                                                                                                      if ( s.crossDomain == null ) {
                                                                                                                                                                                                                          parts = rurl.exec( s.url.toLowerCase() );
                                                                                                                                                                                                                          s.crossDomain = !!( parts &&
                                                                                                                                                                                                                              ( parts[ 1 ] != ajaxLocParts[ 1 ] || parts[ 2 ] != ajaxLocParts[ 2 ] ||
                                                                                                                                                                                                                                  ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) !=
                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 40 mins to fix

                                                                                                                                                                                                                Consider simplifying this complex logical expression.
                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) {
                                                                                                                                                                                                                
                                                                                                                                                                                                                                    // Don't re-trigger an onFOO event when we call its FOO() method
                                                                                                                                                                                                                                    old = elem[ ontype ];
                                                                                                                                                                                                                
                                                                                                                                                                                                                
                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 40 mins to fix

                                                                                                                                                                                                                  Consider simplifying this complex logical expression.
                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                          if ( delegateCount && !event.target.disabled && !(event.button && event.type === "click") ) {
                                                                                                                                                                                                                  
                                                                                                                                                                                                                              // Pregenerate a single jQuery object for reuse with .is()
                                                                                                                                                                                                                              jqcur = jQuery(this);
                                                                                                                                                                                                                              jqcur.context = this.ownerDocument || this;
                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 40 mins to fix

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

                                                                                                                                                                                                                        on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 35 mins to fix

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

                                                                                                                                                                                                                          add: function( elem, types, handler, data, selector ) {
                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 35 mins to fix

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

                                                                                                                                                                                                                            remove: function( elem, types, handler, selector, mappedTypes ) {
                                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 35 mins to fix

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

                                                                                                                                                                                                                                  PSEUDO: function( match, curLoop, inplace, result, not ) {
                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 35 mins to fix

                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                        return ret === null ?
                                                                                                                                                                                                                                            undefined :
                                                                                                                                                                                                                                            ret;
                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                          return 1;
                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                            return jQuery.isNumeric( ret ) ? ret : orig;
                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                      return this;
                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                      return value;
                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                    return makeArray( [], extra );
                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                  return { top: top, left: left };
                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                    return jQuery.makeArray( selector, this );
                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                              return siblingCheck( ap[i], bp[i] );
                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                return ( context || rootjQuery ).find( selector );
                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                              return ret;
                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                    return elem[ name ];
                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                  return this.css( type, typeof size === "string" ? size : size + "px" );
                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                    return rootjQuery.ready( selector );
                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                  return true;
                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                    return i === al ?
                                                                                                                                                                                                                                                                        siblingCheck( a, bp[i], -1 ) :
                                                                                                                                                                                                                                                                        siblingCheck( ap[i], b, 1 );
                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                              return ret;
                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                        return makeArray( context.querySelectorAll(query), extra );
                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                              return oldSizzle(query, context, extra, seed);
                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                  Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                return rootjQuery.find( selector );
                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                    Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                  return;
                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                      Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                        return this.constructor( context ).find( selector );
                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                        Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                  return event.result;
                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                          Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                    return diff === 0;
                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                            Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                      return ( diff % first === 0 && diff / first >= 0 );
                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                              Found in webroot/js/jquery-1.7.1.js - About 30 mins to fix

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

                                                                                                                                                                                                                                                                                jQuery.extend = jQuery.fn.extend = function() {
                                                                                                                                                                                                                                                                                    var options, name, src, copy, copyIsArray, clone,
                                                                                                                                                                                                                                                                                        target = arguments[0] || {},
                                                                                                                                                                                                                                                                                        i = 1,
                                                                                                                                                                                                                                                                                        length = arguments.length,
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 314..376

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    setOffset: function( elem, options, i ) {
                                                                                                                                                                                                                                                                                        var position = jQuery.css( elem, "position" );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        // set position first, in-case top/left are set even on static elem
                                                                                                                                                                                                                                                                                        if ( position === "static" ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 9585..9626

                                                                                                                                                                                                                                                                                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 406.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    mouseHooks: {
                                                                                                                                                                                                                                                                                        props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
                                                                                                                                                                                                                                                                                        filter: function( event, original ) {
                                                                                                                                                                                                                                                                                            var eventDoc, doc, body,
                                                                                                                                                                                                                                                                                                button = original.button,
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 days to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5228..5258

                                                                                                                                                                                                                                                                                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 395.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                jQuery.Event = function( src, props ) {
                                                                                                                                                                                                                                                                                    // Allow instantiation without the 'new' keyword
                                                                                                                                                                                                                                                                                    if ( !(this instanceof jQuery.Event) ) {
                                                                                                                                                                                                                                                                                        return new jQuery.Event( src, props );
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5361..5392

                                                                                                                                                                                                                                                                                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 244.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    wrapAll: function( html ) {
                                                                                                                                                                                                                                                                                        if ( jQuery.isFunction( html ) ) {
                                                                                                                                                                                                                                                                                            return this.each(function(i) {
                                                                                                                                                                                                                                                                                                jQuery(this).wrapAll( html.call(this, i) );
                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6729..6756

                                                                                                                                                                                                                                                                                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 221.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    if ( document.getElementById( id ) ) {
                                                                                                                                                                                                                                                                                        Expr.find.ID = function( match, context, isXML ) {
                                                                                                                                                                                                                                                                                            if ( typeof context.getElementById !== "undefined" && !isXML ) {
                                                                                                                                                                                                                                                                                                var m = context.getElementById(match[1]);
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4209..4221

                                                                                                                                                                                                                                                                                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 215.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    setFilters: {
                                                                                                                                                                                                                                                                                        first: function( elem, i ) {
                                                                                                                                                                                                                                                                                            return i === 0;
                                                                                                                                                                                                                                                                                        },
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3977..4002

                                                                                                                                                                                                                                                                                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 212.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                !type && Sizzle.attr ?
                                                                                                                                                                                                                                                                                                result != null :
                                                                                                                                                                                                                                                                                                type === "=" ?
                                                                                                                                                                                                                                                                                                value === check :
                                                                                                                                                                                                                                                                                                type === "*=" ?
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4087..4105

                                                                                                                                                                                                                                                                                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 197.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                if ( !jQuery.support.focusinBubbles ) {
                                                                                                                                                                                                                                                                                    jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        // Attach a single capturing handler while someone wants focusin/focusout
                                                                                                                                                                                                                                                                                        var attaches = 0,
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 day to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5575..5597

                                                                                                                                                                                                                                                                                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 195.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( !transport ) {
                                                                                                                                                                                                                                                                                            done( -1, "No Transport" );
                                                                                                                                                                                                                                                                                        } else {
                                                                                                                                                                                                                                                                                            jqXHR.readyState = 1;
                                                                                                                                                                                                                                                                                            // Send global event
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 6 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8118..8146

                                                                                                                                                                                                                                                                                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 165.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    if ( div.getElementsByTagName("*").length > 0 ) {
                                                                                                                                                                                                                                                                                        Expr.find.TAG = function( match, context ) {
                                                                                                                                                                                                                                                                                            var results = context.getElementsByTagName( match[1] );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            // Filter out possible comments
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 6 hrs to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4235..4254

                                                                                                                                                                                                                                                                                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 162.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            while ( elem ) {
                                                                                                                                                                                                                                                                                                if ( elem[ expando ] === doneName ) {
                                                                                                                                                                                                                                                                                                    match = checkSet[elem.sizset];
                                                                                                                                                                                                                                                                                                    break;
                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 6 hrs to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4365..4389

                                                                                                                                                                                                                                                                                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 162.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    wrapInner: function( html ) {
                                                                                                                                                                                                                                                                                        if ( jQuery.isFunction( html ) ) {
                                                                                                                                                                                                                                                                                            return this.each(function(i) {
                                                                                                                                                                                                                                                                                                jQuery(this).wrapInner( html.call(this, i) );
                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 5 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6758..6776

                                                                                                                                                                                                                                                                                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 143.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    inArray: function( elem, array, i ) {
                                                                                                                                                                                                                                                                                        var len;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        if ( array ) {
                                                                                                                                                                                                                                                                                            if ( indexOf ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 5 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 710..730

                                                                                                                                                                                                                                                                                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 140.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        NAME: function( match, context ) {
                                                                                                                                                                                                                                                                                            if ( typeof context.getElementsByName !== "undefined" ) {
                                                                                                                                                                                                                                                                                                var ret = [],
                                                                                                                                                                                                                                                                                                    results = context.getElementsByName( match[1] );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 5 hrs to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3820..3832

                                                                                                                                                                                                                                                                                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 137.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    queue: function( elem, type, data ) {
                                                                                                                                                                                                                                                                                        var q;
                                                                                                                                                                                                                                                                                        if ( elem ) {
                                                                                                                                                                                                                                                                                            type = ( type || "fx" ) + "queue";
                                                                                                                                                                                                                                                                                            q = jQuery._data( elem, type );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 5 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 3902..3919

                                                                                                                                                                                                                                                                                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 136.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    simulate: function( type, elem, event, bubble ) {
                                                                                                                                                                                                                                                                                        // Piggyback on a donor event to simulate a different one.
                                                                                                                                                                                                                                                                                        // Fake originalEvent to avoid donor's stopPropagation, but if the
                                                                                                                                                                                                                                                                                        // simulated event prevents default then we do the same on the donor.
                                                                                                                                                                                                                                                                                        var e = jQuery.extend(
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5316..5337

                                                                                                                                                                                                                                                                                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 131.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                if ( match[1] ) {
                                                                                                                                                                                                                                                                                                    context = context instanceof jQuery ? context[0] : context;
                                                                                                                                                                                                                                                                                                    doc = ( context ? context.ownerDocument || context : document );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                    // If a single string is passed in and it's a single tag
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 146..193

                                                                                                                                                                                                                                                                                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 128.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    dir: function( elem, dir, until ) {
                                                                                                                                                                                                                                                                                        var matched = [],
                                                                                                                                                                                                                                                                                            cur = elem[ dir ];
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5929..5940

                                                                                                                                                                                                                                                                                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 127.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        if ( isArray ) {
                                                                                                                                                                                                                                                                                            for ( ; i < length; i++ ) {
                                                                                                                                                                                                                                                                                                value = callback( elems[ i ], i, arg );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                if ( value != null ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 780..798

                                                                                                                                                                                                                                                                                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 127.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            if ( !handlers ) {
                                                                                                                                                                                                                                                                                                handlers = events[ type ] = [];
                                                                                                                                                                                                                                                                                                handlers.delegateCount = 0;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                // Only use addEventListener/attachEvent if the special events handler returns false
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4808..4822

                                                                                                                                                                                                                                                                                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 125.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    if ( dataTypes[ 0 ] in responses ) {
                                                                                                                                                                                                                                                                                        finalDataType = dataTypes[ 0 ];
                                                                                                                                                                                                                                                                                    } else {
                                                                                                                                                                                                                                                                                        // Try convertible dataTypes
                                                                                                                                                                                                                                                                                        for ( type in responses ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8320..8335

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                jQuery.each( [ "get", "post" ], function( i, method ) {
                                                                                                                                                                                                                                                                                    jQuery[ method ] = function( url, data, callback, type ) {
                                                                                                                                                                                                                                                                                        // shift arguments if data argument was omitted
                                                                                                                                                                                                                                                                                        if ( jQuery.isFunction( data ) ) {
                                                                                                                                                                                                                                                                                            type = type || callback;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8273..8290

                                                                                                                                                                                                                                                                                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 120.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    delay: function( time, type ) {
                                                                                                                                                                                                                                                                                        time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
                                                                                                                                                                                                                                                                                        type = type || "fx";
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        return this.queue( type, function( next, hooks ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4002..4012

                                                                                                                                                                                                                                                                                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 113.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( data == null && fn == null ) {
                                                                                                                                                                                                                                                                                            // ( types, fn )
                                                                                                                                                                                                                                                                                            fn = selector;
                                                                                                                                                                                                                                                                                            data = selector = undefined;
                                                                                                                                                                                                                                                                                        } else if ( fn == null ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5618..5633

                                                                                                                                                                                                                                                                                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 107.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        jqXHR.setRequestHeader(
                                                                                                                                                                                                                                                                                            "Accept",
                                                                                                                                                                                                                                                                                            s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?
                                                                                                                                                                                                                                                                                                s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
                                                                                                                                                                                                                                                                                                s.accepts[ "*" ]
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8088..8093

                                                                                                                                                                                                                                                                                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 104.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
                                                                                                                                                                                                                                                                                            complete: fn || !fn && easing ||
                                                                                                                                                                                                                                                                                                jQuery.isFunction( speed ) && speed,
                                                                                                                                                                                                                                                                                            duration: speed,
                                                                                                                                                                                                                                                                                            easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 9447..9452

                                                                                                                                                                                                                                                                                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 101.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        try {
                                                                                                                                                                                                                                                                                            if ( window.DOMParser ) { // Standard
                                                                                                                                                                                                                                                                                                tmp = new DOMParser();
                                                                                                                                                                                                                                                                                                xml = tmp.parseFromString( data , "text/xml" );
                                                                                                                                                                                                                                                                                            } else { // IE
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 583..594

                                                                                                                                                                                                                                                                                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 99.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
                                                                                                                                                                                                                                                                                            opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 9454..9455

                                                                                                                                                                                                                                                                                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 97.

                                                                                                                                                                                                                                                                                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( checkSet, part, isXML ) {
                                                                                                                                                                                                                                                                                            var nodeCheck,
                                                                                                                                                                                                                                                                                                doneName = done++,
                                                                                                                                                                                                                                                                                                checkFn = dirCheck;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/js/jquery-1.7.1.js on lines 4311..4323

                                                                                                                                                                                                                                                                                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 97.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        handle: function( event ) {
                                                                                                                                                                                                                                                                                            var elem = event.target;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            // Swallow native change events from checkbox/radio, we already triggered them above
                                                                                                                                                                                                                                                                                            if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5557..5564

                                                                                                                                                                                                                                                                                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 97.

                                                                                                                                                                                                                                                                                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(checkSet, part, isXML){
                                                                                                                                                                                                                                                                                            var nodeCheck,
                                                                                                                                                                                                                                                                                                doneName = done++,
                                                                                                                                                                                                                                                                                                checkFn = dirCheck;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/js/jquery-1.7.1.js on lines 4325..4337

                                                                                                                                                                                                                                                                                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 97.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            ret = seed ?
                                                                                                                                                                                                                                                                                                { expr: parts.pop(), set: makeArray(seed) } :
                                                                                                                                                                                                                                                                                                Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3527..3529

                                                                                                                                                                                                                                                                                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 96.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        if ( one === 1 ) {
                                                                                                                                                                                                                                                                                            origFn = fn;
                                                                                                                                                                                                                                                                                            fn = function( event ) {
                                                                                                                                                                                                                                                                                                // Can use an empty set, since event contains the info
                                                                                                                                                                                                                                                                                                jQuery().off( event );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5640..5649

                                                                                                                                                                                                                                                                                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 96.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            if ( val == null ) {
                                                                                                                                                                                                                                                                                                val = "";
                                                                                                                                                                                                                                                                                            } else if ( typeof val === "number" ) {
                                                                                                                                                                                                                                                                                                val += "";
                                                                                                                                                                                                                                                                                            } else if ( jQuery.isArray( val ) ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4258..4266

                                                                                                                                                                                                                                                                                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 96.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( typeof name === "object" || typeof name === "function" ) {
                                                                                                                                                                                                                                                                                            if ( pvt ) {
                                                                                                                                                                                                                                                                                                cache[ id ] = jQuery.extend( cache[ id ], name );
                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                cache[ id ].data = jQuery.extend( cache[ id ].data, name );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 3612..3618

                                                                                                                                                                                                                                                                                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 93.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                if ( ( mappedTypes || origType === handleObj.origType ) &&
                                                                                                                                                                                                                                                                                                     ( !handler || handler.guid === handleObj.guid ) &&
                                                                                                                                                                                                                                                                                                     ( !namespaces || namespaces.test( handleObj.namespace ) ) &&
                                                                                                                                                                                                                                                                                                     ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
                                                                                                                                                                                                                                                                                                    eventType.splice( j--, 1 );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4885..4897

                                                                                                                                                                                                                                                                                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 92.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
                                                                                                                                                                                                                                                                                                Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            ret = Sizzle.find( parts.shift(), context, contextXML );
                                                                                                                                                                                                                                                                                            context = ret.expr ?
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3520..3524

                                                                                                                                                                                                                                                                                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 92.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                    if ( state === 2 ) {
                                                                                                                                                                                                                                                                                                        if ( !responseHeaders ) {
                                                                                                                                                                                                                                                                                                            responseHeaders = {};
                                                                                                                                                                                                                                                                                                            while( ( match = rheaders.exec( responseHeadersString ) ) ) {
                                                                                                                                                                                                                                                                                                                responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 7929..7937

                                                                                                                                                                                                                                                                                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 91.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                if ( !jQuery.isArray( name ) ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                    // try the string as a key before any manipulation
                                                                                                                                                                                                                                                                                                    if ( name in thisCache ) {
                                                                                                                                                                                                                                                                                                        name = [ name ];
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 3682..3705

                                                                                                                                                                                                                                                                                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 86.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(
                                                                                                                                                                                                                                                                                                    match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" ||
                                                                                                                                                                                                                                                                                                    !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3868..3870

                                                                                                                                                                                                                                                                                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 85.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    keyHooks: {
                                                                                                                                                                                                                                                                                        props: "char charCode key keyCode".split(" "),
                                                                                                                                                                                                                                                                                        filter: function( event, original ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            // Add which for key events
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5215..5226

                                                                                                                                                                                                                                                                                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 84.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    removeProp: function( name ) {
                                                                                                                                                                                                                                                                                        name = jQuery.propFix[ name ] || name;
                                                                                                                                                                                                                                                                                        return this.each(function() {
                                                                                                                                                                                                                                                                                            // try/catch handles cases where IE balks (such as removing a property on window)
                                                                                                                                                                                                                                                                                            try {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4071..4080

                                                                                                                                                                                                                                                                                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 82.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            if ( !related || (related !== target && !jQuery.contains( target, related )) ) {
                                                                                                                                                                                                                                                                                                event.type = handleObj.origType;
                                                                                                                                                                                                                                                                                                ret = handleObj.handler.apply( this, arguments );
                                                                                                                                                                                                                                                                                                event.type = fix;
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5458..5462

                                                                                                                                                                                                                                                                                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 81.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                    if ( !s.async || xhr.readyState === 4 ) {
                                                                                                                                                                                                                                                                                                        callback();
                                                                                                                                                                                                                                                                                                    } else {
                                                                                                                                                                                                                                                                                                        handle = ++xhrId;
                                                                                                                                                                                                                                                                                                        if ( xhrOnUnloadAbort ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8785..8802

                                                                                                                                                                                                                                                                                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 81.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                jQuery.ajaxPrefilter( "script", function( s ) {
                                                                                                                                                                                                                                                                                    if ( s.cache === undefined ) {
                                                                                                                                                                                                                                                                                        s.cache = false;
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                    if ( s.crossDomain ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8458..8466

                                                                                                                                                                                                                                                                                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 81.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                    if ( s.username ) {
                                                                                                                                                                                                                                                                                                        xhr.open( s.type, s.url, s.async, s.username, s.password );
                                                                                                                                                                                                                                                                                                    } else {
                                                                                                                                                                                                                                                                                                        xhr.open( s.type, s.url, s.async );
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8669..8673

                                                                                                                                                                                                                                                                                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 80.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            var style = elem.style,
                                                                                                                                                                                                                                                                                                currentStyle = elem.currentStyle,
                                                                                                                                                                                                                                                                                                opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "",
                                                                                                                                                                                                                                                                                                filter = currentStyle && currentStyle.filter || style.filter || "";
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 7344..7347

                                                                                                                                                                                                                                                                                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 79.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                function createSafeFragment( document ) {
                                                                                                                                                                                                                                                                                    var list = nodeNames.split( "|" ),
                                                                                                                                                                                                                                                                                    safeFrag = document.createDocumentFragment();
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                    if ( safeFrag.createElement ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5984..5996

                                                                                                                                                                                                                                                                                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 79.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    unwrap: function() {
                                                                                                                                                                                                                                                                                        return this.parent().each(function() {
                                                                                                                                                                                                                                                                                            if ( !jQuery.nodeName( this, "body" ) ) {
                                                                                                                                                                                                                                                                                                jQuery( this ).replaceWith( this.childNodes );
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6786..6792

                                                                                                                                                                                                                                                                                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 77.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                    jQuery.event.add( elem, "change._change", function( event ) {
                                                                                                                                                                                                                                                                                                        if ( this.parentNode && !event.isSimulated && !event.isTrigger ) {
                                                                                                                                                                                                                                                                                                            jQuery.event.simulate( "change", this.parentNode, event, true );
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                    });
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5547..5551

                                                                                                                                                                                                                                                                                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 76.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        try {
                                                                                                                                                                                                                                                                                            // Not own constructor property must be Object
                                                                                                                                                                                                                                                                                            if ( obj.constructor &&
                                                                                                                                                                                                                                                                                                !hasOwn.call(obj, "constructor") &&
                                                                                                                                                                                                                                                                                                !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 480..490

                                                                                                                                                                                                                                                                                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 76.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    clone: function( dataAndEvents, deepDataAndEvents ) {
                                                                                                                                                                                                                                                                                        dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
                                                                                                                                                                                                                                                                                        deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        return this.map( function () {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6128..6135

                                                                                                                                                                                                                                                                                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 75.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    globalEval: function( data ) {
                                                                                                                                                                                                                                                                                        if ( data && rnotwhite.test( data ) ) {
                                                                                                                                                                                                                                                                                            // We use execScript on Internet Explorer
                                                                                                                                                                                                                                                                                            // We use an anonymous function so that context is window
                                                                                                                                                                                                                                                                                            // rather than jQuery in Firefox
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 606..615

                                                                                                                                                                                                                                                                                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 75.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    sibling: function( n, elem ) {
                                                                                                                                                                                                                                                                                        var r = [];
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        for ( ; n; n = n.nextSibling ) {
                                                                                                                                                                                                                                                                                            if ( n.nodeType === 1 && n !== elem ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5942..5952

                                                                                                                                                                                                                                                                                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 74.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    wrap: function( html ) {
                                                                                                                                                                                                                                                                                        var isFunction = jQuery.isFunction( html );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        return this.each(function(i) {
                                                                                                                                                                                                                                                                                            jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6778..6784

                                                                                                                                                                                                                                                                                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 73.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                if ( Expr.preFilter[ type ] ) {
                                                                                                                                                                                                                                                                                                    match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                    if ( !match ) {
                                                                                                                                                                                                                                                                                                        anyFound = found = true;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3658..3666

                                                                                                                                                                                                                                                                                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 72.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        for ( ; i < timers.length; i++ ) {
                                                                                                                                                                                                                                                                                            timer = timers[ i ];
                                                                                                                                                                                                                                                                                            // Checks the timer has not already been removed
                                                                                                                                                                                                                                                                                            if ( !timer() && timers[ i ] === timer ) {
                                                                                                                                                                                                                                                                                                timers.splice( i--, 1 );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 9496..9502

                                                                                                                                                                                                                                                                                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 72.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( hasDuplicate ) {
                                                                                                                                                                                                                                                                                            for ( var i = 1; i < results.length; i++ ) {
                                                                                                                                                                                                                                                                                                if ( results[i] === results[ i - 1 ] ) {
                                                                                                                                                                                                                                                                                                    results.splice( i--, 1 );
                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3599..3605

                                                                                                                                                                                                                                                                                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 71.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        if ( jQuery.isFunction( size ) ) {
                                                                                                                                                                                                                                                                                            return this.each(function( i ) {
                                                                                                                                                                                                                                                                                                var self = jQuery( this );
                                                                                                                                                                                                                                                                                                self[ type ]( size.call( this, i, self[ type ]() ) );
                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/jquery-1.7.1.js on lines 5680..5686

                                                                                                                                                                                                                                                                                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 71.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        if ( jQuery.isFunction(text) ) {
                                                                                                                                                                                                                                                                                            return this.each(function(i) {
                                                                                                                                                                                                                                                                                                var self = jQuery( this );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                self.text( text.call(this, i, self.text()) );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/jquery-1.7.1.js on lines 9203..9208

                                                                                                                                                                                                                                                                                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 71.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    noConflict: function( deep ) {
                                                                                                                                                                                                                                                                                        if ( window.$ === jQuery ) {
                                                                                                                                                                                                                                                                                            window.$ = _$;
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 383..393

                                                                                                                                                                                                                                                                                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 70.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                try {
                                                                                                                                                                                                                                                                                    ajaxLocation = location.href;
                                                                                                                                                                                                                                                                                } catch( e ) {
                                                                                                                                                                                                                                                                                    // Use the href attribute of an A element
                                                                                                                                                                                                                                                                                    // since IE will modify it given document.location
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 7628..7636

                                                                                                                                                                                                                                                                                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 70.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                                    if ( !status && s.isLocal && !s.crossDomain ) {
                                                                                                                                                                                                                                                                                                                        status = responses.text ? 200 : 404;
                                                                                                                                                                                                                                                                                                                    // IE - #1450: sometimes returns 1223 when it should be 204
                                                                                                                                                                                                                                                                                                                    } else if ( status === 1223 ) {
                                                                                                                                                                                                                                                                                                                        status = 204;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8762..8767

                                                                                                                                                                                                                                                                                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 70.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                            if ( inplace && found != null ) {
                                                                                                                                                                                                                                                                                                                if ( pass ) {
                                                                                                                                                                                                                                                                                                                    anyFound = true;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                } else {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3674..3683

                                                                                                                                                                                                                                                                                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 70.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        var set = typeof selector === "string" ?
                                                                                                                                                                                                                                                                                                jQuery( selector, context ) :
                                                                                                                                                                                                                                                                                                jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ),
                                                                                                                                                                                                                                                                                            all = jQuery.merge( this.get(), set );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5823..5826

                                                                                                                                                                                                                                                                                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 69.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    hasData: function( elem ) {
                                                                                                                                                                                                                                                                                        elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];
                                                                                                                                                                                                                                                                                        return !!elem && !isEmptyDataObject( elem );
                                                                                                                                                                                                                                                                                    },
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 3759..3762

                                                                                                                                                                                                                                                                                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 69.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                jQuery.ajaxSetup({
                                                                                                                                                                                                                                                                                    accepts: {
                                                                                                                                                                                                                                                                                        script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
                                                                                                                                                                                                                                                                                    },
                                                                                                                                                                                                                                                                                    contents: {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8442..8455

                                                                                                                                                                                                                                                                                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 69.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            } else if ( name === "not" ) {
                                                                                                                                                                                                                                                                                                var not = match[3];
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                for ( var j = 0, l = not.length; j < l; j++ ) {
                                                                                                                                                                                                                                                                                                    if ( not[j] === elem ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4011..4021

                                                                                                                                                                                                                                                                                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 68.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, {
                                                                                                                                                                                                                                                                                        get: function( elem ) {
                                                                                                                                                                                                                                                                                            var parent = elem.parentNode;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            if ( parent ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4652..4666

                                                                                                                                                                                                                                                                                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 67.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                if ( jQuery.expr && jQuery.expr.filters ) {
                                                                                                                                                                                                                                                                                    jQuery.expr.filters.animated = function( elem ) {
                                                                                                                                                                                                                                                                                        return jQuery.grep(jQuery.timers, function( fn ) {
                                                                                                                                                                                                                                                                                            return elem === fn.elem;
                                                                                                                                                                                                                                                                                        }).length;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 9539..9545

                                                                                                                                                                                                                                                                                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 66.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                if ( found !== undefined ) {
                                                                                                                                                                                                                                                                                                    if ( !inplace ) {
                                                                                                                                                                                                                                                                                                        curLoop = result;
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3688..3700

                                                                                                                                                                                                                                                                                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 65.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( s.data && s.processData && typeof s.data !== "string" ) {
                                                                                                                                                                                                                                                                                            s.data = jQuery.param( s.data, s.traditional );
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8020..8022

                                                                                                                                                                                                                                                                                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 65.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            if ( special.add ) {
                                                                                                                                                                                                                                                                                                special.add.call( elem, handleObj );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                if ( !handleObj.handler.guid ) {
                                                                                                                                                                                                                                                                                                    handleObj.handler.guid = handler.guid;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4824..4830

                                                                                                                                                                                                                                                                                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 65.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
                                                                                                                                                                                                                                                                                        later += match[0];
                                                                                                                                                                                                                                                                                        selector = selector.replace( Expr.match.PSEUDO, "" );
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4413..4416

                                                                                                                                                                                                                                                                                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 65.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    get: function( num ) {
                                                                                                                                                                                                                                                                                        return num == null ?
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            // Return a 'clean' array
                                                                                                                                                                                                                                                                                            this.toArray() :
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 237..245

                                                                                                                                                                                                                                                                                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 64.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], {
                                                                                                                                                                                                                                                                                        set: function( elem, value ) {
                                                                                                                                                                                                                                                                                            if ( jQuery.isArray( value ) ) {
                                                                                                                                                                                                                                                                                                return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4691..4697

                                                                                                                                                                                                                                                                                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 64.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) &&
                                                                                                                                                                                                                                                                                                (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) {
                                                                                                                                                                                                                                                                                            // IE copies events bound via attachEvent when using cloneNode.
                                                                                                                                                                                                                                                                                            // Calling detachEvent on the clone will also remove the events
                                                                                                                                                                                                                                                                                            // from the original. In order to get around this, we use some
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6495..6509

                                                                                                                                                                                                                                                                                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 64.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    while( dataTypes[ 0 ] === "*" ) {
                                                                                                                                                                                                                                                                                        dataTypes.shift();
                                                                                                                                                                                                                                                                                        if ( ct === undefined ) {
                                                                                                                                                                                                                                                                                            ct = s.mimeType || jqXHR.getResponseHeader( "content-type" );
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8302..8307

                                                                                                                                                                                                                                                                                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 63.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( jQuery.isFunction( value ) ) {
                                                                                                                                                                                                                                                                                            return this.each(function( i ) {
                                                                                                                                                                                                                                                                                                jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );
                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4166..4170

                                                                                                                                                                                                                                                                                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 63.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                jQuery.ajaxSettings.xhr = window.ActiveXObject ?
                                                                                                                                                                                                                                                                                    /* Microsoft failed to properly
                                                                                                                                                                                                                                                                                     * implement the XMLHttpRequest in IE7 (can't request local files),
                                                                                                                                                                                                                                                                                     * so we use the ActiveXObject when it is available
                                                                                                                                                                                                                                                                                     * Additionally XMLHttpRequest can be disabled in IE7/IE8 so
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8633..8644

                                                                                                                                                                                                                                                                                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 62.

                                                                                                                                                                                                                                                                                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 6 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                        if ( jQuery.isFunction( value ) ) {
                                                                                                                                                                                                                                                                                            return this.each(function( j ) {
                                                                                                                                                                                                                                                                                                jQuery( this ).removeClass( value.call(this, j, this.className) );
                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 5 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4088..4092
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4127..4131
                                                                                                                                                                                                                                                                                webroot/js/jquery-1.7.1.js on lines 2195..2199
                                                                                                                                                                                                                                                                                webroot/js/jquery.svgdom.js on lines 20..24
                                                                                                                                                                                                                                                                                webroot/js/jquery.svgdom.js on lines 74..78

                                                                                                                                                                                                                                                                                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 61.

                                                                                                                                                                                                                                                                                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 6 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                        if ( jQuery.isFunction( value ) ) {
                                                                                                                                                                                                                                                                                            return this.each(function( j ) {
                                                                                                                                                                                                                                                                                                jQuery( this ).addClass( value.call(this, j, this.className) );
                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 5 other locations - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4088..4092
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4127..4131
                                                                                                                                                                                                                                                                                webroot/js/jquery-1.7.1.js on lines 2231..2235
                                                                                                                                                                                                                                                                                webroot/js/jquery.svgdom.js on lines 20..24
                                                                                                                                                                                                                                                                                webroot/js/jquery.svgdom.js on lines 74..78

                                                                                                                                                                                                                                                                                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 61.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( type.indexOf( "." ) >= 0 ) {
                                                                                                                                                                                                                                                                                            // Namespaced trigger; create a regexp to match event type in handle()
                                                                                                                                                                                                                                                                                            namespaces = type.split(".");
                                                                                                                                                                                                                                                                                            type = namespaces.shift();
                                                                                                                                                                                                                                                                                            namespaces.sort();
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4940..4945

                                                                                                                                                                                                                                                                                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 60.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    Expr.find.CLASS = function( match, context, isXML ) {
                                                                                                                                                                                                                                                                                        if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
                                                                                                                                                                                                                                                                                            return context.getElementsByClassName(match[1]);
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4310..4314

                                                                                                                                                                                                                                                                                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 60.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    if ( ct ) {
                                                                                                                                                                                                                                                                                        for ( type in contents ) {
                                                                                                                                                                                                                                                                                            if ( contents[ type ] && contents[ type ].test( ct ) ) {
                                                                                                                                                                                                                                                                                                dataTypes.unshift( type );
                                                                                                                                                                                                                                                                                                break;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8310..8317

                                                                                                                                                                                                                                                                                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 59.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        if ( rvalidchars.test( data.replace( rvalidescape, "@" )
                                                                                                                                                                                                                                                                                            .replace( rvalidtokens, "]" )
                                                                                                                                                                                                                                                                                            .replace( rvalidbraces, "")) ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            return ( new Function( "return " + data ) )();
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 565..570

                                                                                                                                                                                                                                                                                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 59.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            jQuery( types.delegateTarget ).off(
                                                                                                                                                                                                                                                                                                handleObj.namespace? handleObj.type + "." + handleObj.namespace : handleObj.type,
                                                                                                                                                                                                                                                                                                handleObj.selector,
                                                                                                                                                                                                                                                                                                handleObj.handler
                                                                                                                                                                                                                                                                                            );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5662..5666

                                                                                                                                                                                                                                                                                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 59.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
                                                                                                                                                                                                                                                                                            jqXHR.setRequestHeader( "Content-Type", s.contentType );
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8083..8085

                                                                                                                                                                                                                                                                                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 59.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            if ( match && (match[1] || !context) ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                // HANDLE: $(html) -> $(array)
                                                                                                                                                                                                                                                                                                if ( match[1] ) {
                                                                                                                                                                                                                                                                                                    context = context instanceof jQuery ? context[0] : context;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 143..203

                                                                                                                                                                                                                                                                                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 59.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
                                                                                                                                                                                                                                                                                                    match[3] = Sizzle(match[3], null, null, curLoop);
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                } else {
                                                                                                                                                                                                                                                                                                    var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3898..3906

                                                                                                                                                                                                                                                                                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 58.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    for ( key in src ) {
                                                                                                                                                                                                                                                                                        if ( src[ key ] !== undefined ) {
                                                                                                                                                                                                                                                                                            ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 7705..7709

                                                                                                                                                                                                                                                                                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 58.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        if ( value !== undefined ) {
                                                                                                                                                                                                                                                                                            type = typeof value;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            // convert relative number strings (+= or -=) to relative numbers. #7345
                                                                                                                                                                                                                                                                                            if ( type === "string" && (ret = rrelNum.exec( value )) ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6999..7043

                                                                                                                                                                                                                                                                                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 57.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            if ( fireGlobals ) {
                                                                                                                                                                                                                                                                                                globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
                                                                                                                                                                                                                                                                                                // Handle the global AJAX counter
                                                                                                                                                                                                                                                                                                if ( !( --jQuery.active ) ) {
                                                                                                                                                                                                                                                                                                    jQuery.event.trigger( "ajaxStop" );
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8252..8258

                                                                                                                                                                                                                                                                                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 56.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        reset: function( elem ) {
                                                                                                                                                                                                                                                                                            var name = elem.nodeName.toLowerCase();
                                                                                                                                                                                                                                                                                            return (name === "input" || name === "button") && "reset" === elem.type;
                                                                                                                                                                                                                                                                                        },
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/jquery-1.7.1.js on lines 4539..4542

                                                                                                                                                                                                                                                                                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 56.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        submit: function( elem ) {
                                                                                                                                                                                                                                                                                            var name = elem.nodeName.toLowerCase();
                                                                                                                                                                                                                                                                                            return (name === "input" || name === "button") && "submit" === elem.type;
                                                                                                                                                                                                                                                                                        },
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/jquery-1.7.1.js on lines 4548..4551

                                                                                                                                                                                                                                                                                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 56.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        POS: function( elem, match, i, array ) {
                                                                                                                                                                                                                                                                                            var name = match[2],
                                                                                                                                                                                                                                                                                                filter = Expr.setFilters[ name ];
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            if ( filter ) {
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4107..4113

                                                                                                                                                                                                                                                                                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 55.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            if ( match[1] === "not" ) {
                                                                                                                                                                                                                                                                                                // If we're dealing with a complex expression, or a simple one
                                                                                                                                                                                                                                                                                                if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
                                                                                                                                                                                                                                                                                                    match[3] = Sizzle(match[3], null, null, curLoop);
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3896..3909

                                                                                                                                                                                                                                                                                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 55.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                        for ( node = parent.firstChild; node; node = node.nextSibling ) {
                                                                                                                                                                                                                                                                                                            if ( node.nodeType === 1 ) {
                                                                                                                                                                                                                                                                                                                node.nodeIndex = ++count;
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                        } 
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4050..4054

                                                                                                                                                                                                                                                                                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 55.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        s.converters["script json"] = function() {
                                                                                                                                                                                                                                                                                            if ( !responseContainer ) {
                                                                                                                                                                                                                                                                                                jQuery.error( jsonpCallback + " was not called" );
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                            return responseContainer[ 0 ];
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8565..8570

                                                                                                                                                                                                                                                                                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 55.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) {
                                                                                                                                                                                                                                                                                    class2type[ "[object " + name + "]" ] = name.toLowerCase();
                                                                                                                                                                                                                                                                                });
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 1 hr to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 979..981

                                                                                                                                                                                                                                                                                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 55.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                    for ( var type in data.events ) {
                                                                                                                                                                                                                                                                                                        if ( special[ type ] ) {
                                                                                                                                                                                                                                                                                                            jQuery.event.remove( elem, type );
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                        // This is a shortcut to avoid jQuery.event.remove's overhead
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6681..6689

                                                                                                                                                                                                                                                                                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 54.

                                                                                                                                                                                                                                                                                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 getWindow( elem ) {
                                                                                                                                                                                                                                                                                    return jQuery.isWindow( elem ) ?
                                                                                                                                                                                                                                                                                        elem :
                                                                                                                                                                                                                                                                                        elem.nodeType === 9 ?
                                                                                                                                                                                                                                                                                            elem.defaultView || elem.parentWindow :
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 9708..9714

                                                                                                                                                                                                                                                                                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 54.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( getByName ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            // First Try to find as-is property data
                                                                                                                                                                                                                                                                                            ret = thisCache[ name ];
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 3639..3652

                                                                                                                                                                                                                                                                                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 53.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                    Expr.attrHandle[ name ] ?
                                                                                                                                                                                                                                                                                                    Expr.attrHandle[ name ]( elem ) :
                                                                                                                                                                                                                                                                                                    elem[ name ] != null ?
                                                                                                                                                                                                                                                                                                        elem[ name ] :
                                                                                                                                                                                                                                                                                                        elem.getAttribute( name ),
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4078..4082

                                                                                                                                                                                                                                                                                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 53.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                    if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) &&
                                                                                                                                                                                                                                                                                                            (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                        // Get the specific value for the option
                                                                                                                                                                                                                                                                                                        value = jQuery( option ).val();
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4306..4321

                                                                                                                                                                                                                                                                                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 53.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                    jQuery.event.add( this, "propertychange._change", function( event ) {
                                                                                                                                                                                                                                                                                                        if ( event.originalEvent.propertyName === "checked" ) {
                                                                                                                                                                                                                                                                                                            this._just_changed = true;
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                    });
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5527..5531

                                                                                                                                                                                                                                                                                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 53.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        CLASS: function( elem, match ) {
                                                                                                                                                                                                                                                                                            return (" " + (elem.className || elem.getAttribute("class")) + " ")
                                                                                                                                                                                                                                                                                                .indexOf( match ) > -1;
                                                                                                                                                                                                                                                                                        },
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4072..4075

                                                                                                                                                                                                                                                                                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 53.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                    ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )
                                                                                                                                                                                                                                                                                                            .apply( matched.elem, args );
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 55 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5094..5095

                                                                                                                                                                                                                                                                                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 53.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
                                                                                                                                                                                                                                                                                            return false;
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 476..478

                                                                                                                                                                                                                                                                                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 52.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            if ( win ) {
                                                                                                                                                                                                                                                                                                win.scrollTo(
                                                                                                                                                                                                                                                                                                    !i ? val : jQuery( win ).scrollLeft(),
                                                                                                                                                                                                                                                                                                     i ? val : jQuery( win ).scrollTop()
                                                                                                                                                                                                                                                                                                );
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 9695..9703

                                                                                                                                                                                                                                                                                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 52.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    map: function( callback ) {
                                                                                                                                                                                                                                                                                        return this.pushStack( jQuery.map(this, function( elem, i ) {
                                                                                                                                                                                                                                                                                            return callback.call( elem, i, elem );
                                                                                                                                                                                                                                                                                        }));
                                                                                                                                                                                                                                                                                    },
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 294..298

                                                                                                                                                                                                                                                                                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 51.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        teardown: function() {
                                                                                                                                                                                                                                                                                            // Only need this for delegated form submit events
                                                                                                                                                                                                                                                                                            if ( jQuery.nodeName( this, "form" ) ) {
                                                                                                                                                                                                                                                                                                return false;
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 50 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5503..5511

                                                                                                                                                                                                                                                                                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 51.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                var elem = e.target,
                                                                                                                                                                                                                                                                                                    form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined;
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5481..5482

                                                                                                                                                                                                                                                                                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 50.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
                                                                                                                                                                                                                                                                                                // Assume that strings that start and end with <> are HTML and skip the regex check
                                                                                                                                                                                                                                                                                                match = [ null, selector, null ];
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 134..140

                                                                                                                                                                                                                                                                                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 50.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        for ( var i = 0, length = elems.length; i < length; i++ ) {
                                                                                                                                                                                                                                                                                            retVal = !!callback( elems[ i ], i );
                                                                                                                                                                                                                                                                                            if ( inv !== retVal ) {
                                                                                                                                                                                                                                                                                                ret.push( elems[ i ] );
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 761..766

                                                                                                                                                                                                                                                                                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 50.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
                                                                                                                                                                                                                                                                                            jQuery.error( "Invalid XML: " + data );
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 595..597

                                                                                                                                                                                                                                                                                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 50.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                            if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
                                                                                                                                                                                                                                                                                                this.value = val;
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 45 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4271..4273

                                                                                                                                                                                                                                                                                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 50.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( !pvt ) {
                                                                                                                                                                                                                                                                                            if ( !thisCache.data ) {
                                                                                                                                                                                                                                                                                                thisCache.data = {};
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 3625..3631

                                                                                                                                                                                                                                                                                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 49.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        return ( width === 0 && height === 0 ) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none");
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 7419..7420

                                                                                                                                                                                                                                                                                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 49.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            if ( !type ) {
                                                                                                                                                                                                                                                                                                for ( type in events ) {
                                                                                                                                                                                                                                                                                                    jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                continue;
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4868..4873

                                                                                                                                                                                                                                                                                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 48.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                                                                                                                                                                                                                                                                                            return;
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6983..6985

                                                                                                                                                                                                                                                                                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 48.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    for ( var name in obj ) {
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                        // if the public data object is empty, the private is still empty
                                                                                                                                                                                                                                                                                        if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {
                                                                                                                                                                                                                                                                                            continue;
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 3888..3897

                                                                                                                                                                                                                                                                                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 48.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    if ( elem.src ) {
                                                                                                                                                                                                                                                                                        jQuery.ajax({
                                                                                                                                                                                                                                                                                            url: elem.src,
                                                                                                                                                                                                                                                                                            async: false,
                                                                                                                                                                                                                                                                                            dataType: "script"
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6277..6282

                                                                                                                                                                                                                                                                                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 48.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                        } else if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
                                                                                                                                                                                                                                                                                            (jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value )) &&
                                                                                                                                                                                                                                                                                            !wrapMap[ (rtagName.exec( value ) || ["", ""])[1].toLowerCase() ] ) {
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 40 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6150..6152

                                                                                                                                                                                                                                                                                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 48.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    var type, i, l,
                                                                                                                                                                                                                                                                                        oldData = jQuery._data( src ),
                                                                                                                                                                                                                                                                                        curData = jQuery._data( dest, oldData ),
                                                                                                                                                                                                                                                                                        events = oldData.events;
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 6337..6340

                                                                                                                                                                                                                                                                                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 47.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            if ( isSuccess ) {
                                                                                                                                                                                                                                                                                                deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8234..8238

                                                                                                                                                                                                                                                                                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 47.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                    if ( s.xhrFields ) {
                                                                                                                                                                                                                                                                                                        for ( i in s.xhrFields ) {
                                                                                                                                                                                                                                                                                                            xhr[ i ] = s.xhrFields[ i ];
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8676..8680

                                                                                                                                                                                                                                                                                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 47.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    jQuery.expr.filters.visible = function( elem ) {
                                                                                                                                                                                                                                                                                        return !jQuery.expr.filters.hidden( elem );
                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 7423..7425

                                                                                                                                                                                                                                                                                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 46.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            context = ret.expr ?
                                                                                                                                                                                                                                                                                                Sizzle.filter( ret.expr, ret.set )[0] :
                                                                                                                                                                                                                                                                                                ret.set[0];
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3523..3523

                                                                                                                                                                                                                                                                                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 46.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            for ( i = 0; checkSet[i] != null; i++ ) {
                                                                                                                                                                                                                                                                                                if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
                                                                                                                                                                                                                                                                                                    results.push( set[i] );
                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3576..3580

                                                                                                                                                                                                                                                                                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 46.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    match: {
                                                                                                                                                                                                                                                                                        ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
                                                                                                                                                                                                                                                                                        CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
                                                                                                                                                                                                                                                                                        NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
                                                                                                                                                                                                                                                                                        ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 35 mins to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 3721..3730

                                                                                                                                                                                                                                                                                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 46.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                        if ( selector.selector !== undefined ) {
                                                                                                                                                                                                                                                                                            this.selector = selector.selector;
                                                                                                                                                                                                                                                                                            this.context = selector.context;
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 217..220

                                                                                                                                                                                                                                                                                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 45.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                }, function( name, props ) {
                                                                                                                                                                                                                                                                                    jQuery.fn[ name ] = function( speed, easing, callback ) {
                                                                                                                                                                                                                                                                                        return this.animate( props, speed, easing, callback );
                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                });
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 9440..9444

                                                                                                                                                                                                                                                                                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 45.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                    trigger: function( type, data ) {
                                                                                                                                                                                                                                                                                        return this.each(function() {
                                                                                                                                                                                                                                                                                            jQuery.event.trigger( type, data, this );
                                                                                                                                                                                                                                                                                        });
                                                                                                                                                                                                                                                                                    },
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 5689..5693

                                                                                                                                                                                                                                                                                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 45.

                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                            if ( selector ) {
                                                                                                                                                                                                                                                                                                handlers.splice( handlers.delegateCount++, 0, handleObj );
                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                handlers.push( handleObj );
                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 4833..4837

                                                                                                                                                                                                                                                                                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 45.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                    nodeName: function( elem, name ) {
                                                                                                                                                                                                                                                                                        return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase();
                                                                                                                                                                                                                                                                                    },
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 623..625

                                                                                                                                                                                                                                                                                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 45.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                    try {
                                                                                                                                                                                                                                                                                                        for ( i in headers ) {
                                                                                                                                                                                                                                                                                                            xhr.setRequestHeader( i, headers[ i ] );
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                    } catch( _ ) {}
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                webroot/jquery-ui-1.11.3.custom/external/jquery/jquery.js on lines 8697..8701

                                                                                                                                                                                                                                                                                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 45.

                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                    if ( first === 0 ) {
                                                                                                                                                                                                                                                                                                        return diff === 0;
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                    } else {
                                                                                                                                                                                                                                                                                                        return ( diff % first === 0 && diff / first >= 0 );
                                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                                Found in webroot/js/jquery-1.7.1.js and 1 other location - About 30 mins to fix
                                                                                                                                                                                                                                                                                webroot/js/tiny_mce/tiny_mce_src.js on lines 4059..4063

                                                                                                                                                                                                                                                                                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 45.

                                                                                                                                                                                                                                                                                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