Undev/redmine-stuff-to-do-plugin

View on GitHub

Showing 175 of 609 total issues

File jquery-ui.js has 2006 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 * jQuery UI 1.6rc2
 *
 * Includes:
 * * UI Core
Severity: Major
Found in assets/javascripts/jquery-ui.js - About 5 days to fix

    File ui.datepicker.js has 1470 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
     * jQuery UI Datepicker @VERSION
     *
     * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
     * Dual licensed under the MIT (MIT-LICENSE.txt)
    Severity: Major
    Found in assets/javascripts/ui/ui.datepicker.js - About 3 days to fix

      File ui.sortable.js has 692 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*
       * jQuery UI Sortable @VERSION
       *
       * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
       * Dual licensed under the MIT (MIT-LICENSE.txt)
      Severity: Major
      Found in assets/javascripts/ui/ui.sortable.js - About 1 day to fix

        File ui.resizable.js has 576 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /*
         * jQuery UI Resizable @VERSION
         *
         * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
         * Dual licensed under the MIT (MIT-LICENSE.txt)
        Severity: Major
        Found in assets/javascripts/ui/ui.resizable.js - About 1 day to fix

          File ui.dialog.js has 508 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /*
           * jQuery UI Dialog @VERSION
           *
           * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
           * Dual licensed under the MIT (MIT-LICENSE.txt)
          Severity: Major
          Found in assets/javascripts/ui/ui.dialog.js - About 1 day to fix

            File ui.draggable.js has 491 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /*
             * jQuery UI Draggable @VERSION
             *
             * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
             * Dual licensed under the MIT (MIT-LICENSE.txt)
            Severity: Minor
            Found in assets/javascripts/ui/ui.draggable.js - About 7 hrs to fix

              Function _generateHTML has 189 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  _generateHTML: function(inst) {
                      var today = new Date();
                      today = this._daylightSavingAdjust(
                          new Date(today.getFullYear(), today.getMonth(), today.getDate())); // clear time
                      var showStatus = this._get(inst, 'showStatus');
              Severity: Major
              Found in assets/javascripts/ui/ui.datepicker.js - About 7 hrs to fix

                Function _tabify has 168 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _tabify: function(init) {
                
                        this.$lis = $('li:has(a[href])', this.element);
                        this.$tabs = this.$lis.map(function() { return $('a', this)[0]; });
                        this.$panels = $([]);
                Severity: Major
                Found in assets/javascripts/ui/ui.tabs.js - About 6 hrs to fix

                  File ui.tabs.js has 408 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /*
                   * jQuery UI Tabs @VERSION
                   *
                   * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
                   * Dual licensed under the MIT (MIT-LICENSE.txt)
                  Severity: Minor
                  Found in assets/javascripts/ui/ui.tabs.js - About 5 hrs to fix

                    Function _init has 134 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _init: function() {
                    
                            var self = this, o = this.options;
                    
                            var elpos = this.element.css('position');
                    Severity: Major
                    Found in assets/javascripts/ui/ui.resizable.js - About 5 hrs to fix

                      File ui.core.js has 382 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      /*
                       * jQuery UI @VERSION
                       *
                       * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
                       * Dual licensed under the MIT (MIT-LICENSE.txt)
                      Severity: Minor
                      Found in assets/javascripts/ui/ui.core.js - About 5 hrs to fix

                        File ui.slider.js has 366 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /*
                         * jQuery UI Slider @VERSION
                         *
                         * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
                         * Dual licensed under the MIT (MIT-LICENSE.txt)
                        Severity: Minor
                        Found in assets/javascripts/ui/ui.slider.js - About 4 hrs to fix

                          Function parseDate has 119 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              parseDate: function (format, value, settings) {
                                  if (format == null || value == null)
                                      throw 'Invalid arguments';
                                  value = (typeof value == 'object' ? value.toString() : value + '');
                                  if (value == '')
                          Severity: Major
                          Found in assets/javascripts/ui/ui.datepicker.js - About 4 hrs to fix

                            Function _init has 111 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _init: function() {
                                    this.originalTitle = this.element.attr('title');
                                    this.options.title = this.options.title || this.originalTitle;
                            
                                    var self = this,
                            Severity: Major
                            Found in assets/javascripts/ui/ui.dialog.js - About 4 hrs to fix

                              Consider simplifying this complex logical expression.
                              Open

                                          if(!((l-d < x1 && x1 < r+d && t-d < y1 && y1 < b+d) || (l-d < x1 && x1 < r+d && t-d < y2 && y2 < b+d) || (l-d < x2 && x2 < r+d && t-d < y1 && y1 < b+d) || (l-d < x2 && x2 < r+d && t-d < y2 && y2 < b+d))) {
                                              if(inst.snapElements[i].snapping) (inst.options.snap.release && inst.options.snap.release.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));
                                              inst.snapElements[i].snapping = false;
                                              continue;
                                          }
                              Severity: Critical
                              Found in assets/javascripts/ui/ui.draggable.js - About 4 hrs to fix

                                Consider simplifying this complex logical expression.
                                Open

                                            if(!((l-d < x1 && x1 < r+d && t-d < y1 && y1 < b+d) || (l-d < x1 && x1 < r+d && t-d < y2 && y2 < b+d) || (l-d < x2 && x2 < r+d && t-d < y1 && y1 < b+d) || (l-d < x2 && x2 < r+d && t-d < y2 && y2 < b+d))) {
                                                if(inst.snapElements[i].snapping) (inst.options.snap.release && inst.options.snap.release.call(inst.element, null, $.extend(inst.uiHash(), { snapItem: inst.snapElements[i].item })));
                                                inst.snapElements[i].snapping = false;
                                                continue;
                                            }
                                Severity: Critical
                                Found in assets/javascripts/jquery-ui.js - About 4 hrs to fix

                                  Function contextMenu has 100 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          contextMenu: function(o, callback) {
                                              // Defaults
                                              if( o.menu == undefined ) return false;
                                              if( o.menuCssName == undefined ) o.menuCssName = 'contextMenu';
                                              if( o.inSpeed == undefined ) o.inSpeed = 150;
                                  Severity: Major
                                  Found in assets/javascripts/jquery.contextMenu.js - About 4 hrs to fix

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

                                    function Datepicker() {
                                        this.debug = false; // Change this to true to start debugging
                                        this._curInst = null; // The current instance in use
                                        this._keyEvent = false; // If the last event was a key event
                                        this._disabledInputs = []; // List of date picker inputs that have been disabled
                                    Severity: Major
                                    Found in assets/javascripts/ui/ui.datepicker.js - About 3 hrs to fix

                                      File ui.accordion.js has 324 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      /*
                                       * jQuery UI Accordion @VERSION
                                       *
                                       * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
                                       * Dual licensed under the MIT (MIT-LICENSE.txt)
                                      Severity: Minor
                                      Found in assets/javascripts/ui/ui.accordion.js - About 3 hrs to fix

                                        Function size has 78 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        $.effects.size = function(o) {
                                        
                                            return this.queue(function() {
                                        
                                                // Create element
                                        Severity: Major
                                        Found in assets/javascripts/ui/effects.scale.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language