beevelop/corci-monitor

View on GitHub

Showing 256 of 374 total issues

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

    function activateBindingsOnContinuousNodeArray(continuousNodeArray, bindingContext) {
        // To be used on any nodes that have been rendered by a template and have been inserted into some parent element
        // Walks through continuousNodeArray (which *must* be continuous, i.e., an uninterrupted sequence of sibling nodes, because
        // the algorithm for walking them relies on this), and for each top-level item in the virtual-element sense,
        // (1) Does a regular "applyBindings" to associate bindingContext with this node and to activate any non-memoized bindings
Severity: Minor
Found in www/js/bundle.js - About 1 hr to fix

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

            format = function() {
                var args = arguments,
                    str = this
    
                return this.replace(FORMAT_RE, function() {
    Severity: Minor
    Found in www/js/bundle.js - About 1 hr to fix

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

      module.exports = function extend() {
          'use strict';
          var options, name, src, copy, copyIsArray, clone,
              target = arguments[0],
              i = 1,
      Severity: Minor
      Found in www/js/bundle.js - About 1 hr to fix

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

        Manager.prototype.reconnect = function(){
          if (this.reconnecting || this.skipReconnect) return this;
        
          var self = this;
          this.attempts++;
        Severity: Minor
        Found in www/js/bundle.js - About 1 hr to fix

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

                  postJson: function (urlOrForm, data, options) {
                      options = options || {};
                      var params = options['params'] || {};
                      var includeFields = options['includeFields'] || this.fieldsIncludedWithJsonPost;
                      var url = urlOrForm;
          Severity: Minor
          Found in www/js/bundle.js - About 1 hr to fix

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

                Function_prototype.fastClass = function fastClass(creator, mixins) {
                    /// <signature>
                    /// <summary>Inherits the function's prototype to a new function named constructor returned by the creator parameter
                    ///<br/><br/>
                    /// var Square = Figure.fastClass(function(base, baseCtor) { <br/>
            Severity: Minor
            Found in www/js/bundle.js - About 1 hr to fix

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

                function onTransportOpen(){
                  if (self.onlyBinaryUpgrades) {
                    var upgradeLosesBinary = !this.supportsBinary && self.transport.supportsBinary;
                    failed = failed || upgradeLosesBinary;
                  }
              Severity: Minor
              Found in www/js/bundle.js - About 1 hr to fix

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

                    update: function(build) {
                        if (build && build.conf) {
                            var conf = build.conf;
                            this.conf = conf;
                            this.name(conf.name);
                Severity: Minor
                Found in www/js/bundle.js - About 1 hr to fix

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

                      update: function(build) {
                          if (build && build.conf) {
                              var conf = build.conf;
                              this.conf = conf;
                              this.name(conf.name);
                  Severity: Minor
                  Found in www/js/index.js - About 1 hr to fix

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

                        limit: function(limitFunction) {
                            var self = this, selfIsObservable = ko.isObservable(self),
                                isPending, previousValue, pendingValue, beforeChange = 'beforeChange';
                    
                            if (!self._origNotifySubscribers) {
                    Severity: Minor
                    Found in www/js/bundle.js - About 1 hr to fix

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

                      function url(uri, loc){
                        var obj = uri;
                      
                        // default to window.location
                        var loc = loc || global.location;
                      Severity: Minor
                      Found in www/js/bundle.js - About 1 hr to fix

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

                        },{}],42:[function(require,module,exports){
                        (function (global){
                        
                        /*
                         * Module requirements.
                        Severity: Minor
                        Found in www/js/bundle.js - About 1 hr to fix

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

                          },{}],34:[function(require,module,exports){
                          (function (global){
                          /**
                           * Create a blob builder even when vendor prefixes exist
                           */
                          Severity: Minor
                          Found in www/js/bundle.js - About 1 hr to fix

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

                            exports.removeBlobs = function(data, callback) {
                              function _removeBlobs(obj, curKey, containingObject) {
                                if (!obj) return obj;
                            
                                // convert any blob
                            Severity: Minor
                            Found in www/js/bundle.js - About 1 hr to fix

                              Consider simplifying this complex logical expression.
                              Open

                                  if ( (global.Buffer && global.Buffer.isBuffer(obj)) ||
                                       (global.ArrayBuffer && obj instanceof ArrayBuffer) ||
                                       (global.Blob && obj instanceof Blob) ||
                                       (global.File && obj instanceof File)
                                      ) {
                              Severity: Critical
                              Found in www/js/bundle.js - About 1 hr to fix

                                Consider simplifying this complex logical expression.
                                Open

                                      if (badBuffer[i - 2] === badBuffer[i + 2] &&
                                          badBuffer[i + 2] === badBuffer[i - 1] &&
                                          badBuffer[i - 1] === badBuffer[i + 1] &&
                                          badBuffer[i - 1] * 3 === badBuffer[i] &&
                                          // Background around the foreground pattern? Not part of the specs.
                                Severity: Critical
                                Found in www/js/qr-js/qr.js - About 1 hr to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                          if ((frameBuffer[x + width * y] &&
                                               frameBuffer[(x + 1) + width * y] &&
                                               frameBuffer[x + width * (y + 1)] &&
                                               frameBuffer[(x + 1) + width * (y + 1)]) ||
                                              // All background colour.
                                  Severity: Critical
                                  Found in www/js/qr-js/qr.js - About 1 hr to fix

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

                                        toString: function(doNotIncludePrefix) {
                                            var by, msg;
                                            switch (this.by) {
                                                case 'A':
                                                    by = '[SA] Server';
                                    Severity: Minor
                                    Found in www/js/bundle.js - About 1 hr to fix

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

                                      },{}],45:[function(require,module,exports){
                                      
                                      /**
                                       * HOP ref.
                                       */
                                      Severity: Minor
                                      Found in www/js/bundle.js - About 1 hr to fix

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

                                            Function.define = function Function_define(func, prototype, mixins) {
                                                /// <signature>
                                                /// <summary>Extends the given func's prototype with provided members of prototype and ensures calling the mixins in the constructor</summary>
                                                /// <param name="func" type="Function">Specify the constructor function you want to define i.e. function() {}</param>
                                                /// <param name="prototype" type="Plain Object" optional="true">Specify an object that contain the functions or members that should defined on the provided func's prototype</param>
                                        Severity: Minor
                                        Found in www/js/bundle.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language