FanaHOVA/blazer

View on GitHub

Showing 544 of 841 total issues

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

setDocument = Sizzle.setDocument = function( node ) {
  var hasCompare,
    doc = node ? node.ownerDocument || node : preferredDoc,
    parent = doc.defaultView;

Severity: Major
Found in app/assets/javascripts/blazer/jquery.js - About 1 day to fix

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

            update: function(chartInstance, width, height) {
    
                if (!chartInstance) {
                    return;
                }
    Severity: Major
    Found in app/assets/javascripts/blazer/Chart.js - About 1 day to fix

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

      },{}],24:[function(require,module,exports){
      'use strict';
      
      module.exports = function(Chart) {
      
      
      Severity: Major
      Found in app/assets/javascripts/blazer/Chart.js - About 1 day to fix

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

        module.exports = function(Chart) {
        
            var helpers = Chart.helpers;
        
            var arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];
        Severity: Major
        Found in app/assets/javascripts/blazer/Chart.js - About 1 day to fix

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

          },{}],46:[function(require,module,exports){
          'use strict';
          
          module.exports = function(Chart) {
          
          
          Severity: Major
          Found in app/assets/javascripts/blazer/Chart.js - About 1 day to fix

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

            module.exports = function(Chart) {
            
                var helpers = Chart.helpers;
            
                var defaultConfig = {
            Severity: Major
            Found in app/assets/javascripts/blazer/Chart.js - About 1 day to fix

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

              },{}],2:[function(require,module,exports){
              /* MIT license */
              var colorNames = require(6);
              
              module.exports = {
              Severity: Major
              Found in app/assets/javascripts/blazer/Chart.js - About 7 hrs to fix

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

                },{}],41:[function(require,module,exports){
                'use strict';
                
                // Chart.Platform implementation for targeting a web browser
                module.exports = function(Chart) {
                Severity: Major
                Found in app/assets/javascripts/blazer/Chart.js - About 7 hrs to fix

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

                  module.exports = function(Chart) {
                      var helpers = Chart.helpers;
                  
                      // DOM event types -> Chart.js event types.
                      // Note: only events with different types are mapped.
                  Severity: Major
                  Found in app/assets/javascripts/blazer/Chart.js - About 7 hrs to fix

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

                      function Plugin (el, options) {
                        // To avoid scope issues, use 'base' instead of 'this'
                        // to reference this class from internal events and functions.
                        var base = this;
                    
                    
                    Severity: Major
                    Found in app/assets/javascripts/blazer/jquery.stickytableheaders.js - About 7 hrs to fix

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

                      function parseHTML (html, options) {
                        var stack = [];
                        var expectHTML = options.expectHTML;
                        var isUnaryTag$$1 = options.isUnaryTag || no;
                        var index = 0;
                      Severity: Major
                      Found in app/assets/javascripts/blazer/vue.js - About 7 hrs to fix

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

                        },{}],19:[function(require,module,exports){
                        'use strict';
                        
                        module.exports = function(Chart) {
                        
                        
                        Severity: Major
                        Found in app/assets/javascripts/blazer/Chart.js - About 6 hrs to fix

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

                          module.exports = function(Chart) {
                          
                              var helpers = Chart.helpers;
                          
                              Chart.defaults.polarArea = {
                          Severity: Major
                          Found in app/assets/javascripts/blazer/Chart.js - About 6 hrs to fix

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

                            function parse (
                              template,
                              options
                            ) {
                              warn$1 = options.warn || baseWarn;
                            Severity: Major
                            Found in app/assets/javascripts/blazer/vue.js - About 6 hrs to fix

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

                              },{}],40:[function(require,module,exports){
                              'use strict';
                              
                              module.exports = function(Chart) {
                              
                              
                              Severity: Major
                              Found in app/assets/javascripts/blazer/Chart.js - About 6 hrs to fix

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

                                },{"3":3}],27:[function(require,module,exports){
                                'use strict';
                                
                                module.exports = function(Chart) {
                                    var helpers = Chart.helpers;
                                Severity: Major
                                Found in app/assets/javascripts/blazer/Chart.js - About 6 hrs to fix

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

                                  module.exports = function(Chart) {
                                  
                                      var globalOpts = Chart.defaults.global;
                                  
                                      globalOpts.elements.rectangle = {
                                  Severity: Major
                                  Found in app/assets/javascripts/blazer/Chart.js - About 6 hrs to fix

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

                                    module.exports = function(Chart) {
                                        var helpers = Chart.helpers;
                                    
                                        /**
                                         * Helper function to get relative position for an event
                                    Severity: Major
                                    Found in app/assets/javascripts/blazer/Chart.js - About 6 hrs to fix

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

                                      },{}],35:[function(require,module,exports){
                                      'use strict';
                                      
                                      module.exports = function(Chart) {
                                      
                                      
                                      Severity: Major
                                      Found in app/assets/javascripts/blazer/Chart.js - About 6 hrs to fix

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

                                        module.exports = function(Chart) {
                                        
                                            var helpers = Chart.helpers;
                                        
                                            Chart.defaults.global.title = {
                                        Severity: Major
                                        Found in app/assets/javascripts/blazer/Chart.js - About 6 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language