modxcms/revolution

View on GitHub
setup/assets/js/ext-core-debug.js

Summary

Maintainability
F
3 mos
Test Coverage

File ext-core-debug.js has 5233 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 * Ext Core Library 3.0
 * http://extjs.com/
 * Copyright(c) 2006-2009, Ext JS, LLC.
 * 
Severity: Major
Found in setup/assets/js/ext-core-debug.js - About 2 wks to fix

    Function DomQuery has a Cognitive Complexity of 392 (exceeds 5 allowed). Consider refactoring.
    Open

    Ext.DomQuery = function(){
        var cache = {}, 
            simpleCache = {}, 
            valueCache = {},
            nonSpace = /\S/,
    Severity: Minor
    Found in setup/assets/js/ext-core-debug.js - About 1 wk to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function DomQuery has 625 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    Ext.DomQuery = function(){
        var cache = {}, 
            simpleCache = {}, 
            valueCache = {},
            nonSpace = /\S/,
    Severity: Major
    Found in setup/assets/js/ext-core-debug.js - About 3 days to fix

      Function DomHelper has a Cognitive Complexity of 114 (exceeds 5 allowed). Consider refactoring.
      Open

      Ext.DomHelper = function(){
          var tempTableEl = null,
              emptyTags = /^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i,
              tableRe = /^table|tbody|tr|td$/i,
              pub,
      Severity: Minor
      Found in setup/assets/js/ext-core-debug.js - About 2 days to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function EventManager has a Cognitive Complexity of 101 (exceeds 5 allowed). Consider refactoring.
      Open

      Ext.EventManager = function(){
          var docReadyEvent, 
              docReadyProcId, 
              docReadyState = false,        
              E = Ext.lib.Event,
      Severity: Minor
      Found in setup/assets/js/ext-core-debug.js - About 2 days to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function Event has 343 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      Ext.lib.Event = function() {
          var loadComplete = false,
              listeners = [],
              unloadListeners = [],
              retryCount = 0,
      Severity: Major
      Found in setup/assets/js/ext-core-debug.js - About 1 day to fix

        Function JSON has a Cognitive Complexity of 67 (exceeds 5 allowed). Consider refactoring.
        Open

        Ext.util.JSON = new (function(){
            var useHasOwn = !!{}.hasOwnProperty,
                isNative = Ext.USE_NATIVE_JSON && JSON && JSON.toString() == '[object JSON]';
        
            // crashes Safari in some instances
        Severity: Minor
        Found in setup/assets/js/ext-core-debug.js - About 1 day to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Function Ajax has 264 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            Ext.lib.Ajax = function() {        
                var activeX = ['MSXML2.XMLHTTP.3.0',
                               'MSXML2.XMLHTTP',
                               'Microsoft.XMLHTTP'];
                               
        Severity: Major
        Found in setup/assets/js/ext-core-debug.js - About 1 day to fix

          Function EventObject has a Cognitive Complexity of 56 (exceeds 5 allowed). Consider refactoring.
          Open

          Ext.EventObject = function(){
              var E = Ext.lib.Event,
                  // safari keypress events for special keys return bad keycodes
                  safariKeys = {
                      3 : 13, // enter
          Severity: Minor
          Found in setup/assets/js/ext-core-debug.js - About 1 day to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Function EventManager has 215 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          Ext.EventManager = function(){
              var docReadyEvent, 
                  docReadyProcId, 
                  docReadyState = false,        
                  E = Ext.lib.Event,
          Severity: Major
          Found in setup/assets/js/ext-core-debug.js - About 1 day to fix

            Function DomHelper has 163 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            Ext.DomHelper = function(){
                var tempTableEl = null,
                    emptyTags = /^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i,
                    tableRe = /^table|tbody|tr|td$/i,
                    pub,
            Severity: Major
            Found in setup/assets/js/ext-core-debug.js - About 6 hrs to fix

              Function EventObject has 118 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              Ext.EventObject = function(){
                  var E = Ext.lib.Event,
                      // safari keypress events for special keys return bad keycodes
                      safariKeys = {
                          3 : 13, // enter
              Severity: Major
              Found in setup/assets/js/ext-core-debug.js - About 4 hrs to fix

                Function TaskRunner has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring.
                Open

                Ext.util.TaskRunner = function(interval){
                    interval = interval || 10;
                    var tasks = [], 
                        removeQueue = [],
                        id = 0,
                Severity: Minor
                Found in setup/assets/js/ext-core-debug.js - About 4 hrs to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                Function prototype has 104 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                EXTUTIL.Observable.prototype = function(){
                    var filterOptRe = /^(?:scope|delay|buffer|single)$/, toLower = function(s){
                        return s.toLowerCase();    
                    };
                        
                Severity: Major
                Found in setup/assets/js/ext-core-debug.js - About 4 hrs to fix

                  Function JSON has 97 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  Ext.util.JSON = new (function(){
                      var useHasOwn = !!{}.hasOwnProperty,
                          isNative = Ext.USE_NATIVE_JSON && JSON && JSON.toString() == '[object JSON]';
                  
                      // crashes Safari in some instances
                  Severity: Major
                  Found in setup/assets/js/ext-core-debug.js - About 3 hrs to fix

                    Function AnimMgr has 90 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        Ext.lib.AnimMgr = new function() {
                            var me = this,
                                thread = null,
                                queue = [],
                                tweenCount = 0;
                    Severity: Major
                    Found in setup/assets/js/ext-core-debug.js - About 3 hrs to fix

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

                              init: function(el, attributes, duration, method) {
                                  var me = this,
                                      actualFrames = 0,
                                      mgr = EXTLIB.AnimMgr;
                                      
                      Severity: Major
                      Found in setup/assets/js/ext-core-debug.js - About 3 hrs to fix

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

                            slideIn : function(anchor, o){ 
                                o = getObject(o);
                                var me = this,
                                    dom = me.dom,
                                    st = dom.style,
                        Severity: Major
                        Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

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

                          Ext.util.TaskRunner = function(interval){
                              interval = interval || 10;
                              var tasks = [], 
                                  removeQueue = [],
                                  id = 0,
                          Severity: Major
                          Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

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

                                    compile : function(path, type){
                                        type = type || "select";
                            
                                        var fn = ["var f = function(root){\n var mode; ++batch; var n = root || document;\n"],
                                            q = path, mode, lq,
                            Severity: Major
                            Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

                              Function doFormUpload has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function doFormUpload(o, ps, url){
                                      var id = Ext.id(),
                                          doc = document,
                                          frame = doc.createElement('iframe'),
                                          form = Ext.getDom(o.form),
                              Severity: Major
                              Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

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

                                        function handleTransactionResponse(o, callback, isAbort, isTimeout) {
                                            if (!callback) {
                                                releaseObject(o);
                                                return;
                                            }
                                Severity: Major
                                Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

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

                                      frame : function(color, count, o){
                                          o = getObject(o);
                                          var me = this,
                                              dom = me.dom,
                                              proxy,
                                  Severity: Major
                                  Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

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

                                        slideOut : function(anchor, o){
                                            o = getObject(o);
                                            var me = this,
                                                dom = me.dom,
                                                st = dom.style,
                                    Severity: Major
                                    Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

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

                                              getXY : function(el) {
                                                  var p, 
                                                      pe, 
                                                      b,
                                                      bt, 
                                      Severity: Major
                                      Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

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

                                                request : function(o){
                                                    var me = this;
                                                    if(me.fireEvent(BEFOREREQUEST, me, o)){
                                                        if (o.el) {
                                                            if(!Ext.isEmpty(o.indicatorText)){
                                        Severity: Major
                                        Found in setup/assets/js/ext-core-debug.js - About 2 hrs to fix

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

                                              function listen(element, ename, opt, fn, scope){
                                                  var o = !Ext.isObject(opt) ? {} : opt,
                                                      el = Ext.getDom(element);
                                                      
                                                  fn = fn || o.fn; 
                                          Severity: Minor
                                          Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                            El.get = function(el){
                                                var ex,
                                                    elm,
                                                    id;
                                                if(!el){ return null; }
                                            Severity: Minor
                                            Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                  function getNodes(ns, mode, tagName){
                                                      var result = [], ri = -1, cs;
                                                      if(!ns){
                                                          return result;
                                                      }
                                              Severity: Minor
                                              Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                    function createHtml(o){
                                                        var b = "",
                                                            attr,
                                                            val,
                                                            key,
                                                Severity: Minor
                                                Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

                                                  Consider simplifying this complex logical expression.
                                                  Open

                                                              if(me.fireEvent(BEFOREREQUEST, me, o)){
                                                                  if (o.el) {
                                                                      if(!Ext.isEmpty(o.indicatorText)){
                                                                          me.indicatorText = '<div class="loading-indicator">'+o.indicatorText+"</div>";
                                                                      }
                                                  Severity: Critical
                                                  Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                            insertHtml : function(where, el, html){
                                                                var hash = {},
                                                                    hashVal,
                                                                     setStart,
                                                                    range,
                                                    Severity: Minor
                                                    Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                  setRunAttr: function(attr){
                                                                      if(pointsRe.test(attr)){
                                                                          
                                                                          var me = this,
                                                                              el = this.el,
                                                      Severity: Minor
                                                      Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                            ghost : function(anchor, o){
                                                                o = getObject(o);
                                                                var me = this,
                                                                    dom = me.dom,
                                                                    st = dom.style,
                                                        Severity: Minor
                                                        Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                              switchOff : function(o){
                                                                  o = getObject(o);
                                                                  var me = this,
                                                                      dom = me.dom,
                                                                      st = dom.style,
                                                          Severity: Minor
                                                          Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                puff : function(o){
                                                                    o = getObject(o);
                                                                    var me = this,
                                                                        dom = me.dom,
                                                                        st = dom.style,
                                                            Severity: Minor
                                                            Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                  this.encode = isNative ? JSON.stringify : function(o){
                                                                      if(typeof o == "undefined" || o === null){
                                                                          return "null";
                                                                      }else if(Ext.isArray(o)){
                                                                          return encodeArray(o);
                                                              Severity: Minor
                                                              Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

                                                                Function argCalc has 11 arguments (exceeds 4 allowed). Consider refactoring.
                                                                Open

                                                                            function argCalc(wrap, style, ww, wh, sXY, sXYval, s1, s2, w, h, p){                    
                                                                Severity: Major
                                                                Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                          extend : function(){
                                                                              // inline overrides
                                                                              var io = function(o){
                                                                                  for(var m in o){
                                                                                      this[m] = o[m];
                                                                  Severity: Minor
                                                                  Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

                                                                    Function getScroll has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
                                                                    Open

                                                                        getScroll : function(){
                                                                            var d = this.dom, 
                                                                                doc = document,
                                                                                body = doc.body,
                                                                                docElement = doc.documentElement,
                                                                    Severity: Minor
                                                                    Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

                                                                    Cognitive Complexity

                                                                    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                    A method's cognitive complexity is based on a few simple rules:

                                                                    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                    • Code is considered more complex for each "break in the linear flow of the code"
                                                                    • Code is considered more complex when "flow breaking structures are nested"

                                                                    Further reading

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

                                                                                serializeForm : function(form) {
                                                                                    var fElements = form.elements || (document.forms[form] || Ext.getDom(form)).elements,
                                                                                        hasSubmit = false,
                                                                                        encoder = encodeURIComponent,
                                                                                        element,
                                                                    Severity: Minor
                                                                    Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                          function nodup(cs){
                                                                              if(!cs){
                                                                                  return [];
                                                                              }
                                                                              var len = cs.length, c, i, r = cs, cj, ri = -1;
                                                                      Severity: Minor
                                                                      Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                fireEvent : function(){
                                                                                    var a = TOARRAY(arguments),
                                                                                        ename = toLower(a[0]),
                                                                                        me = this,
                                                                                        ret = TRUE,
                                                                        Severity: Minor
                                                                        Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                  getStyle : function(){         
                                                                                      return view && view.getComputedStyle ?
                                                                                          function(prop){
                                                                                              var el = this.dom,
                                                                                                  v,                  
                                                                          Severity: Minor
                                                                          Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                    setEvent : function(e){
                                                                                        var me = this;
                                                                                        if(e == me || (e && e.browserEvent)){ // already wrapped
                                                                                            return e;
                                                                                        }
                                                                            Severity: Minor
                                                                            Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                      setRunAttr: function(attr) {            
                                                                                          var me = this,
                                                                                              a = this.attributes[attr],
                                                                                              to = a.to,
                                                                                              by = a.by,
                                                                              Severity: Minor
                                                                              Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                    var initExtCss = function(){
                                                                                        // find the body element
                                                                                        var bd = document.body || document.getElementsByTagName('body')[0];
                                                                                        if(!bd){ return false; }
                                                                                        var cls = [' ',
                                                                                Severity: Minor
                                                                                Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

                                                                                  Function argCalc has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                  Open

                                                                                              function argCalc(style, s1, s2, p1, v1, p2, v2, p3, v3){                    
                                                                                  Severity: Major
                                                                                  Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                             setVisible : function(visible, animate){
                                                                                                var me = this,
                                                                                                    dom = me.dom,
                                                                                                    isDisplay = getVisMode(this.dom) == ELDISPLAY;
                                                                                                    
                                                                                    Severity: Minor
                                                                                    Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                              function cb(){
                                                                                                  var me = this,
                                                                                                      // bogus response object
                                                                                                      r = {responseText : '',
                                                                                                           responseXML : null,
                                                                                      Severity: Minor
                                                                                      Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                                runTasks = function(){
                                                                                                    var rqLen = removeQueue.length,
                                                                                                        now = new Date().getTime();                                
                                                                                                
                                                                                                    if(rqLen > 0){
                                                                                        Severity: Minor
                                                                                        Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                              function _tryPreloadAttach() {
                                                                                                  var ret = false,                
                                                                                                      notAvail = [],
                                                                                                      element,
                                                                                                      tryAgain = !loadComplete || (retryCount > 0);                        
                                                                                          Severity: Minor
                                                                                          Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                                function byAttribute(cs, attr, value, op, custom){
                                                                                                    var r = [], 
                                                                                                        ri = -1, 
                                                                                                        st = custom=="{",
                                                                                                        f = Ext.DomQuery.operators[op];
                                                                                            Severity: Minor
                                                                                            Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

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

                                                                                                  shift : function(o){
                                                                                                      o = getObject(o);
                                                                                                      var dom = this.dom,
                                                                                                          a = {};
                                                                                                              
                                                                                              Severity: Minor
                                                                                              Found in setup/assets/js/ext-core-debug.js - About 1 hr to fix

                                                                                                Function run has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                Open

                                                                                                        run : function(el, args, duration, easing, cb, scope, type) {
                                                                                                Severity: Major
                                                                                                Found in setup/assets/js/ext-core-debug.js - About 50 mins to fix

                                                                                                  Avoid deeply nested control flow statements.
                                                                                                  Open

                                                                                                              for(var i = 0, n; n = ns[i]; i++){
                                                                                                                  while((n = n.nextSibling)){
                                                                                                                      if (n.nodeName == utag || n.nodeName == tagName || tagName == '*'){
                                                                                                                          result[++ri] = n;
                                                                                                                      }
                                                                                                  Severity: Major
                                                                                                  Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                            anim : function(args, opt, animType, defaultDur, defaultEase, cb){
                                                                                                    Severity: Minor
                                                                                                    Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

                                                                                                      Avoid deeply nested control flow statements.
                                                                                                      Open

                                                                                                                      if(n && (n.nodeName == utag || n.nodeName == tagName || tagName == '*')){
                                                                                                                          result[++ri] = n;
                                                                                                                      }
                                                                                                      Severity: Major
                                                                                                      Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                            EXTLIB.Anim.scroll = function(el, args, duration, easing, cb, scope) {            
                                                                                                        Severity: Minor
                                                                                                        Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

                                                                                                          Avoid deeply nested control flow statements.
                                                                                                          Open

                                                                                                                                  for (key in val) {
                                                                                                                                      keyVal = val[key];
                                                                                                                                      b += !Ext.isFunction(keyVal) ? key + ":" + keyVal + ";" : "";                            
                                                                                                                                  }
                                                                                                          Severity: Major
                                                                                                          Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

                                                                                                            Avoid deeply nested control flow statements.
                                                                                                            Open

                                                                                                                                        if (p != el && !pe.isStyle('overflow','visible')) {
                                                                                                                                            x += bl;
                                                                                                                                            y += bt;
                                                                                                                                        }
                                                                                                            Severity: Major
                                                                                                            Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                                  fxanim : function(args, opt, animType, defaultDur, defaultEase, cb){
                                                                                                              Severity: Minor
                                                                                                              Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                                        elasticOut: function (t, b, c, d, a, p) {
                                                                                                                Severity: Minor
                                                                                                                Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                                          elasticBoth: function (t, b, c, d, a, p) {
                                                                                                                  Severity: Minor
                                                                                                                  Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                                        EXTLIB.Anim.color = function(el, args, duration, easing, cb, scope) {
                                                                                                                    Severity: Minor
                                                                                                                    Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                      Open

                                                                                                                                          if(cj.nodeName == utag || cj.nodeName == tagName  || tagName == '*'){
                                                                                                                                              result[++ri] = cj;
                                                                                                                                          }
                                                                                                                      Severity: Major
                                                                                                                      Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                                                motion : function(el, args, duration, easing, cb, scope) {
                                                                                                                        Severity: Minor
                                                                                                                        Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                                              function doInsert(el, o, returnElement, pos, sibling, append){        
                                                                                                                          Severity: Minor
                                                                                                                          Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                            Open

                                                                                                                                    if(!docEl){
                                                                                                                                        var f = function(){};
                                                                                                                                        f.prototype = El.prototype;
                                                                                                                                        docEl = new f();
                                                                                                                                        docEl.dom = DOC;
                                                                                                                            Severity: Major
                                                                                                                            Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

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

                                                                                                                                      elasticIn: function (t, b, c, d, a, p) {
                                                                                                                              Severity: Minor
                                                                                                                              Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                Open

                                                                                                                                                        if(b){
                                                                                                                                                            a.push(',');
                                                                                                                                                        }
                                                                                                                                Severity: Major
                                                                                                                                Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                  Open

                                                                                                                                                  while((n = n.nextSibling) && n.nodeType != 1);
                                                                                                                                  Severity: Major
                                                                                                                                  Found in setup/assets/js/ext-core-debug.js - About 45 mins to fix

                                                                                                                                    Consider simplifying this complex logical expression.
                                                                                                                                    Open

                                                                                                                                              if(tag == 'td' && (where == afterbegin || where == beforeend) ||
                                                                                                                                                 !/td|tr|tbody/i.test(tag) && (where == beforebegin || where == afterend)) { 
                                                                                                                                                return;
                                                                                                                                            }
                                                                                                                                    Severity: Major
                                                                                                                                    Found in setup/assets/js/ext-core-debug.js - About 40 mins to fix

                                                                                                                                      Consider simplifying this complex logical expression.
                                                                                                                                      Open

                                                                                                                                              } else if ((tag == "tbody" && (where == beforeend || where == afterbegin)) || 
                                                                                                                                                         (tag == "tr" && (where == beforebegin || where == afterend))) {
                                                                                                                                                  node = ieTable(3, tbs, html, tbe);
                                                                                                                                              } else {
                                                                                                                                                   node = ieTable(2, ts, html, te);   
                                                                                                                                      Severity: Major
                                                                                                                                      Found in setup/assets/js/ext-core-debug.js - About 40 mins to fix

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

                                                                                                                                            function addListener(el, ename, fn, wrap, scope){        
                                                                                                                                        Severity: Minor
                                                                                                                                        Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                              function byAttribute(cs, attr, value, op, custom){
                                                                                                                                          Severity: Minor
                                                                                                                                          Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                                function listen(element, ename, opt, fn, scope){
                                                                                                                                            Severity: Minor
                                                                                                                                            Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                                      backIn: function (t, b, c, d, s) {
                                                                                                                                              Severity: Minor
                                                                                                                                              Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                                        backOut: function (t, b, c, d, s) {
                                                                                                                                                Severity: Minor
                                                                                                                                                Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                                          backBoth: function (t, b, c, d, s) {
                                                                                                                                                  Severity: Minor
                                                                                                                                                  Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                                                request : function(method, uri, cb, data, options) {
                                                                                                                                                    Severity: Minor
                                                                                                                                                    Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                                              animate : function(args, duration, onComplete, easing, animType){       
                                                                                                                                                      Severity: Minor
                                                                                                                                                      Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                                            function createSingle(h, el, ename, fn, scope){
                                                                                                                                                        Severity: Minor
                                                                                                                                                        Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

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

                                                                                                                                                                  addListener : function(element, eventName, fn, scope, options){                                       
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in setup/assets/js/ext-core-debug.js - About 35 mins to fix

                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                            Open

                                                                                                                                                                        return String(o);
                                                                                                                                                            Severity: Major
                                                                                                                                                            Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                              Open

                                                                                                                                                                      return El.select(el);
                                                                                                                                                              Severity: Major
                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                Open

                                                                                                                                                                            return a.join("");
                                                                                                                                                                Severity: Major
                                                                                                                                                                Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                  Open

                                                                                                                                                                          return el;
                                                                                                                                                                  Severity: Major
                                                                                                                                                                  Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                    Open

                                                                                                                                                                            return docEl;
                                                                                                                                                                    Severity: Major
                                                                                                                                                                    Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                      Open

                                                                                                                                                                                  return isFinite(o) ? String(o) : "null";
                                                                                                                                                                      Severity: Major
                                                                                                                                                                      Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                        Open

                                                                                                                                                                                return r;
                                                                                                                                                                        Severity: Major
                                                                                                                                                                        Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                          Open

                                                                                                                                                                                  return el;
                                                                                                                                                                          Severity: Major
                                                                                                                                                                          Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                            Open

                                                                                                                                                                                return null;
                                                                                                                                                                            Severity: Major
                                                                                                                                                                            Found in setup/assets/js/ext-core-debug.js - About 30 mins to fix

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

                                                                                                                                                                              (function(){
                                                                                                                                                                                  // shortcuts to aid compression
                                                                                                                                                                                  var abs = Math.abs,
                                                                                                                                                                                       pi = Math.PI,
                                                                                                                                                                                       asin = Math.asin,
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 wk to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3041..3169

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

                                                                                                                                                                              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

                                                                                                                                                                                      init: function(el, attributes, duration, method) {
                                                                                                                                                                                          var me = this,
                                                                                                                                                                                              actualFrames = 0,
                                                                                                                                                                                              mgr = EXTLIB.AnimMgr;
                                                                                                                                                                                              
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 4 days to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2692..2784

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

                                                                                                                                                                              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() {
                                                                                                                                                                                      // Scroll Animation    
                                                                                                                                                                                  var EXTLIB = Ext.lib;
                                                                                                                                                                                  EXTLIB.Anim.scroll = function(el, args, duration, easing, cb, scope) {            
                                                                                                                                                                                      return EXTLIB.Anim.run(el, args, duration, easing, cb, scope, EXTLIB.Scroll);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 days to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3282..3338

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

                                                                                                                                                                              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 handleTransactionResponse(o, callback, isAbort, isTimeout) {
                                                                                                                                                                                          if (!callback) {
                                                                                                                                                                                              releaseObject(o);
                                                                                                                                                                                              return;
                                                                                                                                                                                          }
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 days to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2303..2367

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

                                                                                                                                                                              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 (el.getBoundingClientRect) {
                                                                                                                                                                                                  b = el.getBoundingClientRect();
                                                                                                                                                                                                  scroll = fly(document).getScroll();
                                                                                                                                                                                                  ret = [b.left + scroll.left, b.top + scroll.top];
                                                                                                                                                                                              } else {  
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 days to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1779..1826

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

                                                                                                                                                                              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

                                                                                                                                                                                  EXTLIB.Bezier = new function() {
                                                                                                                                                                              
                                                                                                                                                                                      this.getPosition = function(points, t) {
                                                                                                                                                                                          var n = points.length,
                                                                                                                                                                                              tmp = [],
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 day to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2892..2915

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

                                                                                                                                                                              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(isset(to)){
                                                                                                                                                                                                      end = translateValues.call(me, to, start);
                                                                                                                                                                                                      for (i = 0,len = control.length; i < len; ++i) {
                                                                                                                                                                                                          control[i] = translateValues.call(me, control[i], start);
                                                                                                                                                                                                      }
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 day to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3010..3021

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

                                                                                                                                                                              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 correctFrame = function(tween) {
                                                                                                                                                                                          var frames = tween.totalFrames,
                                                                                                                                                                                              frame = tween.curFrame,
                                                                                                                                                                                              duration = tween.duration,
                                                                                                                                                                                              expected = (frame * duration * 1000 / frames),
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 day to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2870..2889

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

                                                                                                                                                                              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

                                                                                                                                                                                      getAttr: function(attr) {
                                                                                                                                                                                          var el = Ext.fly(this.el),
                                                                                                                                                                                              val = el.getStyle(attr),
                                                                                                                                                                                              a = offsetAttribute.exec(attr) || []
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 7 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2626..2636

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

                                                                                                                                                                              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

                                                                                                                                                                                  EXTLIB.Anim = {
                                                                                                                                                                                      motion : function(el, args, duration, easing, cb, scope) {
                                                                                                                                                                                          return this.run(el, args, duration, easing, cb, scope, Ext.lib.Motion);
                                                                                                                                                                                      },
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 7 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2585..2603

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

                                                                                                                                                                              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 parseColor(s) {    
                                                                                                                                                                                      var pi = parseInt,
                                                                                                                                                                                          base,
                                                                                                                                                                                          out = null,
                                                                                                                                                                                          c;
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 6 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3195..3214

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

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

                                                                                                                                                                                      isAncestor : function(p, c) {
                                                                                                                                                                                          var ret = false;
                                                                                                                                                                                          
                                                                                                                                                                                          p = Ext.getDom(p);
                                                                                                                                                                                          c = Ext.getDom(c);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 2 other locations - About 5 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1708..1725
                                                                                                                                                                              manager/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js on lines 1707..1724

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

                                                                                                                                                                              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

                                                                                                                                                                                      getAttr : function(attr) {
                                                                                                                                                                                          var me = this,
                                                                                                                                                                                              el = me.el,
                                                                                                                                                                                              val;                
                                                                                                                                                                                          if(colorRE.test(attr)){
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3217..3230

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

                                                                                                                                                                              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

                                                                                                                                                                                          stop: function(tween){
                                                                                                                                                                                              if(!tween){
                                                                                                                                                                                                  clearInterval(thread);
                                                                                                                                                                                                  for(var i = 0, len = queue.length; i < len; ++i){
                                                                                                                                                                                                      if(queue[0].isAnimated){
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2823..2838

                                                                                                                                                                              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

                                                                                                                                                                                          function after(){
                                                                                                                                                                                              o.useDisplay ? fly(dom).setDisplayed(FALSE) : fly(dom).hide();  
                                                                                                                                                                                              fly(dom).clearOpacity();
                                                                                                                                                                                              fly(dom).setPositioning(r.pos);
                                                                                                                                                                                              st.width = r.width;
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5849..5856

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

                                                                                                                                                                              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 after(){
                                                                                                                                                                                              o.useDisplay ? fly(dom).setDisplayed(FALSE) : fly(dom).hide();   
                                                                                                                                                                                              fly(dom).clearOpacity();
                                                                                                                                                                                              fly(dom).setPositioning(r.pos);
                                                                                                                                                                                              st.width = r.width;
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 4 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5587..5594

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

                                                                                                                                                                              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

                                                                                                                                                                                          "first-child" : function(c){
                                                                                                                                                                                              var r = [], ri = -1, n;
                                                                                                                                                                                              for(var i = 0, ci; ci = n = c[i]; i++){
                                                                                                                                                                                                  while((n = n.previousSibling) && n.nodeType != 1);
                                                                                                                                                                                                  if(!n){
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3343..3352

                                                                                                                                                                              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

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

                                                                                                                                                                                  EXTLIB.Easing = {
                                                                                                                                                                                      easeNone: function (t, b, c, d) {
                                                                                                                                                                                          return c * t / d + b;
                                                                                                                                                                                      },
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2918..2932

                                                                                                                                                                              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

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

                                                                                                                                                                                          "prev" : function(c, ss){
                                                                                                                                                                                              var is = Ext.DomQuery.is,
                                                                                                                                                                                                  r = [], ri = -1;
                                                                                                                                                                                              for(var i = 0, ci; ci = c[i]; i++){
                                                                                                                                                                                                  var n = prev(ci);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3488..3498

                                                                                                                                                                              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

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

                                                                                                                                                                                          "next" : function(c, ss){
                                                                                                                                                                                              var is = Ext.DomQuery.is,
                                                                                                                                                                                                  r = [], ri = -1;
                                                                                                                                                                                              for(var i = 0, ci; ci = c[i]; i++){
                                                                                                                                                                                                  var n = next(ci);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3500..3510

                                                                                                                                                                              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

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

                                                                                                                                                                                          "last-child" : function(c){
                                                                                                                                                                                              var r = [], ri = -1, n;
                                                                                                                                                                                              for(var i = 0, ci; ci = n = c[i]; i++){
                                                                                                                                                                                                  while((n = n.nextSibling) && n.nodeType != 1);
                                                                                                                                                                                                  if(!n){
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3332..3341

                                                                                                                                                                              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

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

                                                                                                                                                                                      setWidth : function(width, animate){
                                                                                                                                                                                          var me = this;
                                                                                                                                                                                          width = me.adjustWidth(width);
                                                                                                                                                                                          !animate || !me.anim ? 
                                                                                                                                                                                              me.dom.style.width = me.addUnits(width) :
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 4848..4855

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

                                                                                                                                                                              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

                                                                                                                                                                                       setHeight : function(height, animate){
                                                                                                                                                                                          var me = this;
                                                                                                                                                                                          height = me.adjustHeight(height);
                                                                                                                                                                                          !animate || !me.anim ? 
                                                                                                                                                                                              me.dom.style.height = me.addUnits(height) :
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 4838..4845

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

                                                                                                                                                                              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

                                                                                                                                                                                          setAttr: function(attr, val, unit){
                                                                                                                                                                                              var me = this,
                                                                                                                                                                                                  setAttr = superclass.setAttr;
                                                                                                                                                                                                  
                                                                                                                                                                                              if (pointsRe.test(attr)) {
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2947..2958

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

                                                                                                                                                                              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

                                                                                                                                                                                      getEvent : function(e) {
                                                                                                                                                                                          e = e || win.event;
                                                                                                                                                                                          if (!e) {
                                                                                                                                                                                              var c = this.getEvent.caller;
                                                                                                                                                                                              while (c) {
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2132..2145

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

                                                                                                                                                                              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(tween && tween.isAnimated){
                                                                                                                                                                                                      tf = tween.totalFrames;
                                                                                                                                                                                                      if(tween.curFrame < tf || tf === null){
                                                                                                                                                                                                          ++tween.curFrame;
                                                                                                                                                                                                          if(tween.useSec){
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2844..2855

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

                                                                                                                                                                              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(/select-(one|multiple)/i.test(type)){                            
                                                                                                                                                                                                          Ext.each(element.options, function(opt) {
                                                                                                                                                                                                              if (opt.selected) {
                                                                                                                                                                                                                  data += String.format("{0}={1}&",                                                           
                                                                                                                                                                                                                                       encoder(name),                                                         
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2494..2506

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

                                                                                                                                                                              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

                                                                                                                                                                                      animateX : function(callback, scope) {
                                                                                                                                                                                          var me = this,
                                                                                                                                                                                              f = function() {
                                                                                                                                                                                              me.onComplete.removeListener(f);
                                                                                                                                                                                              if (Ext.isFunction(callback)) {
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2643..2653

                                                                                                                                                                              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

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

                                                                                                                                                                                      adjustWidth : function(width) {
                                                                                                                                                                                          var me = this;      
                                                                                                                                                                                          if(typeof width == "number" && me.autoBoxAdjust && !me.isBorderBox()){
                                                                                                                                                                                             width -= (me.getBorderWidth("lr") + me.getPadding("lr"));
                                                                                                                                                                                             width = width < 0 ? 0 : width;
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 4655..4662

                                                                                                                                                                              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

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

                                                                                                                                                                                      adjustHeight : function(height) {
                                                                                                                                                                                          var me = this;      
                                                                                                                                                                                          if(typeof height == "number" && me.autoBoxAdjust && !me.isBorderBox()){
                                                                                                                                                                                             height -= (me.getBorderWidth("tb") + me.getPadding("tb"));
                                                                                                                                                                                             height = height < 0 ? 0 : height;
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 4645..4652

                                                                                                                                                                              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

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

                                                                                                                                                                                  if(Ext.isIE) {
                                                                                                                                                                                      function fnCleanUp() {
                                                                                                                                                                                          var p = Function.prototype;
                                                                                                                                                                                          delete p.createSequence;
                                                                                                                                                                                          delete p.defer;
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3339..3351

                                                                                                                                                                              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

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

                                                                                                                                                                                                  if(tm){
                                                                                                                                                                                                      if(tm[1] == "#"){
                                                                                                                                                                                                          fn[fn.length] = 'n = byId(n, null, "'+tm[2]+'");';
                                                                                                                                                                                                      }else{
                                                                                                                                                                                                          fn[fn.length] = 'n = byTag(n, "'+tm[2]+'");';
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3161..3170

                                                                                                                                                                              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

                                                                                                                                                                                                  if(tm){
                                                                                                                                                                                                      if(tm[1] == "#"){
                                                                                                                                                                                                          fn[fn.length] = 'n = quickId(n, mode, root, "'+tm[2]+'");';
                                                                                                                                                                                                      }else{
                                                                                                                                                                                                          fn[fn.length] = 'n = getNodes(n, mode, "'+tm[2]+'");';
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3172..3179

                                                                                                                                                                              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

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

                                                                                                                                                                                          doMethod: function(attr, start, end){
                                                                                                                                                                                              var me = this;
                                                                                                                                                                                              
                                                                                                                                                                                              return pointsRe.test(attr)
                                                                                                                                                                                                      ? EXTLIB.Bezier.getPosition(me.runAttrs[attr], me.method(me.curFrame, 0, 100, me.totalFrames) / 100)
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 3 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2967..2973

                                                                                                                                                                              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

                                                                                                                                                                                                  var me = this,
                                                                                                                                                                                                      el = this.el,
                                                                                                                                                                                                      points = this.attributes.points,
                                                                                                                                                                                                      control = points.control || [],
                                                                                                                                                                                                      from = points.from,
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2978..2990

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

                                                                                                                                                                              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() {
                                                                                                                                                                                                  if (conn && conn.readyState == 4) {
                                                                                                                                                                                                      clearInterval(poll[tId]);
                                                                                                                                                                                                      poll[tId] = null;
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2369..2380

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

                                                                                                                                                                              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

                                                                                                                                                                                          unRegister: function(tween, index){
                                                                                                                                                                                              tween._onComplete.fire();
                                                                                                                                                                                              index = index || getIndex(tween);
                                                                                                                                                                                              if (index != -1) {
                                                                                                                                                                                                  queue.splice(index, 1);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2805..2815

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

                                                                                                                                                                              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 (v) {
                                                                                                                                                                                                  try{
                                                                                                                                                                                                      scope =  v[ADJ_SCOPE] ? (v[ADJ_SCOPE] === true ? v[OBJ] : v[ADJ_SCOPE]) :  win;    
                                                                                                                                                                                                      v[FN].call(scope, EU.getEvent(e), v[OBJ]);
                                                                                                                                                                                                  }catch(e){}
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2181..2186

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

                                                                                                                                                                              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 translateValues = function(val, start) {
                                                                                                                                                                                          var pageXY = EXTLIB.Dom.getXY(this.el);
                                                                                                                                                                                          return [val[0] - pageXY[0] + start[0], val[1] - pageXY[1] + start[1]];
                                                                                                                                                                                      };
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3035..3038

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

                                                                                                                                                                              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

                                                                                                                                                                                      getWidth : function(contentWidth){
                                                                                                                                                                                          var w = this.dom.offsetWidth || 0;
                                                                                                                                                                                          w = !contentWidth ? w : w - this.getBorderWidth("lr") - this.getPadding("lr");
                                                                                                                                                                                          return w < 0 ? 0 : w;
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 4824..4828

                                                                                                                                                                              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

                                                                                                                                                                                      getHeight : function(contentHeight){
                                                                                                                                                                                          var h = this.dom.offsetHeight || 0;
                                                                                                                                                                                          h = !contentHeight ? h : h - this.getBorderWidth("tb") - this.getPadding("tb");
                                                                                                                                                                                          return h < 0 ? 0 : h;
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 4831..4835

                                                                                                                                                                              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

                                                                                                                                                                                      stopPropagation : function(){
                                                                                                                                                                                          var me = this;
                                                                                                                                                                                          if(me.browserEvent){
                                                                                                                                                                                              if(me.browserEvent.type == 'mousedown'){
                                                                                                                                                                                                  Ext.EventManager.stoppedMouseDownEvent.fire(me);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3891..3899

                                                                                                                                                                              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

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

                                                                                                                                                                                      stopEvent : function(){
                                                                                                                                                                                          var me = this;
                                                                                                                                                                                          if(me.browserEvent){
                                                                                                                                                                                              if(me.browserEvent.type == 'mousedown'){
                                                                                                                                                                                                  Ext.EventManager.stoppedMouseDownEvent.fire(me);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3909..3917

                                                                                                                                                                              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

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

                                                                                                                                                                                          var me = this,
                                                                                                                                                                                              a = this.attributes[attr],
                                                                                                                                                                                              to = a.to,
                                                                                                                                                                                              by = a.by,
                                                                                                                                                                                              from = a.from,
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 2 hrs to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2657..2664

                                                                                                                                                                              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

                                                                                                                                                                                          getAttr: function(attr){
                                                                                                                                                                                              var me = this,
                                                                                                                                                                                                  getAttr = superclass.getAttr;
                                                                                                                                                                                                  
                                                                                                                                                                                              return pointsRe.test(attr) ? [getAttr.call(me, 'left'), getAttr.call(me, 'top')] : getAttr.call(me, attr);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2960..2965

                                                                                                                                                                              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

                                                                                                                                                                                      setAttr: function(attr, val, unit) {
                                                                                                                                                                                          if (noNegatives.test(attr) && val < 0) {
                                                                                                                                                                                              val = 0;
                                                                                                                                                                                          }
                                                                                                                                                                                          Ext.fly(this.el, '_anim').setStyle(attr, val + unit);
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2618..2623

                                                                                                                                                                              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

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

                                                                                                                                                                                  getRight : function(local){
                                                                                                                                                                                      var me = this;
                                                                                                                                                                                      return !local ? me.getX() + me.getWidth() : (me.getLeft(true) + me.getWidth()) || 0;
                                                                                                                                                                                  },
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5024..5027

                                                                                                                                                                              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

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

                                                                                                                                                                                  getBottom : function(local){
                                                                                                                                                                                      var me = this;
                                                                                                                                                                                      return !local ? me.getY() + me.getHeight() : (me.getTop(true) + me.getHeight()) || 0;
                                                                                                                                                                                  },
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5013..5016

                                                                                                                                                                              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 EXTLIB = Ext.lib,
                                                                                                                                                                                      noNegatives = /width|height|opacity|padding/i,
                                                                                                                                                                                      offsetAttribute = /^((width|height)|(top|left))$/,
                                                                                                                                                                                      defaultUnit = /width|height|top$|bottom$|left$|right$/i,
                                                                                                                                                                                      offsetUnit =  /\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i,
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2573..2583

                                                                                                                                                                              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

                                                                                                                                                                                      function getConnectionObject() {
                                                                                                                                                                                          var o;          
                                                                                                                                                                              
                                                                                                                                                                                          try {
                                                                                                                                                                                              if (o = createXhrObject(pub.transactionId)) {
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2428..2439

                                                                                                                                                                              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

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

                                                                                                                                                                                  syncFx : function(){
                                                                                                                                                                                      var me = this;
                                                                                                                                                                                      me.fxDefaults = Ext.apply(me.fxDefaults || {}, {
                                                                                                                                                                                          block : FALSE,
                                                                                                                                                                                          concurrent : TRUE,
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5890..5898

                                                                                                                                                                              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

                                                                                                                                                                                  sequenceFx : function(){
                                                                                                                                                                                      var me = this;
                                                                                                                                                                                      me.fxDefaults = Ext.apply(me.fxDefaults || {}, {
                                                                                                                                                                                          block : FALSE,
                                                                                                                                                                                          concurrent : FALSE,
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5879..5887

                                                                                                                                                                              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

                                                                                                                                                                                      getViewportWidth : function() {
                                                                                                                                                                                          return !Ext.isStrict && !Ext.isOpera ? doc.body.clientWidth :
                                                                                                                                                                                                 Ext.isIE ? doc.documentElement.clientWidth : self.innerWidth;
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1749..1752

                                                                                                                                                                              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

                                                                                                                                                                                      onAvailable : function(p_id, p_fn, p_obj, p_override) {                
                                                                                                                                                                                          onAvailStack.push({ 
                                                                                                                                                                                              id:         p_id,
                                                                                                                                                                                              fn:         p_fn,
                                                                                                                                                                                              obj:        p_obj,
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2020..2030

                                                                                                                                                                              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

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

                                                                                                                                                                                          if (win.addEventListener) {
                                                                                                                                                                                              ret = function(el, eventName, fn, capture) {
                                                                                                                                                                                                  if (eventName == 'mouseenter') {
                                                                                                                                                                                                      fn = fn.createInterceptor(checkRelatedTarget);
                                                                                                                                                                                                      el.addEventListener('mouseover', fn, (capture));
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1878..1898

                                                                                                                                                                              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

                                                                                                                                                                                          b = {x: xy[0], y: xy[1], 0: xy[0], 1: xy[1], width: dom.offsetWidth, height: dom.offsetHeight};
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5469..5469

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

                                                                                                                                                                                      preventDefault : function(ev) {
                                                                                                                                                                                          ev = ev.browserEvent || ev;
                                                                                                                                                                                          if (ev.preventDefault) {
                                                                                                                                                                                              ev.preventDefault();
                                                                                                                                                                                          } else {
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 4 other locations - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2111..2118
                                                                                                                                                                              manager/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js on lines 1874..1881
                                                                                                                                                                              manager/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js on lines 1883..1890
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 975..982

                                                                                                                                                                              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

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

                                                                                                                                                                                          b = {x: xy[0], y: xy[1], 0: xy[0], 1: xy[1], width: dom.offsetWidth, height: dom.offsetHeight};
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5381..5381

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

                                                                                                                                                                                      stopPropagation : function(ev) {
                                                                                                                                                                                          ev = ev.browserEvent || ev;
                                                                                                                                                                                          if (ev.stopPropagation) {
                                                                                                                                                                                              ev.stopPropagation();
                                                                                                                                                                                          } else {
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 4 other locations - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2111..2118
                                                                                                                                                                              manager/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js on lines 1874..1881
                                                                                                                                                                              manager/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js on lines 1883..1890
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 984..991

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

                                                                                                                                                                                  var superclass = EXTLIB.ColorAnim.superclass,
                                                                                                                                                                                      colorRE = /color$/i,
                                                                                                                                                                                      transparentRE = /^transparent|rgba\(0, 0, 0, 0\)$/,
                                                                                                                                                                                      rgbRE = /^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,
                                                                                                                                                                                      hexRE= /^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3184..3192

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

                                                                                                                                                                                          var p, 
                                                                                                                                                                                              pe, 
                                                                                                                                                                                              b,
                                                                                                                                                                                              bt, 
                                                                                                                                                                                              bl,     
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1763..1774

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

                                                                                                                                                                                          if(lmode && lmode[1]){
                                                                                                                                                                                              fn[fn.length] = 'mode="'+lmode[1].replace(trimRe, "")+'";';
                                                                                                                                                                                              q = q.replace(lmode[1], "");
                                                                                                                                                                                          }
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3200..3203

                                                                                                                                                                              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

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

                                                                                                                                                                                              if(mm[1]){
                                                                                                                                                                                                  fn[fn.length] = 'mode="'+mm[1].replace(trimRe, "")+'";';
                                                                                                                                                                                                  q = q.replace(mm[1], "");
                                                                                                                                                                                              }
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3148..3151

                                                                                                                                                                              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 (win.removeEventListener) {
                                                                                                                                                                                              ret = function (el, eventName, fn, capture) {
                                                                                                                                                                                                  if (eventName == 'mouseenter') {
                                                                                                                                                                                                      eventName = 'mouseover'
                                                                                                                                                                                                  } else if (eventName == 'mouseleave') {
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1904..1919

                                                                                                                                                                              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 (!coord && 0 != coord) {
                                                                                                                                                                                          coord = ev['client' + xy] || 0;
                                                                                                                                                                              
                                                                                                                                                                                          if (Ext.isIE) {
                                                                                                                                                                                              coord += getScroll()[xy == "X" ? 0 : 1];
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2007..2013

                                                                                                                                                                              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(ex = El.cache[id]){
                                                                                                                                                                                          ex.dom = el;
                                                                                                                                                                                      }else{
                                                                                                                                                                                          ex = El.cache[id] = new El(el);
                                                                                                                                                                                      }
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 4254..4258

                                                                                                                                                                              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 (ex = El.cache[el]) {
                                                                                                                                                                                          ex.dom = elm;
                                                                                                                                                                                      } else {
                                                                                                                                                                                          ex = El.cache[el] = new El(elm);
                                                                                                                                                                                      }
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 4264..4268

                                                                                                                                                                              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

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

                                                                                                                                                                                              val = 'rgb(' + floor(val[0]) + ',' + floor(val[1]) + ',' + floor(val[2]) + ')';
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 1 hr to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3248..3248

                                                                                                                                                                              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

                                                                                                                                                                                  EXTLIB.Anim.color = function(el, args, duration, easing, cb, scope) {
                                                                                                                                                                                      return EXTLIB.Anim.run(el, args, duration, easing, cb, scope, EXTLIB.ColorAnim);
                                                                                                                                                                                  }
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 55 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3174..3176

                                                                                                                                                                              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

                                                                                                                                                                                      getViewportHeight: function(){
                                                                                                                                                                                          return Ext.isIE ? 
                                                                                                                                                                                                 (Ext.isStrict ? doc.documentElement.clientHeight : doc.body.clientHeight) :
                                                                                                                                                                                                 self.innerHeight;
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 55 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1743..1747

                                                                                                                                                                              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

                                                                                                                                                                                              while((n = n.nextSibling)){
                                                                                                                                                                                                  if (n.nodeName == utag || n.nodeName == tagName || tagName == '*'){
                                                                                                                                                                                                      result[++ri] = n;
                                                                                                                                                                                                  }
                                                                                                                                                                                              }
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 50 mins to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 2930..2934

                                                                                                                                                                              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

                                                                                                                                                                                              for(var j = 0, cj; cj = cn[j]; j++){
                                                                                                                                                                                                  if(cj.nodeName == utag || cj.nodeName == tagName  || tagName == '*'){
                                                                                                                                                                                                      result[++ri] = cj;
                                                                                                                                                                                                  }
                                                                                                                                                                                              }
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 50 mins to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 2947..2951

                                                                                                                                                                              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

                                                                                                                                                                                          registerElement: function(tween){
                                                                                                                                                                                              queue.push(tween);
                                                                                                                                                                                              ++tweenCount;
                                                                                                                                                                                              tween._onStart.fire();
                                                                                                                                                                                              me.start();
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 50 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2798..2803

                                                                                                                                                                              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

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

                                                                                                                                                                                  function startInterval() {            
                                                                                                                                                                                      if(!_interval){                    
                                                                                                                                                                                          var callback = function() {
                                                                                                                                                                                              _tryPreloadAttach();
                                                                                                                                                                                          };
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 50 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1981..1988

                                                                                                                                                                              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

                                                                                                                                                                                  function fly(el) {
                                                                                                                                                                                      if (!libFlyweight) {
                                                                                                                                                                                          libFlyweight = new Ext.Element.Flyweight();
                                                                                                                                                                                      }
                                                                                                                                                                                      libFlyweight.dom = el;
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 45 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1692..1698

                                                                                                                                                                              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

                                                                                                                                                                                          function setTheHeaders(conn, headers){
                                                                                                                                                                                               for (prop in headers) {
                                                                                                                                                                                                  if (headers.hasOwnProperty(prop)) {
                                                                                                                                                                                                      conn.setRequestHeader(prop, headers[prop]);
                                                                                                                                                                                                  }
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 45 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2226..2232

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

                                                                                                                                                                                      getDocumentHeight: function() {            
                                                                                                                                                                                          return MAX(!isCSS1 ? doc.body.scrollHeight : doc.documentElement.scrollHeight, this.getViewportHeight());
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 3 other locations - About 40 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1735..1737
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1739..1741
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 565..567

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

                                                                                                                                                                                      getDocumentWidth: function() {            
                                                                                                                                                                                          return MAX(!isCSS1 ? doc.body.scrollWidth : doc.documentElement.scrollWidth, this.getViewportWidth());
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 3 other locations - About 40 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1735..1737
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 1739..1741
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 561..563

                                                                                                                                                                              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

                                                                                                                                                                                          isCallInProgress : function(o) {
                                                                                                                                                                                              // if there is a connection and readyState is not 0 or 4
                                                                                                                                                                                              return o.conn && !{0:true,4:true}[o.conn.readyState];            
                                                                                                                                                                                          }
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 40 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2566..2569

                                                                                                                                                                              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

                                                                                                                                                                                      getTarget : function(ev) {
                                                                                                                                                                                          ev = ev.browserEvent || ev;                
                                                                                                                                                                                          return this.resolveTextNode(ev.target || ev.srcElement);
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 40 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2067..2070

                                                                                                                                                                              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

                                                                                                                                                                                      for(var i = 0, len = c1.length; i < len; i++){
                                                                                                                                                                                         c1[i].removeAttribute("_qdiff");
                                                                                                                                                                                      }
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 35 mins to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3046..3048

                                                                                                                                                                              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

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

                                                                                                                                                                                      for(var i = 0, len = cs.length; i < len; i++){
                                                                                                                                                                                          cs[i].removeAttribute("_nodup");
                                                                                                                                                                                      }
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 35 mins to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 3096..3098

                                                                                                                                                                              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

                                                                                                                                                                                  EXTLIB.ColorAnim = function(el, attributes, duration, method) {
                                                                                                                                                                                      EXTLIB.ColorAnim.superclass.constructor.call(this, el, attributes, duration, method);
                                                                                                                                                                                  };
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 35 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 3178..3180

                                                                                                                                                                              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

                                                                                                                                                                                          Ext.apply(ra, {
                                                                                                                                                                                              start: start,
                                                                                                                                                                                              end: end,
                                                                                                                                                                                              unit: isset(unit) ? unit : me.getDefaultUnit(attr)
                                                                                                                                                                                          });
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 35 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2684..2688

                                                                                                                                                                              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

                                                                                                                                                                                      doMethod: function(attr, start, end) {
                                                                                                                                                                                          var me = this;
                                                                                                                                                                                          return me.method(me.curFrame, start, end - start, me.totalFrames);
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 35 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2612..2615

                                                                                                                                                                              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

                                                                                                                                                                                  getTop : function(local) {
                                                                                                                                                                                      return !local ? this.getY() : parseInt(this.getStyle(TOP), 10) || 0;
                                                                                                                                                                                  },
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 35 mins to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5008..5010

                                                                                                                                                                              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

                                                                                                                                                                                  getLeft : function(local){
                                                                                                                                                                                      return !local ? this.getX() : parseInt(this.getStyle(LEFT), 10) || 0;
                                                                                                                                                                                  },
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 35 mins to fix
                                                                                                                                                                              setup/assets/js/ext-core-debug.js on lines 5019..5021

                                                                                                                                                                              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

                                                                                                                                                                                      getCharCode : function(ev) {
                                                                                                                                                                                          ev = ev.browserEvent || ev;
                                                                                                                                                                                          return ev.charCode || ev.keyCode || 0;
                                                                                                                                                                                      },
                                                                                                                                                                              Severity: Minor
                                                                                                                                                                              Found in setup/assets/js/ext-core-debug.js and 1 other location - About 30 mins to fix
                                                                                                                                                                              manager/assets/ext3/adapter/ext/ext-base-debug.js on lines 2147..2150

                                                                                                                                                                              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