jonahoffline/csv2api

View on GitHub

Showing 169 of 403 total issues

Function createElements has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  DateEditor.prototype.createElements = function () {
    Handsontable.editors.TextEditor.prototype.createElements.apply(this, arguments);

    this.datePicker = document.createElement('DIV');
    Handsontable.Dom.addClass(this.datePicker, 'htDatepickerHolder');
Severity: Minor
Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

    Function setDataAtCell has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      this.setDataAtCell = function (row, col, value, source) {
        var input = setDataInputToArray(row, col, value)
          , i
          , ilen
          , changes = []
    Severity: Minor
    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

      Function getColHeader has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        this.getColHeader = function (col) {
          if (col === void 0) {
            var out = [];
            for (var i = 0, ilen = instance.countCols(); i < ilen; i++) {
              out.push(instance.getColHeader(i));
      Severity: Minor
      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

        Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        Handsontable.Dom.offset = function (elem) {
          if (this.hasCaptionProblem() && elem.firstChild && elem.firstChild.nodeName === 'CAPTION') {
            //fixes problem with Firefox ignoring <caption> in TABLE offset (see also Handsontable.Dom.outerHeight)
            //http://jsperf.com/offset-vs-getboundingclientrect/8
            var box = elem.getBoundingClientRect();
        Severity: Minor
        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

          Function CellInfoCollection has 26 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function CellInfoCollection() {
          
            var collection = [];
          
            collection.getInfo = function (row, col) {
          Severity: Minor
          Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

            Function WalkontableColumnStrategy has 26 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function WalkontableColumnStrategy(instance, containerSizeFn, sizeAtIndex, strategy) {
              var size
                , i = 0;
            
              WalkontableAbstractStrategy.apply(this, arguments);
            Severity: Minor
            Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

              Function execute has 8 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                PluginHookClass.prototype.execute = function (instance, key, p1, p2, p3, p4, p5, p6) {
              Severity: Major
              Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

                Consider simplifying this complex logical expression.
                Open

                  if (this.hasCaptionProblem() && elem.firstChild && elem.firstChild.nodeName === 'CAPTION') {
                    //fixes problem with Firefox ignoring <caption> in TABLE offset (see also Handsontable.Dom.outerHeight)
                    //http://jsperf.com/offset-vs-getboundingclientrect/8
                    var box = elem.getBoundingClientRect();
                    return {
                Severity: Major
                Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

                  Function run has 8 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    PluginHookClass.prototype.run = function (instance, key, p1, p2, p3, p4, p5, p6) {
                  Severity: Major
                  Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 hr to fix

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

                      this.populateFromArray = function (row, col, input, endRow, endCol, source, method) {
                    Severity: Major
                    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 50 mins to fix

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

                        var AutocompleteRenderer = 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

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

                            this.runHooksAndReturn = function (key, p1, p2, p3, p4, p5, p6) {
                          Severity: Major
                          Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 50 mins to fix

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

                              var PasswordRenderer = 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 runHooks has 7 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                this.runHooks = function (key, p1, p2, p3, p4, p5, p6) {
                              Severity: Major
                              Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 50 mins to fix

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

                                  var NumericRenderer = 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 renderer has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    ContextMenu.prototype.renderer = 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 cellDecorator has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                      Handsontable.renderers.cellDecorator = 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 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 cellDecorator has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                          Handsontable.renderers.cellDecorator = 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language