oplik0/cherrydoor

View on GitHub
cherrydoor/static/components/VueTimepicker.js

Summary

Maintainability
F
2 mos
Test Coverage

File VueTimepicker.js has 5224 lines of code (exceeds 250 allowed). Consider refactoring.
Open

(function webpackUniversalModuleDefinition(root, factory) {
    if(typeof exports === 'object' && typeof module === 'object')
        module.exports = factory(require("vue"));
    else if(typeof define === 'function' && define.amd)
        define([], factory);
Severity: Major
Found in cherrydoor/static/components/VueTimepicker.js - About 2 wks to fix

    Function fb15 has 2515 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    /***/ (function(module, __webpack_exports__, __webpack_require__) {
    
    "use strict";
    // ESM COMPAT FLAG
    __webpack_require__.r(__webpack_exports__);
    Severity: Major
    Found in cherrydoor/static/components/VueTimepicker.js - About 1 wk to fix

      Function render has 394 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function render(_ctx, _cache, $props, $setup, $data, $options) {
        return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
          class: "vue__time-picker time-picker",
          style: $options.inputWidthStyle
        }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("input", {
      Severity: Major
      Found in cherrydoor/static/components/VueTimepicker.js - About 1 day to fix

        Function a4d3 has 250 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        /***/ (function(module, exports, __webpack_require__) {
        
        "use strict";
        
        var $ = __webpack_require__("23e7");
        Severity: Major
        Found in cherrydoor/static/components/VueTimepicker.js - About 1 day to fix

          Function 5319 has 111 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          /***/ (function(module, exports, __webpack_require__) {
          
          "use strict";
          
          var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
          Severity: Major
          Found in cherrydoor/static/components/VueTimepicker.js - About 4 hrs to fix

            Function 1276 has 109 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            /***/ (function(module, exports, __webpack_require__) {
            
            "use strict";
            
            var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
            Severity: Major
            Found in cherrydoor/static/components/VueTimepicker.js - About 4 hrs to fix

              Function a1f0 has 98 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              /***/ (function(module, exports, __webpack_require__) {
              
              "use strict";
              
              var $ = __webpack_require__("23e7");
              Severity: Major
              Found in cherrydoor/static/components/VueTimepicker.js - About 3 hrs to fix

                Function d784 has 87 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                /***/ (function(module, exports, __webpack_require__) {
                
                "use strict";
                
                // TODO: Remove from `core-js@4` since it's moved to entry points
                Severity: Major
                Found in cherrydoor/static/components/VueTimepicker.js - About 3 hrs to fix

                  Function opts has 85 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      opts: function opts() {
                        var options = Object.assign({}, DEFAULT_OPTIONS);
                  
                        if (this.format && this.format.length) {
                          options.format = String(this.format);
                  Severity: Major
                  Found in cherrydoor/static/components/VueTimepicker.js - About 3 hrs to fix

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

                        readStringValues: function readStringValues(stringValue) {
                          var _this7 = this;
                    
                          // Failsafe for empty `v-model` string
                          if (!stringValue || !stringValue.length) {
                    Severity: Major
                    Found in cherrydoor/static/components/VueTimepicker.js - About 3 hrs to fix

                      Function fillValues has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          fillValues: function fillValues(forceEmit) {
                            var _this9 = this;
                      
                            var fullValues = {};
                            var baseHour = this.hour;
                      Severity: Major
                      Found in cherrydoor/static/components/VueTimepicker.js - About 3 hrs to fix

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

                        /***/ (function(module, exports, __webpack_require__) {
                        
                        "use strict";
                        
                        var $ = __webpack_require__("23e7");
                        Severity: Major
                        Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                          /***/ (function(module, exports, __webpack_require__) {
                          
                          var DESCRIPTORS = __webpack_require__("83ab");
                          var global = __webpack_require__("da84");
                          var isForced = __webpack_require__("94ca");
                          Severity: Major
                          Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

                            Function a9e3 has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            /***/ (function(module, exports, __webpack_require__) {
                            
                            "use strict";
                            
                            var DESCRIPTORS = __webpack_require__("83ab");
                            Severity: Major
                            Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                              /***/ (function(module, exports, __webpack_require__) {
                              
                              "use strict";
                              
                              var $ = __webpack_require__("23e7");
                              Severity: Major
                              Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                                /***/ (function(module, exports, __webpack_require__) {
                                
                                "use strict";
                                
                                var regexpFlags = __webpack_require__("ad6d");
                                Severity: Major
                                Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                                  /***/ (function(module, exports, __webpack_require__) {
                                  
                                  var NATIVE_WEAK_MAP = __webpack_require__("7f9a");
                                  var global = __webpack_require__("da84");
                                  var isObject = __webpack_require__("861d");
                                  Severity: Major
                                  Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                                    /***/ (function(module, exports, __webpack_require__) {
                                    
                                    var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
                                    // MIT license
                                    // source: https://github.com/amiller-gh/currentScript-polyfill
                                    Severity: Major
                                    Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                                      /***/ (function(module, exports, __webpack_require__) {
                                      
                                      var anObject = __webpack_require__("825a");
                                      var defineProperties = __webpack_require__("37e8");
                                      var enumBugKeys = __webpack_require__("7839");
                                      Severity: Major
                                      Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                                        module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
                                          createIteratorConstructor(IteratorConstructor, NAME, next);
                                        
                                          var getIterationMethod = function (KIND) {
                                            if (KIND === DEFAULT && defaultIterator) return defaultIterator;
                                        Severity: Major
                                        Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                                          module.exports = function (KEY, length, exec, sham) {
                                            var SYMBOL = wellKnownSymbol(KEY);
                                          
                                            var DELEGATES_TO_SYMBOL = !fails(function () {
                                              // String methods call symbol-named RegEp methods
                                          Severity: Major
                                          Found in cherrydoor/static/components/VueTimepicker.js - About 2 hrs to fix

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

                                                renderRangeList: function renderRangeList(rawRange, section) {
                                                  var _this10 = this;
                                            
                                                  if (!rawRange || !section || !this.isMinuteOrSecond(section)) {
                                                    return [];
                                            Severity: Minor
                                            Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                              function _createForOfIteratorHelper(o, allowArrayLike) {
                                                var it;
                                              
                                                if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
                                                  if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
                                              Severity: Minor
                                              Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                /***/ (function(module, exports, __webpack_require__) {
                                                
                                                var bind = __webpack_require__("0366");
                                                var IndexedObject = __webpack_require__("44ad");
                                                var toObject = __webpack_require__("7b0b");
                                                Severity: Minor
                                                Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                      hourRangeIn24HrFormat: function hourRangeIn24HrFormat() {
                                                        var _this2 = this;
                                                  
                                                        if (!this.hourType || !this.opts.hourRange) {
                                                          return false;
                                                  Severity: Minor
                                                  Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                    /***/ (function(module, exports, __webpack_require__) {
                                                    
                                                    "use strict";
                                                    
                                                    var $ = __webpack_require__("23e7");
                                                    Severity: Minor
                                                    Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                          debugLog: function debugLog(logText) {
                                                            var _this20 = this;
                                                      
                                                            if (!logText || !logText.length) {
                                                              return;
                                                      Severity: Minor
                                                      Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                        /***/ (function(module, exports, __webpack_require__) {
                                                        
                                                        "use strict";
                                                        
                                                        var DESCRIPTORS = __webpack_require__("83ab");
                                                        Severity: Minor
                                                        Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                            splice: function splice(start, deleteCount /* , ...items */) {
                                                              var O = toObject(this);
                                                              var len = toLength(O.length);
                                                              var actualStart = toAbsoluteIndex(start, len);
                                                              var argumentsLength = arguments.length;
                                                          Severity: Minor
                                                          Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                              function getCurrentScript () {
                                                                var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
                                                                // for chrome
                                                                if (!descriptor && 'currentScript' in document && document.currentScript) {
                                                                  return document.currentScript
                                                            Severity: Minor
                                                            Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                patchedExec = function exec(str) {
                                                                  var re = this;
                                                                  var lastIndex, reCopy, match, i;
                                                                  var sticky = UNSUPPORTED_Y && re.sticky;
                                                                  var flags = regexpFlags.call(re);
                                                              Severity: Minor
                                                              Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                    toggleActive: function toggleActive() {
                                                                      var _this11 = this;
                                                                
                                                                      if (this.disabled) {
                                                                        return;
                                                                Severity: Minor
                                                                Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                  /***/ (function(module, exports, __webpack_require__) {
                                                                  
                                                                  "use strict";
                                                                  
                                                                  var $ = __webpack_require__("23e7");
                                                                  Severity: Minor
                                                                  Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                    /***/ (function(module, exports, __webpack_require__) {
                                                                    
                                                                    "use strict";
                                                                    // `Symbol.prototype.description` getter
                                                                    // https://tc39.github.io/ecma262/#sec-symbol.prototype.description
                                                                    Severity: Minor
                                                                    Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                          setKbInput: function setKbInput(value) {
                                                                            value = value || this.kbInputLog;
                                                                            var currentChunk = this.getCurrentTokenChunk();
                                                                      
                                                                            if (!currentChunk || !value || !value.length) {
                                                                      Severity: Minor
                                                                      Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                            tokenChunksPos: function tokenChunksPos() {
                                                                              var _this4 = this;
                                                                        
                                                                              if (!this.manualInput) {
                                                                                return false;
                                                                        Severity: Minor
                                                                        Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                          /***/ (function(module, exports, __webpack_require__) {
                                                                          
                                                                          var global = __webpack_require__("da84");
                                                                          var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
                                                                          var createNonEnumerableProperty = __webpack_require__("9112");
                                                                          Severity: Minor
                                                                          Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                            /***/ (function(module, exports, __webpack_require__) {
                                                                            
                                                                            "use strict";
                                                                            
                                                                            var bind = __webpack_require__("0366");
                                                                            Severity: Minor
                                                                            Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                              /***/ (function(module, exports, __webpack_require__) {
                                                                              
                                                                              "use strict";
                                                                              
                                                                              var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
                                                                              Severity: Minor
                                                                              Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                    validHoursList: function validHoursList() {
                                                                                      var _this3 = this;
                                                                                
                                                                                      if (!this.manualInput) {
                                                                                        return false;
                                                                                Severity: Minor
                                                                                Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

                                                                                  Consider simplifying this complex logical expression.
                                                                                  Open

                                                                                        if (this.inUse.hour && !this.hour || this.inUse.minute && !this.minute || this.inUse.second && !this.second || this.inUse.apm && !this.apm) {
                                                                                          return false;
                                                                                        }
                                                                                  Severity: Critical
                                                                                  Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

                                                                                    Consider simplifying this complex logical expression.
                                                                                    Open

                                                                                      if (
                                                                                        !DELEGATES_TO_SYMBOL ||
                                                                                        !DELEGATES_TO_EXEC ||
                                                                                        (KEY === 'replace' && !(
                                                                                          REPLACE_SUPPORTS_NAMED_GROUPS &&
                                                                                    Severity: Critical
                                                                                    Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                      /***/ (function(module, exports) {
                                                                                      
                                                                                      // iterable DOM collections
                                                                                      // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
                                                                                      module.exports = {
                                                                                      Severity: Minor
                                                                                      Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                        /***/ (function(module, exports, __webpack_require__) {
                                                                                        
                                                                                        var wellKnownSymbol = __webpack_require__("b622");
                                                                                        
                                                                                        var ITERATOR = wellKnownSymbol('iterator');
                                                                                        Severity: Minor
                                                                                        Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                          /***/ (function(module, exports, __webpack_require__) {
                                                                                          
                                                                                          "use strict";
                                                                                          
                                                                                          var toIndexedObject = __webpack_require__("fc6a");
                                                                                          Severity: Minor
                                                                                          Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                            /***/ (function(module, exports, __webpack_require__) {
                                                                                            
                                                                                            var global = __webpack_require__("da84");
                                                                                            var createNonEnumerableProperty = __webpack_require__("9112");
                                                                                            var has = __webpack_require__("5135");
                                                                                            Severity: Minor
                                                                                            Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                              var createMethod = function (TYPE) {
                                                                                                var IS_MAP = TYPE == 1;
                                                                                                var IS_FILTER = TYPE == 2;
                                                                                                var IS_SOME = TYPE == 3;
                                                                                                var IS_EVERY = TYPE == 4;
                                                                                              Severity: Minor
                                                                                              Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                    getClosestHourItem: function getClosestHourItem(currentValue) {
                                                                                                      var _this18 = this;
                                                                                                
                                                                                                      var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'U';
                                                                                                
                                                                                                
                                                                                                Severity: Minor
                                                                                                Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                    function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
                                                                                                      var tailPos = position + matched.length;
                                                                                                      var m = captures.length;
                                                                                                      var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
                                                                                                      if (namedCaptures !== undefined) {
                                                                                                  Severity: Minor
                                                                                                  Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                    /***/ (function(module, exports, __webpack_require__) {
                                                                                                    
                                                                                                    var global = __webpack_require__("da84");
                                                                                                    var DOMIterables = __webpack_require__("fdbc");
                                                                                                    var ArrayIteratorMethods = __webpack_require__("e260");
                                                                                                    Severity: Minor
                                                                                                    Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                          getTokenRegex: function getTokenRegex(token) {
                                                                                                            switch (token) {
                                                                                                              case 'HH':
                                                                                                                return '([01][0-9]|2[0-3]|H{2})';
                                                                                                      
                                                                                                      
                                                                                                      Severity: Minor
                                                                                                      Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                            tokenChunks: function tokenChunks() {
                                                                                                              if (!this.manualInput && !this.useStringValue) {
                                                                                                                return false;
                                                                                                              }
                                                                                                        
                                                                                                        
                                                                                                        Severity: Minor
                                                                                                        Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                              polyfillMatchAll: function polyfillMatchAll(targetString, regxStr) {
                                                                                                                var matchesList = targetString.match(new RegExp(regxStr, 'g'));
                                                                                                                var result = [];
                                                                                                                var indicesReg = [];
                                                                                                          
                                                                                                          
                                                                                                          Severity: Minor
                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                              data: function data() {
                                                                                                                return {
                                                                                                                  timeValue: {},
                                                                                                                  hours: [],
                                                                                                                  minutes: [],
                                                                                                            Severity: Minor
                                                                                                            Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                              module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
                                                                                                                var O = toObject(arrayLike);
                                                                                                                var C = typeof this == 'function' ? this : Array;
                                                                                                                var argumentsLength = arguments.length;
                                                                                                                var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
                                                                                                              Severity: Minor
                                                                                                              Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                                module.exports = function (options, source) {
                                                                                                                  var TARGET = options.target;
                                                                                                                  var GLOBAL = options.global;
                                                                                                                  var STATIC = options.stat;
                                                                                                                  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
                                                                                                                Severity: Minor
                                                                                                                Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                                      formatValue: function formatValue(token, i) {
                                                                                                                        if (!this.isNumber(i)) {
                                                                                                                          return '';
                                                                                                                        }
                                                                                                                  
                                                                                                                  
                                                                                                                  Severity: Minor
                                                                                                                  Found in cherrydoor/static/components/VueTimepicker.js - About 1 hr to fix

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

                                                                                                                    module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
                                                                                                                    Severity: Major
                                                                                                                    Found in cherrydoor/static/components/VueTimepicker.js - About 50 mins to fix

                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                      Open

                                                                                                                              if (code < 48 || code > maxCode) return NaN;
                                                                                                                      Severity: Major
                                                                                                                      Found in cherrydoor/static/components/VueTimepicker.js - About 45 mins to fix

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

                                                                                                                        function render(_ctx, _cache, $props, $setup, $data, $options) {
                                                                                                                        Severity: Minor
                                                                                                                        Found in cherrydoor/static/components/VueTimepicker.js - About 45 mins to fix

                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                          Open

                                                                                                                                if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
                                                                                                                                  createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
                                                                                                                                } catch (error) {
                                                                                                                                  CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
                                                                                                                                }
                                                                                                                          Severity: Major
                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js - About 45 mins to fix

                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                            Open

                                                                                                                                    } else if (IS_EVERY) return false;  // every
                                                                                                                            Severity: Major
                                                                                                                            Found in cherrydoor/static/components/VueTimepicker.js - About 45 mins to fix

                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                              Open

                                                                                                                                      else if (result) switch (TYPE) {
                                                                                                                                        case 3: return true;              // some
                                                                                                                                        case 5: return value;             // find
                                                                                                                                        case 6: return index;             // findIndex
                                                                                                                                        case 2: push.call(target, value); // filter
                                                                                                                              Severity: Major
                                                                                                                              Found in cherrydoor/static/components/VueTimepicker.js - About 45 mins to fix

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

                                                                                                                                  function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
                                                                                                                                Severity: Minor
                                                                                                                                Found in cherrydoor/static/components/VueTimepicker.js - About 45 mins to fix

                                                                                                                                  Consider simplifying this complex logical expression.
                                                                                                                                  Open

                                                                                                                                    if (
                                                                                                                                      'abbc'.split(/(b)*/)[1] == 'c' ||
                                                                                                                                      'test'.split(/(?:)/, -1).length != 4 ||
                                                                                                                                      'ab'.split(/(?:ab)*/).length != 2 ||
                                                                                                                                      '.'.split(/(.?)(.?)/).length != 4 ||
                                                                                                                                  Severity: Major
                                                                                                                                  Found in cherrydoor/static/components/VueTimepicker.js - About 40 mins to fix

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

                                                                                                                                        var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
                                                                                                                                    Severity: Minor
                                                                                                                                    Found in cherrydoor/static/components/VueTimepicker.js - About 35 mins to fix

                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                      Open

                                                                                                                                                return scripts[i];
                                                                                                                                      Severity: Major
                                                                                                                                      Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                        Open

                                                                                                                                              return this.hours;
                                                                                                                                        Severity: Major
                                                                                                                                        Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                          Open

                                                                                                                                                    return i < 10 ? "0".concat(i) : String(i);
                                                                                                                                          Severity: Major
                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                            Open

                                                                                                                                                        if (A.length === lim) return A;
                                                                                                                                            Severity: Major
                                                                                                                                            Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                              Open

                                                                                                                                                    return !this.restrictedHourRange.includes(+value);
                                                                                                                                              Severity: Major
                                                                                                                                              Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                Open

                                                                                                                                                      return capture === undefined ? '' : capture;
                                                                                                                                                Severity: Major
                                                                                                                                                Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                  Open

                                                                                                                                                            return !this.has[this.lowerCasedApm(value)];
                                                                                                                                                  Severity: Major
                                                                                                                                                  Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                    Open

                                                                                                                                                          return siblingsInCol[selfIndex + 1];
                                                                                                                                                    Severity: Major
                                                                                                                                                    Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                      Open

                                                                                                                                                            return A;
                                                                                                                                                      Severity: Major
                                                                                                                                                      Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                        Open

                                                                                                                                                              return null;
                                                                                                                                                        Severity: Major
                                                                                                                                                        Found in cherrydoor/static/components/VueTimepicker.js - About 30 mins to fix

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

                                                                                                                                                              ))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'minute' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
                                                                                                                                                                key: column,
                                                                                                                                                                class: "minutes",
                                                                                                                                                                tabindex: "-1",
                                                                                                                                                                onScroll: _cache[29] || (_cache[29] = function () {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 5 days to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4736..4786
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4836..4886

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 927.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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

                                                                                                                                                              return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [column === 'hour' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
                                                                                                                                                                key: column,
                                                                                                                                                                class: "hours",
                                                                                                                                                                tabindex: "-1",
                                                                                                                                                                onScroll: _cache[23] || (_cache[23] = function () {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 5 days to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4786..4836
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4836..4886

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 927.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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

                                                                                                                                                              ))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'second' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
                                                                                                                                                                key: column,
                                                                                                                                                                class: "seconds",
                                                                                                                                                                tabindex: "-1",
                                                                                                                                                                onScroll: _cache[35] || (_cache[35] = function () {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 5 days to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4736..4786
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4786..4836

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 927.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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

                                                                                                                                                              ))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'second' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
                                                                                                                                                                key: column,
                                                                                                                                                                class: "seconds",
                                                                                                                                                                onScroll: _cache[16] || (_cache[16] = function () {
                                                                                                                                                                  return $options.keepFocusing.apply($options, arguments);
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 2 days to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4624..4650
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4650..4676

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 407.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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

                                                                                                                                                              return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [column === 'hour' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
                                                                                                                                                                key: column,
                                                                                                                                                                class: "hours",
                                                                                                                                                                onScroll: _cache[14] || (_cache[14] = function () {
                                                                                                                                                                  return $options.keepFocusing.apply($options, arguments);
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 2 days to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4650..4676
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4676..4702

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 407.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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

                                                                                                                                                              ))], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), column === 'minute' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
                                                                                                                                                                key: column,
                                                                                                                                                                class: "minutes",
                                                                                                                                                                onScroll: _cache[15] || (_cache[15] = function () {
                                                                                                                                                                  return $options.keepFocusing.apply($options, arguments);
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 2 days to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4624..4650
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4676..4702

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 407.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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 (!options.minuteInterval || options.minuteInterval < 1 || options.minuteInterval > 60) {
                                                                                                                                                                  if (this.debugMode) {
                                                                                                                                                                    if (options.minuteInterval > 60) {
                                                                                                                                                                      this.debugLog("\"minute-interval\" should be less than 60. Current value is ".concat(this.minuteInterval));
                                                                                                                                                                    } else if (options.minuteInterval === 0 || options.minuteInterval < 1) {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 7 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5408..5422

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                                if (!options.secondInterval || options.secondInterval < 1 || options.secondInterval > 60) {
                                                                                                                                                                  if (this.debugMode) {
                                                                                                                                                                    if (options.secondInterval > 60) {
                                                                                                                                                                      this.debugLog("\"second-interval\" should be less than 60. Current value is ".concat(this.secondInterval));
                                                                                                                                                                    } else if (options.secondInterval === 0 || options.secondInterval < 1) {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 7 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5387..5401

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                          /***/ "4de4":
                                                                                                                                                          /***/ (function(module, exports, __webpack_require__) {
                                                                                                                                                          
                                                                                                                                                          "use strict";
                                                                                                                                                          
                                                                                                                                                          
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 7 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 4089..4113

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 177.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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

                                                                                                                                                          /***/ "d81d":
                                                                                                                                                          /***/ (function(module, exports, __webpack_require__) {
                                                                                                                                                          
                                                                                                                                                          "use strict";
                                                                                                                                                          
                                                                                                                                                          
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 7 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 1207..1231

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 177.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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

                                                                                                                                                              getFirstItemInSideColumn: function getFirstItemInSideColumn(currentColumn) {
                                                                                                                                                                var toLeft = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
                                                                                                                                                                var targetColumn = this.getSideColumnName(currentColumn, toLeft);
                                                                                                                                                          
                                                                                                                                                                if (!targetColumn) {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 3 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6864..6877

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                              getActiveItemInSideColumn: function getActiveItemInSideColumn(currentColumn) {
                                                                                                                                                                var toLeft = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
                                                                                                                                                                var targetColumn = this.getSideColumnName(currentColumn, toLeft);
                                                                                                                                                          
                                                                                                                                                                if (!targetColumn) {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 3 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6850..6863

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                                if (this.inUse.second && !this.isEmptyValue(this.secondType, this.second) && (!this.isValidValue(this.secondType, this.second) || this.isDisabled('second', this.second) || this.notInInterval('second', this.second))) {
                                                                                                                                                                  result.push('second');
                                                                                                                                                                }
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 3 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5885..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 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

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

                                                                                                                                                                if (this.inUse.minute && !this.isEmptyValue(this.minuteType, this.minute) && (!this.isValidValue(this.minuteType, this.minute) || this.isDisabled('minute', this.minute) || this.notInInterval('minute', this.minute))) {
                                                                                                                                                                  result.push('minute');
                                                                                                                                                                }
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 3 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5889..5891

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

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

                                                                                                                                                                if (this.minuteRange && Array.isArray(this.minuteRange)) {
                                                                                                                                                                  options.minuteRange = JSON.parse(JSON.stringify(this.minuteRange));
                                                                                                                                                          
                                                                                                                                                                  if (!this.minuteRange.length && this.debugMode) {
                                                                                                                                                                    this.debugLog('The "minute-range" array is empty (length === 0)');
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5424..5430
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5440..5446

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

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

                                                                                                                                                                if (this.secondRange && Array.isArray(this.secondRange)) {
                                                                                                                                                                  options.secondRange = JSON.parse(JSON.stringify(this.secondRange));
                                                                                                                                                          
                                                                                                                                                                  if (!this.secondRange.length && this.debugMode) {
                                                                                                                                                                    this.debugLog('The "second-range" array is empty (length === 0)');
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5424..5430
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5432..5438

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

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

                                                                                                                                                                if (this.hourRange && Array.isArray(this.hourRange)) {
                                                                                                                                                                  options.hourRange = JSON.parse(JSON.stringify(this.hourRange));
                                                                                                                                                          
                                                                                                                                                                  if (!this.hourRange.length && this.debugMode) {
                                                                                                                                                                    this.debugLog('The "hour-range" array is empty (length === 0)');
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 2 other locations - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5432..5438
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5440..5446

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

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

                                                                                                                                                              prevItem: function prevItem(column, dataKey) {
                                                                                                                                                                var isManualInput = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
                                                                                                                                                                var targetItem = this.getClosestSibling(column, dataKey, true);
                                                                                                                                                          
                                                                                                                                                                if (targetItem) {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6822..6829

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 91.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                              nextItem: function nextItem(column, dataKey) {
                                                                                                                                                                var isManualInput = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
                                                                                                                                                                var targetItem = this.getClosestSibling(column, dataKey, false);
                                                                                                                                                          
                                                                                                                                                                if (targetItem) {
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6814..6821

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 91.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                                if (this.inUse.hour && !this.isEmptyValue(this.hourType, this.hour) && (!this.isValidValue(this.hourType, this.hour) || this.isDisabled('hour', this.hour))) {
                                                                                                                                                                  result.push('hour');
                                                                                                                                                                }
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5893..5895

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 (this.inUse.apm && !this.isEmptyValue(this.apmType, this.apm) && (!this.isValidValue(this.apmType, this.apm) || this.isDisabled('apm', this.apm))) {
                                                                                                                                                                  result.push('apm');
                                                                                                                                                                }
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5881..5883

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                              minuteRangeList: function minuteRangeList() {
                                                                                                                                                                if (!this.minuteType || !this.opts.minuteRange) {
                                                                                                                                                                  return false;
                                                                                                                                                                }
                                                                                                                                                          
                                                                                                                                                          
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5744..5754

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 87.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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

                                                                                                                                                              secondRangeList: function secondRangeList() {
                                                                                                                                                                if (!this.secondType || !this.opts.secondRange) {
                                                                                                                                                                  return false;
                                                                                                                                                                }
                                                                                                                                                          
                                                                                                                                                          
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5733..5743

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 87.

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

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

                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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 split(separator, limit) {
                                                                                                                                                                var O = requireObjectCoercible(this);
                                                                                                                                                                var splitter = separator == undefined ? undefined : separator[SPLIT];
                                                                                                                                                                return splitter !== undefined
                                                                                                                                                                  ? splitter.call(separator, O, limit)
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 1343..1349

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                              function replace(searchValue, replaceValue) {
                                                                                                                                                                var O = requireObjectCoercible(this);
                                                                                                                                                                var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
                                                                                                                                                                return replacer !== undefined
                                                                                                                                                                  ? replacer.call(searchValue, O, replaceValue)
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 2 hrs to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 297..303

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                          exports.UNSUPPORTED_Y = fails(function () {
                                                                                                                                                            // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
                                                                                                                                                            var re = RE('a', 'y');
                                                                                                                                                            re.lastIndex = 2;
                                                                                                                                                            return re.exec('abcd') != null;
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 1 hr to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 2564..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 59.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                              toLeftColumn: function toLeftColumn(currentColumn) {
                                                                                                                                                                var targetItem = this.getActiveItemInSideColumn(currentColumn, true) || this.getFirstItemInSideColumn(currentColumn, true);
                                                                                                                                                          
                                                                                                                                                                if (targetItem) {
                                                                                                                                                                  targetItem.focus();
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 1 hr to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6885..6891

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 59.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                          exports.BROKEN_CARET = fails(function () {
                                                                                                                                                            // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
                                                                                                                                                            var re = RE('^r', 'gy');
                                                                                                                                                            re.lastIndex = 2;
                                                                                                                                                            return re.exec('str') != null;
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 1 hr to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 2557..2562

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 59.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                              toRightColumn: function toRightColumn(currentColumn) {
                                                                                                                                                                var targetItem = this.getActiveItemInSideColumn(currentColumn, false) || this.getFirstItemInSideColumn(currentColumn, false);
                                                                                                                                                          
                                                                                                                                                                if (targetItem) {
                                                                                                                                                                  targetItem.focus();
                                                                                                                                                          Severity: Major
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 1 hr to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6878..6884

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 59.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                              activeItemInCol: function activeItemInCol(column) {
                                                                                                                                                                var columnClass = "".concat(column, "s");
                                                                                                                                                                return this.$el.querySelectorAll("ul.".concat(columnClass, " > li.active:not(.hint)"));
                                                                                                                                                              },
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 55 mins to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6779..6782

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                              validItemsInCol: function validItemsInCol(column) {
                                                                                                                                                                var columnClass = "".concat(column, "s");
                                                                                                                                                                return this.$el.querySelectorAll("ul.".concat(columnClass, " > li:not(.hint):not([disabled])"));
                                                                                                                                                              },
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 55 mins to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6783..6786

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                                    } else {
                                                                                                                                                                      this.debugLog("The second list is empty due to the \"second-range\" config\nsecond-range: ".concat(JSON.stringify(this.secondRange), "\nsecond-interval: ").concat(this.opts.secondInterval));
                                                                                                                                                                    }
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 50 mins to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6505..6507

                                                                                                                                                          Duplicated Code

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

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

                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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

                                                                                                                                                                    if (section === 'minute') {
                                                                                                                                                                      this.debugLog("The minute list is empty due to the \"minute-range\" config\nminute-range: ".concat(JSON.stringify(this.minuteRange), "\nminute-interval: ").concat(this.opts.minuteInterval));
                                                                                                                                                                    } else {
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 50 mins to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6507..6509

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 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

                                                                                                                                                                          } else if (['k', 'kk'].includes(token)) {
                                                                                                                                                                            value = hourValue === 12 ? 24 : hourValue;
                                                                                                                                                                          } else {
                                                                                                                                                                            value = hourValue % 12;
                                                                                                                                                                          }
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 45 mins to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6303..6307

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 50.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                                          if (['k', 'kk'].includes(token)) {
                                                                                                                                                                            value = hourValue === 0 ? 24 : hourValue;
                                                                                                                                                                          } else {
                                                                                                                                                                            value = hourValue % 24;
                                                                                                                                                                          }
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 45 mins to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 6297..6301

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 50.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                                if (this.second && this.secondType) {
                                                                                                                                                                  formatString = formatString.replace(new RegExp(this.secondType, 'g'), this.second);
                                                                                                                                                                }
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 40 mins to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5529..5531

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 48.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

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

                                                                                                                                                                if (this.apm && this.apmType) {
                                                                                                                                                                  formatString = formatString.replace(new RegExp(this.apmType, 'g'), this.apm);
                                                                                                                                                                }
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in cherrydoor/static/components/VueTimepicker.js and 1 other location - About 40 mins to fix
                                                                                                                                                          cherrydoor/static/components/VueTimepicker.js on lines 5525..5527

                                                                                                                                                          Duplicated Code

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

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

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

                                                                                                                                                          Tuning

                                                                                                                                                          This issue has a mass of 48.

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

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

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

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

                                                                                                                                                          Refactorings

                                                                                                                                                          Further Reading

                                                                                                                                                          There are no issues that match your filters.

                                                                                                                                                          Category
                                                                                                                                                          Status