backlogs/redmine_backlogs

View on GitHub

Showing 993 of 2,083 total issues

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

/*!
 * jQuery UI 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.

    File jquery.jqplot.js has 7639 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /**
     * Title: jqPlot Charts
     * 
     * Pure JavaScript plotting plugin for jQuery.
     * 
    Severity: Major
    Found in assets/javascripts/jquery/jquery.jqplot/jquery.jqplot.js - About 3 wks to fix

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

      /*!
       * jQuery JavaScript Library v1.6.4
       * http://jquery.com/
       *
       * Copyright 2011, John Resig
      Severity: Major
      Found in assets/javascripts/jquery/jquery.jqplot/jquery.js - About 2 wks to fix

        Function jqPlot has 1466 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function jqPlot() {
                // Group: Properties
                // These properties are specified at the top of the options object
                // like so:
                // > {
        Severity: Major
        Found in assets/javascripts/jquery/jquery.jqplot/jquery.jqplot.js - About 1 wk to fix

          File yahooData.js has 1807 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          var yahoo=[["2011-10-18",580.19,592.56,577.40,590.51,3800800,590.51],
          ["2011-10-17",583.72,591.83,578.00,582.41,4008200,582.41],
          ["2011-10-14",599.47,599.60,587.57,591.68,8529900,591.68],
          ["2011-10-13",550.03,559.00,548.02,558.99,5639600,558.99],
          ["2011-10-12",548.13,555.23,544.63,548.50,3177800,548.50],
          Severity: Major
          Found in assets/javascripts/jquery/jquery.jqplot/examples/yahooData.js - About 4 days to fix

            File jquery.colorpicker.js has 1345 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /*jslint devel: true, bitwise: true, regexp: true, browser: true, confusion: true, unparam: true, eqeq: true, white: true, nomen: true, plusplus: true, maxerr: 50, indent: 4 */
            /*globals jQuery */
            
            /*
             * ColorPicker v0.6

              Function jQuery has 590 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              var jQuery = (function() {
              
              // Define a local copy of jQuery
              var jQuery = function( selector, context ) {
                      // The jQuery object is actually just the init constructor 'enhanced'
              Severity: Major
              Found in assets/javascripts/jquery/jquery.jqplot/jquery.js - About 2 days to fix

                File excanvas.js has 1096 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                // Memory Leaks patch from http://explorercanvas.googlecode.com/svn/trunk/ 
                //  svn : r73
                // ------------------------------------------------------------------
                // Copyright 2006 Google Inc.
                //
                Severity: Major
                Found in assets/javascripts/jquery/jquery.jqplot/excanvas.js - About 2 days to fix

                  Method rebuild_issue has a Cognitive Complexity of 136 (exceeds 5 allowed). Consider refactoring.
                  Open

                    def self.rebuild_issue(issue, status=nil)
                      rb = RbIssueHistory.find_or_initialize_by_issue_id(issue.id)
                  
                      rb.history = [{:date => issue.created_on.to_date - 1, :origin => :rebuild}]
                  
                  
                  Severity: Minor
                  Found in app/models/rb_issue_history.rb - About 2 days to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Function draw has 426 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      $.jqplot.MeterGaugeRenderer.prototype.draw = function (ctx, gd, options) {
                          var i;
                          var opts = (options != undefined) ? options : {};
                          // offset and direction of offset due to legend placement
                          var offx = 0;

                    File jqplot.cursor.js has 864 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /**
                     * jqPlot
                     * Pure JavaScript plotting plugin using jQuery
                     *
                     * Version: 1.0.0
                    Severity: Major
                    Found in assets/javascripts/jquery/jquery.jqplot/plugins/jqplot.cursor.js - About 2 days to fix

                      Function createTicks has 385 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          $.jqplot.LinearAxisRenderer.prototype.createTicks = function(plot) {
                              // we're are operating on an axis here
                              var ticks = this._ticks;
                              var userTicks = this.ticks;
                              var name = this.name;
                      Severity: Major
                      Found in assets/javascripts/jquery/jquery.jqplot/jquery.jqplot.js - About 1 day to fix

                        File jqplot.meterGaugeRenderer.js has 746 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /**
                         * jqPlot
                         * Pure JavaScript plotting plugin using jQuery
                         *
                         * Version: 1.0.0

                          Function draw has 322 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              $.jqplot.PyramidGridRenderer.prototype.draw = function() {
                                  this._ctx = this._elem.get(0).getContext("2d");
                                  var ctx = this._ctx;
                                  var axes = this._axes;
                                  var xp = axes.xaxis.u2p;

                            Function createTicks has 293 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                $.jqplot.DateAxisRenderer.prototype.createTicks = function(plot) {
                                    // we're are operating on an axis here
                                    var ticks = this._ticks;
                                    var userTicks = this.ticks;
                                    var name = this.name;

                              File kcp_pyramid_by_age.php has 647 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              <!DOCTYPE html>
                              
                              <html>
                              <head>
                              <?php 

                                File jquery.effects.core.js has 635 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                /*
                                 * jQuery UI Effects 1.9pre
                                 *
                                 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
                                 * Dual licensed under the MIT or GPL Version 2 licenses.

                                  File jqplot.canvasOverlay.js has 632 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  /**
                                   * jqPlot
                                   * Pure JavaScript plotting plugin using jQuery
                                   *
                                   * Version: 1.0.0

                                    File jqplot.pieRenderer.js has 624 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    /**
                                     * jqPlot
                                     * Pure JavaScript plotting plugin using jQuery
                                     *
                                     * Version: 1.0.0
                                    Severity: Major
                                    Found in assets/javascripts/jquery/jquery.jqplot/plugins/jqplot.pieRenderer.js - About 1 day to fix

                                      Function checkIntersection has 264 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              function checkIntersection(gridpos, plot) {
                                                  var series = plot.series;
                                                  var i, j, k, s, r, x, y, theta, sm, sa, minang, maxang;
                                                  var d0, d, p, pp, points, bw, hp;
                                                  var threshold, t;
                                      Severity: Major
                                      Found in assets/javascripts/jquery/jquery.jqplot/jquery.jqplot.js - About 1 day to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language