JohnMunsch/PaperQuik

View on GitHub

Showing 1,311 of 1,311 total issues

Avoid deeply nested control flow statements.
Open

                    if (arg.constructor === Color) {
                        type = arg._type;
                        components = arg._components.slice();
                        alpha = arg._alpha;
                        if (type === 'gradient') {
Severity: Major
Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

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

        function callEvent(view, type, event, point, target, lastPoint) {
    Severity: Minor
    Found in app/bower_components/paper/dist/paper-full.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                      } else if (typeof compare === 'function') {
                          if (!compare(value))
                              return false;
                      } else if (Base.isPlainObject(compare)) {
                          if (!matchObject(compare, value))
      Severity: Major
      Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

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

            initialize: function Segment(arg0, arg1, arg2, arg3, arg4, arg5) {
        Severity: Minor
        Found in app/bower_components/paper/dist/paper-full.js - About 45 mins to fix

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

                  getIntersections: function(v1, v2, curve1, curve2, locations, include) {
          Severity: Minor
          Found in app/bower_components/paper/dist/paper-full.js - About 45 mins to fix

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

                    solveQuadratic: function(a, b, c, roots, min, max) {
            Severity: Minor
            Found in app/bower_components/paper/dist/paper-full.js - About 45 mins to fix

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

                  getHandleBounds: function(segments, closed, style, matrix, strokePadding,
                          joinPadding) {
              Severity: Minor
              Found in app/bower_components/paper/dist/paper-full.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                        if (dir > 0)
                                            c1 = c1.getPrevious();
                Severity: Major
                Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                          if (w3 * w4 !== 0) {
                                              var curve = w3 < w4 ? c3 : c4,
                                                  nextCurve = operator(curve._segment1._winding)
                                                      ? curve
                                                      : w3 < w4 ? c4 : c3,
                  Severity: Major
                  Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                            if ('setLineDash' in ctx) {
                                                ctx.setLineDash(dashArray);
                                                ctx.lineDashOffset = dashOffset;
                                            } else {
                                                ctx.mozDash = dashArray;
                    Severity: Major
                    Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                              if (sx == -1) tx = ty;
                                              else if (sy == -1) ty = tx;
                      Severity: Major
                      Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                if (k > 0)
                                                    length -= lengths[k - 1];
                        Severity: Major
                        Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                  if (y0 < yBefore && y0 > yTop) {
                                                      yTop = y0;
                                                  } else if (y0 > yAfter && y0 < yBottom) {
                                                      yBottom = y0;
                                                  }
                          Severity: Major
                          Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                    if (testContains && x0 >= xBefore && x0 <= xAfter) {
                                                        ++windLeft;
                                                        ++windRight;
                                                    }
                            Severity: Major
                            Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                  } else if (x0 <= xBefore) {
                                                      windLeft += winding;
                                                  } else if (x0 >= xAfter) {
                                                      windRight += winding;
                                                  }
                              Severity: Major
                              Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

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

                                    function addCurveLineIntersections(v1, v2, curve1, curve2, locations,
                                            include) {
                                Severity: Minor
                                Found in app/bower_components/paper/dist/paper-full.js - About 45 mins to fix

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

                                      _addBevelJoin: function(segment, join, radius, miterLimit, addPoint, area) {
                                  Severity: Minor
                                  Found in app/bower_components/paper/dist/paper-full.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                            if (other && other != set)
                                                                delete other[item._id];
                                    Severity: Major
                                    Found in app/bower_components/paper/dist/paper-core.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                              if (other && other != set)
                                                                  delete other[item._id];
                                      Severity: Major
                                      Found in app/bower_components/paper/dist/paper-full.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                            if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
                                                                                return false;
                                                                            }
                                        Severity: Major
                                        Found in app/bower_components/jquery/dist/jquery.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language