jonahoffline/csv2api

View on GitHub

Showing 169 of 403 total issues

Function TextRenderer has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

  var TextRenderer = function (instance, TD, row, col, prop, value, cellProperties) {
Severity: Major
Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 50 mins to fix

    Function SearchCellDecorator has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      Handsontable.SearchCellDecorator = function (instance, TD, row, col, prop, value, cellProperties) {
    Severity: Major
    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 50 mins to fix

      Avoid deeply nested control flow statements.
      Open

                  if (expanding) {
                    if (delta[dim] > 0) { //moving East wall further East
                      changeCoords(currentSelectedRange.from, Math.min(topLeft[altDim], mergeParent[altDim]), Math.min(topLeft[dim], mergeParent[dim]));
                      if (examinedCol > mergeParent[dim]) {
                        changeCoords(currentSelectedRange.to, Math.max(bottomRight[altDim], mergeParent[altDim] + mergeParent[altDim + "span"] - 1), Math.max(bottomRight[dim], mergeParent[dim] + mergeParent[dim + "span"]));
      Severity: Major
      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

        Function scrollLogicVertical has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        WalkontableScroll.prototype.scrollLogicVertical = function (delta, offset, total, fixedCount, maxSize, cellSizeFn) {
        Severity: Minor
        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                    if (typeof cell == 'object' ) Handsontable.Dom.addClass(cell, classNames[s]);
          Severity: Major
          Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

            Function prepare has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              HandsontableEditor.prototype.prepare = function (td, row, col, prop, value, cellProperties) {
            Severity: Minor
            Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                      if (this.lastDesiredCoords && delta.col === 0) {
                        delta.col += this.lastDesiredCoords.col - current.col;
                        this.lastDesiredCoords = null;
                      }
              Severity: Major
              Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                            if(typeof cellProperties.language == 'undefined') {
                              numeral.language('en');
                            } else {
                              numeral.language(cellProperties.language);
                            }
                Severity: Major
                Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                      if (activeEditor.state !== Handsontable.EditorState.WAITING){
                                        that.closeEditorAndSaveChanges(ctrlDown);
                                      }
                  Severity: Major
                  Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                              if (topLeft[dim] == currentSelectedRange.highlight[dim]) {
                                examinedCol = bottomRight[dim] + delta[dim];
                                expanding = true;
                              }
                              else {
                    Severity: Major
                    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                      Function afterRenderer has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        afterRenderer = function (TD, row, col, prop, value, cellProperties) {
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                    for (var i = topLeft[altDim]; i <= bottomRight[altDim]; i++) {
                                      var mergeParent = this.mergedCellInfoCollection.getInfo(i, bottomRight[dim]);
                                      if (mergeParent) {
                                        if (mergeParent[dim] <= currentSelectedRange.highlight[dim]) {
                                          examinedCol = topLeft[dim] + delta[dim];
                        Severity: Major
                        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                    if (this.settings.className) {
                                      instance.wtTable.currentCellCache.add(r, c, this.settings.className);
                                    }
                          Severity: Major
                          Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                    else if (source_r >= corners[0] && source_r <= corners[2]) {
                                      //selection is in this row
                                      instance.wtTable.currentCellCache.add(r, c, this.settings.highlightRowClassName);
                            
                                      // selected row headers
                            Severity: Major
                            Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                      else if (selectionsOnly && this.oldCellCache.test(vr, vc, classNames[s])) {
                                        cell = this.getCell(new WalkontableCellCoords(r, c));
                                        if (typeof cell == 'object' ) Handsontable.Dom.removeClass(cell, classNames[s]);
                              
                                      }
                              Severity: Major
                              Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                    if (instance.getSettings().enterBeginsEditing){
                                                      that.openEditor();
                                                    } else {
                                                      moveSelectionAfterEnter(event.shiftKey);
                                                    }
                                Severity: Major
                                Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                                  Function afterRenderer has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                  var afterRenderer = function (TD, row, col, prop, value, cellProperties) {
                                  Severity: Minor
                                  Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                                    Function prepare has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                      BaseEditor.prototype.prepare = function(row, col, prop, td, originalValue, cellProperties){
                                    Severity: Minor
                                    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                    if(checkbox.length > 0 && !cellProperties.readOnly){
                                      
                                                      if(!event.isImmediatePropagationStopped()){
                                                        event.stopImmediatePropagation();
                                                        event.preventDefault();
                                      Severity: Major
                                      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                  if (typeof cell == 'object' ) Handsontable.Dom.addClass(cell,classNames[s]);
                                        Severity: Major
                                        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language