nemesiscodex/openfonacide

View on GitHub

Showing 350 of 970 total issues

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

    set : function (index, narray) {
        if (typeof(index) == 'number') {
            index = index.toString();
        }
        var strides = calculateDimStrides(this._shape);
Severity: Major
Found in static/js/dncp/util/ndarray.js - About 2 hrs to fix

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

        function get_series_doble_pie(innerTitle, innerData, outerTittle, outerData){
            return [
                {
                    name: innerTitle,
                    type: 'pie',
    Severity: Major
    Found in static/js/frontend.ResumenController.js - About 2 hrs to fix

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

                values: function (fields) {
                  var
                    $fields = $.isArray(fields)
                      ? module.get.fields(fields)
                      : $field,
      Severity: Major
      Found in static/components/form.js - About 2 hrs to fix

        File wsgi.py has 265 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        #!/usr/bin/python
        import os
        
        virtenv = os.environ['OPENSHIFT_PYTHON_DIR'] + '/virtenv/'
        virtualenv = os.path.join(virtenv, 'bin/activate_this.py')
        Severity: Minor
        Found in wsgi.py - About 2 hrs to fix

          File cbpGridGallery.js has 264 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /**
           * cbpGridGallery.js v1.0.0
           * http://www.codrops.com
           *
           * Licensed under the MIT license.
          Severity: Minor
          Found in static/js/cbpGridGallery.js - About 2 hrs to fix

            File smartLogSteps.js has 264 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /**
             * Echarts, logarithmic axis reform
             *
             * @author sushuang (sushuang@baidu.com),
             *         Ievgenii (@Ievgeny, ievgeny@zoomdata.com)
            Severity: Minor
            Found in static/js/dncp/util/smartLogSteps.js - About 2 hrs to fix

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

                 function grafica3( datos, anio, opcion,url) {
              
              
                  changeData1(datos);
              
              
              Severity: Major
              Found in static/js/dncp/chart3.js - About 2 hrs to fix

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

                   function grafica4( datos, anio, opcion,url) {
                
                
                    changeData(datos);
                
                
                Severity: Major
                Found in static/js/dncp/chart4.js - About 2 hrs to fix

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

                              getPath: function (leftTop, scale) {
                                  // scale.x: width  = 10.51 : 64
                                  var pList = [
                                      [
                                          [0,3.5],[7,11.2],[15,11.9],[30,7],[42,0.7],[52,0.7],
                  Severity: Major
                  Found in static/js/dncp/util/mapData/params.js - About 2 hrs to fix

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

                            closeOthers: function(index) {
                              var
                                $activeTitle = (index !== undefined)
                                  ? $title.eq(index)
                                  : $(this).closest(selector.title),
                    Severity: Major
                    Found in static/components/accordion.js - About 2 hrs to fix

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

                              close: function(query) {
                                var
                                  $activeTitle = (query !== undefined)
                                    ? (typeof query === 'number')
                                      ? $title.eq(query)
                      Severity: Major
                      Found in static/components/accordion.js - About 2 hrs to fix

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

                                open: function(query) {
                                  var
                                    $activeTitle = (query !== undefined)
                                      ? (typeof query === 'number')
                                        ? $title.eq(query)
                        Severity: Major
                        Found in static/components/accordion.js - About 2 hrs to fix

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

                              get : function (index, out) {
                                  if (typeof(index) == 'number') {
                                      index = index.toString();
                                  }
                                  var strides = calculateDimStrides(this._shape);
                          Severity: Major
                          Found in static/js/dncp/util/ndarray.js - About 2 hrs to fix

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

                                      transition: function(forced) {
                                        var
                                          elementClass      = $module.attr('class'),
                                          tagName           = $module.prop('tagName'),
                                          animation         = settings.animation,
                            Severity: Major
                            Found in static/components/transition.js - About 2 hrs to fix

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

                                  category: function(response) {
                                    var
                                      html = '',
                                      escape = $.fn.search.settings.templates.escape
                                    ;
                              Severity: Major
                              Found in static/components/search.js - About 2 hrs to fix

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

                                    function largeLine(zr, effectList, shape, zlevel) {
                                        var effectShape = new ShapeBundle({
                                            style: {
                                                shapeList: []
                                            },
                                Severity: Major
                                Found in static/js/dncp/util/ecEffect.js - About 2 hrs to fix

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

                                          showModal: function(callback) {
                                            callback = $.isFunction(callback)
                                              ? callback
                                              : function(){}
                                            ;
                                  Severity: Major
                                  Found in static/components/modal.js - About 2 hrs to fix

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

                                            invoke: function(query, passedArguments, context) {
                                              var
                                                object = instance,
                                                maxDepth,
                                                found,
                                    Severity: Major
                                    Found in static/components/transition.js - About 2 hrs to fix

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

                                              brushSymbol : function (ctx, style, idx) {
                                                  if (style.symbol[idx] == 'none') {
                                                      return;
                                                  }
                                                  ctx.save();
                                      Severity: Major
                                      Found in static/js/dncp/util/shape/MarkLine.js - About 2 hrs to fix

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

                                                        $scope.filtro = function () {
                                                            loading(true);
                                                            var params = {};
                                        
                                                            if ($scope.otrosSeleccionados.check) {
                                        Severity: Major
                                        Found in static/js/frontend.MapController.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language