jonahoffline/csv2api

View on GitHub

Showing 169 of 403 total issues

File jquery.handsontable.full.js has 11676 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * Handsontable 0.11.0-beta3
 * Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
 *
 * Copyright 2012-2014 Marcin Warpechowski
Severity: Major
Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 mo to fix

    Function Core has 1252 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    Handsontable.Core = function (rootElement, userSettings) {
      var priv
        , datamap
        , grid
        , selection
    Severity: Major
    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 6 days to fix

      Function EditorManager has 248 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        Handsontable.EditorManager = function(instance, priv, selection){
          var that = this;
          var $document = $(document);
          var keyCodes = Handsontable.helper.keyCode;
      
      
      Severity: Major
      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 day to fix

        Function HandsontableColumnSorting has 242 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function HandsontableColumnSorting() {
          var plugin = this;
        
          this.init = function (source) {
            var instance = this;
        Severity: Major
        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 day to fix

          Function TableView has 224 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          Handsontable.TableView = function (instance) {
            var that = this
              , $window = $(window)
              , $documentElement = $(document.documentElement);
          
          
          Severity: Major
          Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 day to fix

            Function ContextMenu has 224 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              function ContextMenu(instance, customOptions){
                this.instance = instance;
                var contextMenu = this;
            
                this.menu = createMenu();
            Severity: Major
            Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 1 day to fix

              Function modifyTransform has 196 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              MergeCells.prototype.modifyTransform = function (hook, currentSelectedRange, delta) {
                var current;
                switch (hook) {
                  case 'modifyTransformStart':
                    current = currentSelectedRange.highlight;
              Severity: Major
              Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 7 hrs to fix

                Function init has 192 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    var init = function () {
                
                      function onKeyDown(event) {
                
                        if (!instance.isListening()) {
                Severity: Major
                Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 7 hrs to fix

                  Function PluginHookClass has 185 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  Handsontable.PluginHookClass = (function () {
                  
                    var Hooks = function () {
                      return {
                        // Hooks
                  Severity: Major
                  Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 7 hrs to fix

                    Function HandsontableManualRowMove has 161 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      function HandsontableManualRowMove() {
                    
                        var pressed,
                            startRow,
                            endRow,
                    Severity: Major
                    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 6 hrs to fix

                      Function HandsontableManualColumnMove has 158 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function HandsontableManualColumnMove() {
                        var pressed
                          , startCol
                          , endCol
                          , startX
                      Severity: Major
                      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 6 hrs to fix

                        Function HandsontableManualRowResize has 147 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          function HandsontableManualRowResize () {
                        
                            var pressed
                              , currentTH
                              , currentRow
                        Severity: Major
                        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 5 hrs to fix

                          Function HandsontableManualColumnResize has 147 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function HandsontableManualColumnResize() {
                            var pressed
                              , currentTH
                              , currentCol
                              , currentWidth
                          Severity: Major
                          Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 5 hrs to fix

                            Function onKeyDown has 139 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                  function onKeyDown(event) {
                            
                                    if (!instance.isListening()) {
                                      return;
                                    }
                            Severity: Major
                            Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 5 hrs to fix

                              Function HandsontableObserveChanges has 136 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              (function HandsontableObserveChanges() {
                              
                                Handsontable.hooks.add('afterLoadData', init);
                                Handsontable.hooks.add('afterUpdateSettings', init);
                              
                              
                              Severity: Major
                              Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 5 hrs to fix

                                Function HandsontableAutoColumnSize has 133 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                  function HandsontableAutoColumnSize() {
                                    var plugin = this
                                      , sampleCount = 5; //number of samples to take of each value length
                                
                                    this.beforeInit = function () {
                                Severity: Major
                                Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 5 hrs to fix

                                  Function solveDimension has 124 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      var solveDimension = function (dim) {
                                        var altDim = dim == "col" ? "row" : "col";
                                  
                                        function changeCoords(obj, altDimValue, dimValue) {
                                          obj[altDim] = altDimValue;
                                  Severity: Major
                                  Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 4 hrs to fix

                                    Function formatNumber has 124 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function formatNumber (value, format, roundingFunction) {
                                            var negP = false,
                                                signed = false,
                                                optDec = false,
                                                abbr = '',
                                    Severity: Major
                                    Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 4 hrs to fix

                                      Function appear has 104 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      WalkontableBorder.prototype.appear = function (corners) {
                                        var isMultiple, fromTD, toTD, fromOffset, toOffset, containerOffset, top, minTop, left, minLeft, height, width;
                                        if (this.disabled) {
                                          return;
                                        }
                                      Severity: Major
                                      Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 4 hrs to fix

                                        Function Comments has 97 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function Comments(instance) {
                                        
                                          var doSaveComment = function (row, col, comment, instance) {
                                              instance.setCellMeta(row, col, 'comment', comment);
                                              instance.render();
                                        Severity: Major
                                        Found in lib/csv2api/public/js/jquery.handsontable.full.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language