opsforgeio/cabot

View on GitHub

Showing 1,637 of 1,637 total issues

Function getPointAtSegmentLength has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    getPointAtSegmentLength = function (p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, length) {
Severity: Major
Found in cabot/static/arachnys/js/raphael.js - About 1 hr to fix

    Function bezlen has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) {
    Severity: Major
    Found in cabot/static/arachnys/js/raphael.js - About 1 hr to fix

      Function findDotAtSegment has 9 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              findDotAtSegment = function (p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {
      Severity: Major
      Found in cabot/static/arachnys/js/raphael.js - About 1 hr to fix

        Function getTatLen has 9 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            function getTatLen(x1, y1, x2, y2, x3, y3, x4, y4, ll) {
        Severity: Major
        Found in cabot/static/arachnys/js/raphael.js - About 1 hr to fix

          Function findDotsAtSegment has 9 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              R.findDotsAtSegment = function (p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {
          Severity: Major
          Found in cabot/static/arachnys/js/raphael.js - About 1 hr to fix

            Function _initSource has 28 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _initSource: function() {
                    var array, url,
                        that = this;
                    if ( $.isArray(this.options.source) ) {
                        array = this.options.source;
            Severity: Minor
            Found in cabot/static/theme/js/jquery.ui.autocomplete.js - About 1 hr to fix

              Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  _createWidget: function( options, element ) {
                      element = $( element || this.defaultElement || this )[ 0 ];
                      this.element = $( element );
                      this.uuid = uuid++;
                      this.eventNamespace = "." + this.widgetName + this.uuid;
              Severity: Minor
              Found in cabot/static/theme/js/jquery-ui.js - About 1 hr to fix

                Function _initSource has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _initSource: function() {
                        var array, url,
                            that = this;
                        if ( $.isArray(this.options.source) ) {
                            array = this.options.source;
                Severity: Minor
                Found in cabot/static/theme/js/jquery-ui.js - About 1 hr to fix

                  Function keydown_checker has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      Chosen.prototype.keydown_checker = function(evt) {
                        var stroke, _ref1;
                  
                        stroke = (_ref1 = evt.which) != null ? _ref1 : evt.keyCode;
                        this.search_field_scale();
                  Severity: Minor
                  Found in cabot/static/theme/js/chosen.jquery.js - About 1 hr to fix

                    Function _create has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _create: function() {
                            var selectees,
                                that = this;
                    
                            this.element.addClass("ui-selectable");
                    Severity: Minor
                    Found in cabot/static/theme/js/jquery-ui.js - About 1 hr to fix

                      Function puff has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      $.effects.effect.puff = function( o, done ) {
                          var elem = $( this ),
                              mode = $.effects.setMode( elem, o.mode || "hide" ),
                              hide = mode === "hide",
                              percent = parseInt( o.percent, 10 ) || 150,
                      Severity: Minor
                      Found in cabot/static/theme/js/jquery-ui.js - About 1 hr to fix

                        Function _fnJsonString has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            var _fnJsonString = (window.JSON) ? JSON.stringify : function( o )
                            {
                              /* Not an object or array */
                              var sType = typeof o;
                              if (sType !== "object" || o === null)
                        Severity: Minor
                        Found in cabot/static/theme/js/jquery.dataTables.min.js - About 1 hr to fix

                          Function values has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              values: function( index, newValue ) {
                                  var vals,
                                      newValues,
                                      i;
                          
                          
                          Severity: Minor
                          Found in cabot/static/theme/js/jquery-ui.js - About 1 hr to fix

                            Function transfer has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            $.effects.effect.transfer = function( o, done ) {
                                var elem = $( this ),
                                    target = $( o.to ),
                                    targetFixed = target.css( "position" ) === "fixed",
                                    body = $("body"),
                            Severity: Minor
                            Found in cabot/static/theme/js/jquery-ui.js - About 1 hr to fix

                              Function highlight has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              $.effects.effect.highlight = function( o, done ) {
                                  var elem = $( this ),
                                      props = [ "backgroundImage", "backgroundColor", "opacity" ],
                                      mode = $.effects.setMode( elem, o.mode || "show" ),
                                      animation = {
                              Severity: Minor
                              Found in cabot/static/theme/js/jquery-ui.js - About 1 hr to fix

                                Function _create has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _create: function() {
                                        this.originalCss = {
                                            display: this.element[0].style.display,
                                            width: this.element[0].style.width,
                                            minHeight: this.element[0].style.minHeight,
                                Severity: Minor
                                Found in cabot/static/theme/js/jquery-ui.js - About 1 hr to fix

                                  Function fnInit has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                        "fnInit": function ( oSettings, nPaging, fnCallbackDraw )
                                        {
                                          var oLang = oSettings.oLanguage.oPaginate;
                                          var oClasses = oSettings.oClasses;
                                          var fnClickHandler = function ( e ) {
                                  Severity: Minor
                                  Found in cabot/static/theme/js/jquery.dataTables.min.js - About 1 hr to fix

                                    Function glow has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        elproto.glow = function (glow) {
                                            if (this.type == "text") {
                                                return null;
                                            }
                                            glow = glow || {};
                                    Severity: Minor
                                    Found in cabot/static/arachnys/js/raphael.js - About 1 hr to fix

                                      Function _equaliseTransform has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              equaliseTransform = R._equaliseTransform = function (t1, t2) {
                                                  t2 = Str(t2).replace(/\.{3}|\u2026/g, t1);
                                                  t1 = R.parseTransformString(t1) || [];
                                                  t2 = R.parseTransformString(t2) || [];
                                                  var maxlength = mmax(t1.length, t2.length),
                                      Severity: Minor
                                      Found in cabot/static/arachnys/js/raphael.js - About 1 hr to fix

                                        Function d3_selection_on has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          function d3_selection_on(type, listener, capture) {
                                            var name = "__on" + type, i = type.indexOf("."), wrap = d3_selection_onListener;
                                            if (i > 0) type = type.substring(0, i);
                                            var filter = d3_selection_onFilters.get(type);
                                            if (filter) type = filter, wrap = d3_selection_onFilter;
                                        Severity: Minor
                                        Found in cabot/static/arachnys/js/d3.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language