wikimedia/mediawiki-extensions-Wikibase

View on GitHub
view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js

Summary

Maintainability
F
1 mo
Test Coverage

Function fae3 has 1484 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 wk to fix

    File tainted-ref.common.js has 2470 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    module.exports =
    /******/ (function(modules) { // webpackBootstrap
    /******/     // The module cache
    /******/     var installedModules = {};
    /******/
    Severity: Major
    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 6 days to fix

      Function fae3 has a Cognitive Complexity of 229 (exceeds 5 allowed). Consider refactoring.
      Open

      /***/ (function(module, __webpack_exports__, __webpack_require__) {
      
      "use strict";
      // ESM COMPAT FLAG
      __webpack_require__.r(__webpack_exports__);
      Severity: Minor
      Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 4 days to fix

      Cognitive Complexity

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

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

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

      Further reading

      exports has 82 functions (exceeds 20 allowed). Consider refactoring.
      Open

      /******/ ({
      
      /***/ "00e9":
      /***/ (function(module, __webpack_exports__, __webpack_require__) {
      
      
      Severity: Major
      Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 day to fix

        Function 7dd0 has a Cognitive Complexity of 59 (exceeds 5 allowed). Consider refactoring.
        Open

        /***/ (function(module, exports, __webpack_require__) {
        
        "use strict";
        
        var $ = __webpack_require__("23e7");
        Severity: Minor
        Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 day to fix

        Cognitive Complexity

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

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

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

        Further reading

        Function 23e7 has a Cognitive Complexity of 39 (exceeds 5 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 5 hrs to fix

        Cognitive Complexity

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

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

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

        Further reading

        Function addDevtools has 130 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function addDevtools (app, store) {
          Object(esm["setupDevtoolsPlugin"])(
            {
              id: 'org.vuejs.vuex',
              app: app,
        Severity: Major
        Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 5 hrs to fix

          Function ddb0 has a Cognitive Complexity of 32 (exceeds 5 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 4 hrs to fix

          Cognitive Complexity

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

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

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

          Further reading

          Function 6eeb has a Cognitive Complexity of 29 (exceeds 5 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 4 hrs to fix

          Cognitive Complexity

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

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

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

          Further reading

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

          /***/ (function(module, __webpack_exports__, __webpack_require__) {
          
          "use strict";
          /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiProxy; });
          /* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b774");
          Severity: Major
          Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 3 hrs to fix

            Function 4d64 has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring.
            Open

            /***/ (function(module, exports, __webpack_require__) {
            
            var toIndexedObject = __webpack_require__("fc6a");
            var toLength = __webpack_require__("50c4");
            var toAbsoluteIndex = __webpack_require__("23cb");
            Severity: Minor
            Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 3 hrs to fix

            Cognitive Complexity

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

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

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

            Further reading

            Function f30a has a Cognitive Complexity of 24 (exceeds 5 allowed). Consider refactoring.
            Open

            /***/ (function(module, __webpack_exports__, __webpack_require__) {
            
            "use strict";
            /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiProxy; });
            /* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b774");
            Severity: Minor
            Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 3 hrs to fix

            Cognitive Complexity

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

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

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

            Further reading

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

                constructor(plugin, hook) {
                    this.target = null;
                    this.targetQueue = [];
                    this.onQueue = [];
                    this.plugin = plugin;
            Severity: Major
            Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 2 hrs to fix

                Function exports has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring.
                Open

                /******/ (function(modules) { // webpackBootstrap
                /******/     // The module cache
                /******/     var installedModules = {};
                /******/
                /******/     // The require function
                Severity: Minor
                Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 2 hrs to fix

                Cognitive Complexity

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

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

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

                Further reading

                Function 69f3 has 59 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 2 hrs to fix

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

                      Store.prototype.dispatch = function dispatch (_type, _payload) {
                          var this$1$1 = this;
                      
                        // check object-style dispatch
                        var ref = unifyObjectStyle(_type, _payload);
                      Severity: Major
                      Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 2 hrs to fix

                        Function 9bf2 has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring.
                        Open

                        /***/ (function(module, exports, __webpack_require__) {
                        
                        var DESCRIPTORS = __webpack_require__("83ab");
                        var IE8_DOM_DEFINE = __webpack_require__("0cfb");
                        var anObject = __webpack_require__("825a");
                        Severity: Minor
                        Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                        Cognitive Complexity

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

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

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

                        Further reading

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

                        function createLogger (ref) {
                          if ( ref === void 0 ) ref = {};
                          var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;
                          var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };
                          var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };
                        Severity: Minor
                        Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

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

                          function makeLocalContext (store, namespace, path) {
                            var noNamespace = namespace === '';
                          
                            var local = {
                              dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {
                          Severity: Minor
                          Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

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

                            function installModule (store, rootState, path, module, hot) {
                              var isRoot = !path.length;
                              var namespace = store._modules.getNamespace(path);
                            
                              // register in namespace map
                            Severity: Minor
                            Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                              Function 6eeb has 37 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                  Function 3f4e has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
                                  Open

                                  /***/ (function(module, __webpack_exports__, __webpack_require__) {
                                  
                                  "use strict";
                                  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setupDevtoolsPlugin", function() { return setupDevtoolsPlugin; });
                                  /* harmony import */ var _env__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("abc5");
                                  Severity: Minor
                                  Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                  Cognitive Complexity

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

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

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

                                  Further reading

                                  Function 7c73 has a Cognitive Complexity of 12 (exceeds 5 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: Minor
                                  Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                  Cognitive Complexity

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

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

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

                                  Further reading

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

                                  var Store = function Store (options) {
                                    var this$1$1 = this;
                                    if ( options === void 0 ) options = {};
                                  
                                    {
                                  Severity: Minor
                                  Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

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

                                      function actions(metricTracker) {
                                        return {
                                          [STORE_INIT](context, guids) {
                                            context.commit(SET_ALL_UNTAINTED, guids);
                                            context.commit(SET_ALL_POPPERS_HIDDEN, guids);
                                      Severity: Minor
                                      Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

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

                                          /***/ (function(module, exports, __webpack_require__) {
                                          
                                          var has = __webpack_require__("5135");
                                          var toObject = __webpack_require__("7b0b");
                                          var sharedKey = __webpack_require__("f772");
                                          Severity: Minor
                                          Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                          Cognitive Complexity

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

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

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

                                          Further reading

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

                                          /***/ (function(module, exports, __webpack_require__) {
                                          
                                          var DESCRIPTORS = __webpack_require__("83ab");
                                          var propertyIsEnumerableModule = __webpack_require__("d1e7");
                                          var createPropertyDescriptor = __webpack_require__("5c6c");
                                          Severity: Minor
                                          Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                          Cognitive Complexity

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

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

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

                                          Further reading

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

                                          /***/ (function(module, exports, __webpack_require__) {
                                          
                                          "use strict";
                                          
                                          var fails = __webpack_require__("d039");
                                          Severity: Minor
                                          Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                          Cognitive Complexity

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

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

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

                                          Further reading

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

                                          /***/ (function(module, exports, __webpack_require__) {
                                          
                                          "use strict";
                                          
                                          var fails = __webpack_require__("d039");
                                          Severity: Minor
                                          Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

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

                                            Store.prototype.commit = function commit (_type, _payload, _options) {
                                                var this$1$1 = this;
                                            
                                              // check object-style commit
                                              var ref = unifyObjectStyle(_type, _payload, _options);
                                            Severity: Minor
                                            Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                                Function 2d00 has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
                                                Open

                                                /***/ (function(module, exports, __webpack_require__) {
                                                
                                                var global = __webpack_require__("da84");
                                                var userAgent = __webpack_require__("342f");
                                                
                                                
                                                Severity: Minor
                                                Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                                Cognitive Complexity

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

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

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

                                                Further reading

                                                Function 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

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

                                                              get: (_target, prop) => {
                                                                  if (this.target) {
                                                                      return this.target[prop];
                                                                  }
                                                                  else if (prop === 'on') {
                                                  Severity: Minor
                                                  Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 1 hr to fix

                                                    Function b622 has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
                                                    Open

                                                    /***/ (function(module, exports, __webpack_require__) {
                                                    
                                                    var global = __webpack_require__("da84");
                                                    var shared = __webpack_require__("5692");
                                                    var has = __webpack_require__("5135");
                                                    Severity: Minor
                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 55 mins to fix

                                                    Cognitive Complexity

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

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

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

                                                    Further reading

                                                    Function 94ca has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
                                                    Open

                                                    /***/ (function(module, exports, __webpack_require__) {
                                                    
                                                    var fails = __webpack_require__("d039");
                                                    
                                                    var replacement = /#|\.prototype\./;
                                                    Severity: Minor
                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 55 mins to fix

                                                    Cognitive Complexity

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

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

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

                                                    Further reading

                                                    Function d2bb has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
                                                    Open

                                                    /***/ (function(module, exports, __webpack_require__) {
                                                    
                                                    /* eslint-disable no-proto -- safe */
                                                    var anObject = __webpack_require__("825a");
                                                    var aPossiblePrototype = __webpack_require__("3bbe");
                                                    Severity: Minor
                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 55 mins to fix

                                                    Cognitive Complexity

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

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

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

                                                    Further reading

                                                    Function ca84 has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
                                                    Open

                                                    /***/ (function(module, exports, __webpack_require__) {
                                                    
                                                    var has = __webpack_require__("5135");
                                                    var toIndexedObject = __webpack_require__("fc6a");
                                                    var indexOf = __webpack_require__("4d64").indexOf;
                                                    Severity: Minor
                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 55 mins to fix

                                                    Cognitive Complexity

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

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

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

                                                    Further reading

                                                    Function 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 50 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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 45 mins to fix

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

                                                        function Poppervue_type_template_id_177cf74e_render(_ctx, _cache, $props, $setup, $data, $options) {
                                                        Severity: Minor
                                                        Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 45 mins to fix

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

                                                          function TaintedPoppervue_type_template_id_1cf80a67_render(_ctx, _cache, $props, $setup, $data, $options) {
                                                          Severity: Minor
                                                          Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 45 mins to fix

                                                            Function abc5 has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
                                                            Open

                                                            /***/ (function(module, __webpack_exports__, __webpack_require__) {
                                                            
                                                            "use strict";
                                                            /* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getDevtoolsGlobalHook; });
                                                            /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getTarget; });
                                                            Severity: Minor
                                                            Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 45 mins to fix

                                                            Cognitive Complexity

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

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

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

                                                            Further reading

                                                            Function c04e has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
                                                            Open

                                                            /***/ (function(module, exports, __webpack_require__) {
                                                            
                                                            var isObject = __webpack_require__("861d");
                                                            
                                                            // `ToPrimitive` abstract operation
                                                            Severity: Minor
                                                            Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 45 mins to fix

                                                            Cognitive Complexity

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

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

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

                                                            Further reading

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

                                                            function TaintedIconvue_type_template_id_6df35c90_render(_ctx, _cache, $props, $setup, $data, $options) {
                                                            Severity: Minor
                                                            Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 45 mins to fix

                                                              Function d066 has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
                                                              Open

                                                              /***/ (function(module, exports, __webpack_require__) {
                                                              
                                                              var path = __webpack_require__("428f");
                                                              var global = __webpack_require__("da84");
                                                              
                                                              
                                                              Severity: Minor
                                                              Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 45 mins to fix

                                                              Cognitive Complexity

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

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

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

                                                              Further reading

                                                              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 view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 45 mins to fix

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

                                                                function makeAssertionMessage (path, key, type, value, expected) {
                                                                Severity: Minor
                                                                Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 35 mins to fix

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

                                                                  function installModule (store, rootState, path, module, hot) {
                                                                  Severity: Minor
                                                                  Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 35 mins to fix

                                                                    Function 69f3 has a Cognitive Complexity of 7 (exceeds 5 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: Minor
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 35 mins to fix

                                                                    Cognitive Complexity

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

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

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

                                                                    Further reading

                                                                    Function da84 has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                                                                    Open

                                                                    /***/ (function(module, exports, __webpack_require__) {
                                                                    
                                                                    /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
                                                                      return it && it.Math == Math && it;
                                                                    };
                                                                    Severity: Minor
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 35 mins to fix

                                                                    Cognitive Complexity

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

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

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

                                                                    Further reading

                                                                    Function d44e has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                                                    Open

                                                                    /***/ (function(module, exports, __webpack_require__) {
                                                                    
                                                                    var defineProperty = __webpack_require__("9bf2").f;
                                                                    var has = __webpack_require__("5135");
                                                                    var wellKnownSymbol = __webpack_require__("b622");
                                                                    Severity: Minor
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js - About 25 mins to fix

                                                                    Cognitive Complexity

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

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

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

                                                                    Further reading

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

                                                                    var mapMutations = normalizeNamespace(function (namespace, mutations) {
                                                                      var res = {};
                                                                      if (!isValidMap(mutations)) {
                                                                        console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');
                                                                      }
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 1 other location - About 1 day to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 3512..3540

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 281.

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

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

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

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

                                                                    Refactorings

                                                                    Further Reading

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

                                                                    var mapActions = normalizeNamespace(function (namespace, actions) {
                                                                      var res = {};
                                                                      if (!isValidMap(actions)) {
                                                                        console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');
                                                                      }
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 1 other location - About 1 day to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 3443..3471

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 281.

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

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

                                                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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 || !options.root) {
                                                                            type = namespace + type;
                                                                            if (!store._actions[type]) {
                                                                              console.error(("[vuex] unknown local action type: " + (args.type) + ", global type: " + type));
                                                                              return
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 1 other location - About 2 hrs to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2498..2504

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 75.

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

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

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

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

                                                                    Refactorings

                                                                    Further Reading

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

                                                                          if (!options || !options.root) {
                                                                            type = namespace + type;
                                                                            if (!store._mutations[type]) {
                                                                              console.error(("[vuex] unknown local mutation type: " + (args.type) + ", global type: " + type));
                                                                              return
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 1 other location - About 2 hrs to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2481..2487

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 75.

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

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

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

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

                                                                    Refactorings

                                                                    Further Reading

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

                                                                    /***/ "00e9":
                                                                    /***/ (function(module, __webpack_exports__, __webpack_require__) {
                                                                    
                                                                    "use strict";
                                                                    /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TaintedPopper_vue_vue_type_style_index_0_id_1cf80a67_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b7ed");
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 3 other locations - About 1 hr to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 565..574
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 1296..1305
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 1753..1762

                                                                    Duplicated Code

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

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

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

                                                                    /***/ "f2b5":
                                                                    /***/ (function(module, __webpack_exports__, __webpack_require__) {
                                                                    
                                                                    "use strict";
                                                                    /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TaintedIcon_vue_vue_type_style_index_0_id_6df35c90_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e455");
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 3 other locations - About 1 hr to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 90..99
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 565..574
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 1296..1305

                                                                    Duplicated Code

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

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

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

                                                                    /***/ "5ab0":
                                                                    /***/ (function(module, __webpack_exports__, __webpack_require__) {
                                                                    
                                                                    "use strict";
                                                                    /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_App_vue_vue_type_style_index_0_id_1b644473_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e0e7");
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 3 other locations - About 1 hr to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 90..99
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 1296..1305
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 1753..1762

                                                                    Duplicated Code

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

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

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

                                                                    /***/ "c158":
                                                                    /***/ (function(module, __webpack_exports__, __webpack_require__) {
                                                                    
                                                                    "use strict";
                                                                    /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Popper_vue_vue_type_style_index_0_id_177cf74e_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b6a2");
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 3 other locations - About 1 hr to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 90..99
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 565..574
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 1753..1762

                                                                    Duplicated Code

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

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

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

                                                                    Module.prototype.forEachAction = function forEachAction (fn) {
                                                                      if (this._rawModule.actions) {
                                                                        forEachValue(this._rawModule.actions, fn);
                                                                      }
                                                                    };
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 2 other locations - About 55 mins to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2965..2969
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2977..2981

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 54.

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

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

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

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

                                                                    Refactorings

                                                                    Further Reading

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

                                                                    Module.prototype.forEachMutation = function forEachMutation (fn) {
                                                                      if (this._rawModule.mutations) {
                                                                        forEachValue(this._rawModule.mutations, fn);
                                                                      }
                                                                    };
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 2 other locations - About 55 mins to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2965..2969
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2971..2975

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 54.

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

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

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

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

                                                                    Refactorings

                                                                    Further Reading

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

                                                                    Module.prototype.forEachGetter = function forEachGetter (fn) {
                                                                      if (this._rawModule.getters) {
                                                                        forEachValue(this._rawModule.getters, fn);
                                                                      }
                                                                    };
                                                                    Severity: Major
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 2 other locations - About 55 mins to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2971..2975
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2977..2981

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 54.

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

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

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

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

                                                                    Refactorings

                                                                    Further Reading

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

                                                                        content: Object(external_vue_["withCtx"])(() => [Object(external_vue_["createElementVNode"])("p", TaintedPoppervue_type_template_id_1cf80a67_hoisted_3, Object(external_vue_["toDisplayString"])(_ctx.popperText), 1), Object(external_vue_["createElementVNode"])("button", {
                                                                          class: "wb-tr-popper-remove-warning",
                                                                          onClick: _cache[1] || (_cache[1] = (...args) => _ctx.removeWarningClick && _ctx.removeWarningClick(...args))
                                                                        }, Object(external_vue_["toDisplayString"])(_ctx.removeWarningText), 1)]),
                                                                    Severity: Minor
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 1 other location - About 50 mins to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2078..2081

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 52.

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

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

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

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

                                                                    Refactorings

                                                                    Further Reading

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

                                                                      }, [Poppervue_type_template_id_177cf74e_hoisted_1, Object(external_vue_["createElementVNode"])("div", Poppervue_type_template_id_177cf74e_hoisted_2, [Object(external_vue_["createElementVNode"])("div", Poppervue_type_template_id_177cf74e_hoisted_3, [Object(external_vue_["createElementVNode"])("span", _hoisted_4, Object(external_vue_["toDisplayString"])(_ctx.title), 1), Object(external_vue_["createElementVNode"])("button", {
                                                                        class: "wb-tr-popper-close",
                                                                        onClick: _cache[0] || (_cache[0] = (...args) => _ctx.closeClick && _ctx.closeClick(...args))
                                                                      })]), Object(external_vue_["createElementVNode"])("div", _hoisted_5, [Object(external_vue_["renderSlot"])(_ctx.$slots, "subheading-area")]), Object(external_vue_["createElementVNode"])("div", _hoisted_6, [Object(external_vue_["renderSlot"])(_ctx.$slots, "content")])])], 32);
                                                                    Severity: Minor
                                                                    Found in view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js and 1 other location - About 50 mins to fix
                                                                    view/lib/wikibase-tainted-ref/dist/tainted-ref.common.js on lines 2040..2043

                                                                    Duplicated Code

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

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

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

                                                                    Tuning

                                                                    This issue has a mass of 52.

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

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

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

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

                                                                    Refactorings

                                                                    Further Reading

                                                                    There are no issues that match your filters.

                                                                    Category
                                                                    Status