FanaHOVA/blazer

View on GitHub

Showing 544 of 841 total issues

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

},{}],15:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {

Severity: Major
Found in app/assets/javascripts/blazer/Chart.js - About 2 days to fix

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

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

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

      function createPatchFunction (backend) {
        var i, j;
        var cbs = {};
      
        var modules = backend.modules;
      Severity: Major
      Found in app/assets/javascripts/blazer/vue.js - About 2 days to fix

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

        },{"6":6}],3:[function(require,module,exports){
        /* MIT license */
        var convert = require(5);
        var string = require(2);
        
        Severity: Major
        Found in app/assets/javascripts/blazer/Chart.js - About 1 day to fix

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

          },{}],30:[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 47 has 372 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            },{}],47:[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 372 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

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

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

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

                  File Sortable.js has 779 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /**!
                   * Sortable
                   * @author  RubaXa   <trash@rubaxa.org>
                   * @license MIT
                   */
                  Severity: Major
                  Found in app/assets/javascripts/blazer/Sortable.js - About 1 day to fix

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

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

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

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

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

                            var DateRangePicker = function(element, options, cb) {
                        
                                //default settings for options
                                this.parentEl = 'body';
                                this.element = $(element);
                        Severity: Major
                        Found in app/assets/javascripts/blazer/daterangepicker.js - About 1 day to fix

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

                          },{}],18:[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 264 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

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

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

                                ajax: function( url, options ) {
                              
                                  // If url is an object, simulate pre-1.5 signature
                                  if ( typeof url === "object" ) {
                                    options = url;
                              Severity: Major
                              Found in app/assets/javascripts/blazer/jquery.js - About 1 day to fix

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

                                },{}],17:[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 29 has 235 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  },{}],29:[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 233 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

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

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

                                      module.exports = function(Chart) {
                                      
                                          var helpers = Chart.helpers;
                                      
                                          // The layout service is very self explanatory.  It's responsible for the layout within a chart.
                                      Severity: Major
                                      Found in app/assets/javascripts/blazer/Chart.js - About 1 day to fix

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

                                                draw: function(chartArea) {
                                                    var me = this;
                                                    var options = me.options;
                                                    if (!options.display) {
                                                        return;
                                        Severity: Major
                                        Found in app/assets/javascripts/blazer/Chart.js - About 1 day to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language