gopheracademy/gcon

View on GitHub

Showing 5,803 of 11,092 total issues

File export.js has 2274 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
Plugin Name: amCharts Export
Description: Adds export capabilities to amCharts products
Author: Benjamin Maertz, amCharts
Version: 1.3.3
Severity: Major
Found in assets/admin/global/plugins/amcharts/amcharts/plugins/export/export.js - About 6 days to fix

    File export.js has 2274 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
    Plugin Name: amCharts Export
    Description: Adds export capabilities to amCharts products
    Author: Benjamin Maertz, amCharts
    Version: 1.3.3

      File export.js has 2274 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*
      Plugin Name: amCharts Export
      Description: Adds export capabilities to amCharts products
      Author: Benjamin Maertz, amCharts
      Version: 1.3.3
      Severity: Major
      Found in assets/admin/global/plugins/amcharts/ammap/plugins/export/export.js - About 6 days to fix

        File jquery.flot.js has 2239 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /* Javascript plotting library for jQuery, version 0.8.3.
        
        Copyright (c) 2007-2014 IOLA and Ole Laursen.
        Licensed under the MIT license.
        
        
        Severity: Major
        Found in assets/admin/global/plugins/flot/jquery.flot.js - About 6 days to fix

          File bootstrap-table.js has 2227 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /**
           * @author zhixin wen <wenzhixin2010@gmail.com>
           * version: 1.9.1
           * https://github.com/wenzhixin/bootstrap-table/
           */
          Severity: Major
          Found in assets/admin/global/plugins/bootstrap-table/bootstrap-table.js - About 6 days to fix

            Function HighchartsAdapter has a Cognitive Complexity of 259 (exceeds 5 allowed). Consider refactoring.
            Open

            var HighchartsAdapter = (function () {
            
            var UNDEFINED,
                doc = document,
                emptyArray = [],

            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 HighchartsAdapter has a Cognitive Complexity of 259 (exceeds 5 allowed). Consider refactoring.
            Open

            var HighchartsAdapter = (function () {
            
            var UNDEFINED,
                doc = document,
                emptyArray = [],

            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 HighchartsAdapter has a Cognitive Complexity of 259 (exceeds 5 allowed). Consider refactoring.
            Open

            var HighchartsAdapter = (function () {
            
            var UNDEFINED,
                doc = document,
                emptyArray = [],

            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

            File highcharts-more.src.js has 1795 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            // ==ClosureCompiler==
            // @compilation_level SIMPLE_OPTIMIZATIONS
            
            /**
             * @license Highcharts JS v4.1.9 (2015-10-07)
            Severity: Major
            Found in assets/admin/global/plugins/highcharts/js/highcharts-more.src.js - About 4 days to fix

              File highcharts-more.src.js has 1795 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              // ==ClosureCompiler==
              // @compilation_level SIMPLE_OPTIMIZATIONS
              
              /**
               * @license Highcharts JS v4.1.9 (2015-10-07)
              Severity: Major
              Found in assets/admin/global/plugins/highstock/js/highcharts-more.src.js - About 4 days to fix

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

                },{}],35:[function(_dereq_,module,exports){
                'use strict';
                
                
                var utils = _dereq_('../utils/common');

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

                  },{}],35:[function(_dereq_,module,exports){
                  'use strict';
                  
                  
                  var utils = _dereq_('../utils/common');

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

                    },{}],35:[function(_dereq_,module,exports){
                    'use strict';
                    
                    
                    var utils = _dereq_('../utils/common');

                      File morris.js has 1747 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      /* @license
                      morris.js v0.5.0
                      Copyright 2014 Olly Smith All rights reserved.
                      Licensed under the BSD-2-Clause License.
                      */
                      Severity: Major
                      Found in assets/admin/global/plugins/morris/morris.js - About 4 days to fix

                        File bootstrap-datepicker.js has 1706 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /*!
                         * Datepicker for Bootstrap v1.5.1 (https://github.com/eternicode/bootstrap-datepicker)
                         *
                         * Copyright 2012 Stefan Petre
                         * Improvements by Andrew Rowls

                          File gmaps.js has 1686 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          (function(root, factory) {
                            if(typeof exports === 'object') {
                              module.exports = factory();
                            }
                            else if(typeof define === 'function' && define.amd) {
                          Severity: Major
                          Found in assets/admin/global/plugins/gmaps/gmaps.js - About 4 days to fix

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

                            },{}],32:[function(_dereq_,module,exports){
                            'use strict';
                            
                            var utils   = _dereq_('../utils/common');
                            var trees   = _dereq_('./trees');

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

                              },{}],32:[function(_dereq_,module,exports){
                              'use strict';
                              
                              var utils   = _dereq_('../utils/common');
                              var trees   = _dereq_('./trees');

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

                                },{}],32:[function(_dereq_,module,exports){
                                'use strict';
                                
                                var utils   = _dereq_('../utils/common');
                                var trees   = _dereq_('./trees');

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

                                      var Mapplic = function() {
                                          var self = this;
                                  
                                          self.o = {
                                              source: 'locations.json',
                                  Severity: Major
                                  Found in assets/admin/global/plugins/mapplic/mapplic/mapplic.js - About 4 days to fix
                                    Severity
                                    Category
                                    Status
                                    Source
                                    Language