jonahoffline/csv2api

View on GitHub

Showing 169 of 403 total issues

Avoid deeply nested control flow statements.
Open

          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 (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

      Avoid deeply nested control flow statements.
      Open

                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 (min > 0) {
                                    value = value / min;
                                }
        Severity: Major
        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 45 mins to fix

          Consider simplifying this complex logical expression.
          Open

                  if (value === 0 && zeroFormat !== null) {
                      return zeroFormat;
                  } else {
                      // see if we should use parentheses for negative number or if we should prefix with a sign
                      // if both are present we default to parentheses
          Severity: Major
          Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 40 mins to fix

            Function selectCellByProp has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              this.selectCellByProp = function (row, prop, endRow, endProp, scrollToCell) {
            Severity: Minor
            Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 35 mins to fix

              Function alter has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  alter: function (action, index, amount, source, keepEmptyRows) {
              Severity: Minor
              Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 35 mins to fix

                Function getSetting has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                Walkontable.prototype.getSetting = function (key, param1, param2, param3, param4) {
                Severity: Minor
                Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 35 mins to fix

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

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

                    Function populateFromArray has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        populateFromArray: function (start, input, end, source, method) {
                    Severity: Minor
                    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 35 mins to fix

                      Function DEFAULT_CALLBACK has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        Handsontable.Search.DEFAULT_CALLBACK = function (instance, row, col, data, testResult) {
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 35 mins to fix

                        Function getSetting has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        WalkontableSettings.prototype.getSetting = function (key, param1, param2, param3, param4) {
                        Severity: Minor
                        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 35 mins to fix

                          Function selectCell has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                            this.selectCell = function (row, col, endRow, endCol, scrollToCell) {
                          Severity: Minor
                          Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 35 mins to fix

                            Function alter has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                              this.alter = function (action, index, amount, source, keepEmptyRows) {
                            Severity: Minor
                            Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 35 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    if (aDate > bDate) return sortOrder ? 1 : -1;
                              Severity: Major
                              Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                  return true;
                                Severity: Major
                                Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return getMethodFromProperties(Handsontable.helper.getPrototypeOf(properties));
                                  Severity: Major
                                  Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return false;
                                    Severity: Major
                                    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                        return colIndex - rowHeaderCount - 1;
                                      Severity: Major
                                      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                              if (a[1] > b[1]) return sortOrder ? 1 : -1;
                                        Severity: Major
                                        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language