nemesiscodex/openfonacide

View on GitHub

Showing 350 of 970 total issues

Function invoke has 51 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/form.js - About 2 hrs to fix

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

              item: function(value, strict) {
                var
                  $selectedItem = false
                ;
                value = (value !== undefined)
    Severity: Major
    Found in static/components/dropdown.js - About 2 hrs to fix

      Function invoke has 51 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/rating.js - About 2 hrs to fix

        Function invoke has 51 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/modal.js - About 2 hrs to fix

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

                    url: function(source) {
                      var
                        api      = (settings.api)
                          ? 1
                          : 0,
          Severity: Major
          Found in static/components/video.js - About 2 hrs to fix

            Function invoke has 51 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/sticky.js - About 2 hrs to fix

              Function invoke has 51 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/shape.js - About 2 hrs to fix

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

                    function largePoint(zr, effectList, shape, zlevel) {
                        var effect = shape.effect;
                        var color = effect.color || shape.style.strokeColor || shape.style.color;
                        var size = effect.scaleSize;
                        var shadowColor = effect.shadowColor || color;
                Severity: Minor
                Found in static/js/dncp/util/ecEffect.js - About 2 hrs to fix

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

                      function get_options_pie(titulo, subtitulo, legendData, series){
                          return {
                              title: {
                                  text: titulo,
                                  subtext: subtitulo,
                  Severity: Minor
                  Found in static/js/frontend.ResumenController.js - About 2 hrs to fix

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

                    function makeResult(newMin, newMax, section, expon) {
                        expon       = expon || 0;                               // 这是中间计算量级,受步长增长、特别是最值锁定的影响,可能会小于基准量级,因为整数部分被过度放大
                        var expStep = expNum((newMax - newMin) / section, -1);
                        var expMin  = expNum(newMin, -1, 1);                    // 锁定的最值有效数位可能很多,需要全精度保留
                        var expMax  = expNum(newMax, -1);
                    Severity: Minor
                    Found in static/js/dncp/util/smartSteps.js - About 2 hrs to fix

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

                          function pointList(zr, oldShape, newShape, duration, easing) {
                              var newPointList = newShape.style.pointList;
                              var newPointListLen = newPointList.length;
                              var oldPointList;
                      
                      
                      Severity: Minor
                      Found in static/js/dncp/util/ecAnimation.js - About 2 hrs to fix

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

                                        $scope.actualizar = function (filterFunction) {
                                            var point;
                                            var marker;
                                            var data = {};
                                            if (typeof(filterFunction) === 'function') {
                        Severity: Minor
                        Found in static/js/frontend.MapController.js - About 1 hr to fix

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

                                  var slide = function() {
                                      // add class animatable to the slideshow grid
                                      classie.addClass( self.slideshow, 'animatable' );
                          
                                      // overlays:
                          Severity: Minor
                          Found in static/js/cbpGridGallery.js - About 1 hr to fix

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

                                            $scope.inicializar = function () {
                                                $scope.last = {};
                                                //
                                                $scope.modalTitle = "";
                                                //
                            Severity: Minor
                            Found in static/js/frontend.MapController.js - About 1 hr to fix

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

                                  argsort : kwargs(function (axis, order, out) {
                                      if (axis < 0) {
                                          axis = this._shape.length + axis;
                                      }
                                      if (!this._size) {
                              Severity: Minor
                              Found in static/js/dncp/util/ndarray.js - About 1 hr to fix

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

                                          fetch: function(tabPath, fullTabPath) {
                                            var
                                              $tab        = module.get.tabElement(tabPath),
                                              apiSettings = {
                                                dataType : 'html',
                                Severity: Minor
                                Found in static/components/tab.js - About 1 hr to fix

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

                                      function markline(zr, oldShape, newShape, duration, easing) {
                                          easing = easing || 'QuinticOut';
                                          newShape.__animating = true;
                                          zr.addShape(newShape);
                                          var newShapeStyle = newShape.style;
                                  Severity: Minor
                                  Found in static/js/dncp/util/ecAnimation.js - About 1 hr to fix

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

                                            filter: function(searchTerm) {
                                              var
                                                $results       = $(),
                                                escapedTerm    = module.escape.regExp(searchTerm),
                                                exactRegExp    = new RegExp('^' + escapedTerm, 'igm'),
                                    Severity: Minor
                                    Found in static/components/dropdown.js - About 1 hr to fix

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

                                              hideModal: function(callback, keepDimmed) {
                                                callback = $.isFunction(callback)
                                                  ? callback
                                                  : function(){}
                                                ;
                                      Severity: Minor
                                      Found in static/components/modal.js - About 1 hr to fix

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

                                            function ring(zr, oldShape, newShape, duration, easing) {
                                                var x = newShape.style.x;
                                                var y = newShape.style.y;
                                                var r0 = newShape.style.r0;
                                                var r = newShape.style.r;
                                        Severity: Minor
                                        Found in static/js/dncp/util/ecAnimation.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language