jonahoffline/csv2api

View on GitHub

Showing 403 of 403 total issues

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 CheckboxRenderer has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

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

                      Similar blocks of code found in 3 locations. Consider refactoring.
                      Open

                        var loadManualColumnWidths = function () {
                          var instance = this;
                          var storedState = {};
                          Handsontable.hooks.run(instance, 'persistentStateLoad', 'manualColumnWidths', storedState);
                      
                      
                      Severity: Major
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 2 other locations - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 7850..7856
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 9292..9298

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                      WalkontableCellCoords.prototype.isNorthWestOf = function (testedCoords) {
                        return this.row <= testedCoords.row && this.col <= testedCoords.col;
                      };
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 1 other location - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 12792..12794

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 3 locations. Consider refactoring.
                      Open

                        var loadSortingState = function () {
                          var instance = this;
                          var storedState = {};
                          Handsontable.hooks.run(instance, 'persistentStateLoad', 'columnSorting', storedState);
                      
                      
                      Severity: Major
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 2 other locations - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 9292..9298
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 9540..9546

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                              if (fromRow > rowCount - 1) {
                                fromRow = rowCount - 1;
                                selectionChanged = true;
                                if (toRow > fromRow) {
                                  toRow = fromRow;
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 1 other location - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 406..418

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                              var coords = new WalkontableCellCoords(priv.selRange.to.row + delta.row, priv.selRange.to.col + delta.col);
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 1 other location - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 658..658

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 3 locations. Consider refactoring.
                      Open

                        var loadManualColumnPositions = function () {
                          var instance = this;
                          var storedState = {};
                          Handsontable.hooks.run(instance, 'persistentStateLoad', 'manualColumnPositions', storedState);
                      
                      
                      Severity: Major
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 2 other locations - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 7850..7856
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 9540..9546

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                            var coords = new WalkontableCellCoords(priv.selRange.highlight.row + delta.row, priv.selRange.highlight.col + delta.col);
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 1 other location - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 686..686

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                      WalkontableCellCoords.prototype.isSouthEastOf = function (testedCoords) {
                        return this.row >= testedCoords.row && this.col >= testedCoords.col;
                      };
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 1 other location - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 12796..12798

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                          else if (Object.prototype.toString.call(priv.settings.rowHeaders) === '[object Array]' && priv.settings.rowHeaders[row] !== void 0) {
                            return priv.settings.rowHeaders[row];
                          }
                          else if (typeof priv.settings.rowHeaders === 'function') {
                            return priv.settings.rowHeaders(row);
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 1 other location - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 1774..1785

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                              if (fromCol > colCount - 1) {
                                fromCol = colCount - 1;
                                selectionChanged = true;
                                if (toCol > fromCol) {
                                  toCol = fromCol;
                      Severity: Minor
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js and 1 other location - About 50 mins to fix
                      lib/csv2api/public/js/jquery.handsontable.full.js on lines 391..403

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 52.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Severity
                      Category
                      Status
                      Source
                      Language