opsforgeio/cabot

View on GitHub

Showing 1,637 of 1,637 total issues

Avoid deeply nested control flow statements.
Open

              if ( sValType !== '' )
              {
                sThisType = _fnDetectType( sValType );
                if ( oCol.sType === null )
                {
Severity: Major
Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                  if ( nRow == oSettings.aoOpenRows[k].nParent )
                  {
                    anRows.push( oSettings.aoOpenRows[k].nTr );
                    break;
                  }
    Severity: Major
    Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

            else if ( oOpts.order == "original" && oOpts.filter == "applied" )
            {
              for ( i=0, iLen=aoData.length ; i<iLen ; i++ )
              {
                tr = aoData[ i ].nTr;
      Severity: Major
      Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                      for ( k=0 ; k<iRowspan ; k++ )
                      {
                        aLayout[i+k][iColShifted+l] = {
                          "cell": nCell,
                          "unique": bUnique
        Severity: Major
        Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                    if ( tr )
                    {
                      a.push( tr );
                    }
          Severity: Major
          Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

            Function angle has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                R.angle = function (x1, y1, x2, y2, x3, y3) {
            Severity: Minor
            Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

              Function Matrix has 6 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  function Matrix(a, b, c, d, e, f) {
              Severity: Minor
              Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                Function runAnimation has 6 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    function runAnimation(anim, element, percent, status, totalOrigin, times) {
                Severity: Minor
                Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                          if (justCount) {
                                              res += intr;
                                          } else {
                                              for (var k = 0, kk = intr.length; k < kk; k++) {
                                                  intr[k].segment1 = i;
                  Severity: Major
                  Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                    Function matrix has 6 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        R.matrix = function (a, b, c, d, e, f) {
                    Severity: Minor
                    Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                      Function CubicBezierAtTime has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          function CubicBezierAtTime(t, p1x, p1y, p2x, p2y, duration) {
                      Severity: Minor
                      Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                            for (key in e) if (e[has](key)) {
                                                splice.push(e[key]);
                                            }
                        Severity: Major
                        Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                          Function rect has 6 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              R._engine.rect = function (vml, x, y, w, h, r) {
                          Severity: Minor
                          Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                for (key in e.n) if (e.n[has](key) && e.n[key].f) {
                                                    delete e.n[key].f;
                                                }
                            Severity: Major
                            Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                  for (key in e.n) if (e.n[has](key) && e.n[key].f) {
                                                      var funcs = e.n[key].f;
                                                      for (j = 0, jj = funcs.length; j < jj; j++) if (funcs[j] == f) {
                                                          funcs.splice(j, 1);
                                                          break;
                              Severity: Major
                              Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                            if (path) {
                                                                var clip = R._g.doc.getElementById(path.replace(/(^url\(#|\)$)/g, E));
                                                                clip && clip.parentNode.removeChild(clip);
                                                                $(node, {"clip-path": E});
                                                                delete o.clip;
                                Severity: Major
                                Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                              if (onlystart) {return sp;}
                                  Severity: Major
                                  Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                if ("opacity" in attrs || "fill-opacity" in attrs) {
                                                                    var gradient = R._g.doc.getElementById(node.getAttribute("fill").replace(/^url\(#|\)$/g, E));
                                                                    if (gradient) {
                                                                        var stops = gradient.getElementsByTagName("stop");
                                                                        $(stops[stops.length - 1], {"stop-opacity": ("opacity" in attrs ? attrs.opacity : 1) * ("fill-opacity" in attrs ? attrs["fill-opacity"] : 1)});
                                    Severity: Major
                                    Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                                      Function rect has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          R._engine.rect = function (svg, x, y, w, h, r) {
                                      Severity: Minor
                                      Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                for (key in to) if (to[has](key)) {
                                                                    init[key] = e.totalOrigin[key];
                                                                }
                                        Severity: Major
                                        Found in cabot/static/arachnys/js/raphael.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language