Showing 1,311 of 1,311 total issues
Avoid deeply nested control flow statements. Open
Open
if (arg.constructor === Color) {
type = arg._type;
components = arg._components.slice();
alpha = arg._alpha;
if (type === 'gradient') {
Function callEvent
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function callEvent(view, type, event, point, target, lastPoint) {
Avoid deeply nested control flow statements. Open
Open
} else if (typeof compare === 'function') {
if (!compare(value))
return false;
} else if (Base.isPlainObject(compare)) {
if (!matchObject(compare, value))
Function initialize
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
initialize: function Segment(arg0, arg1, arg2, arg3, arg4, arg5) {
Function getIntersections
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
getIntersections: function(v1, v2, curve1, curve2, locations, include) {
Function solveQuadratic
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
solveQuadratic: function(a, b, c, roots, min, max) {
Function getHandleBounds
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
getHandleBounds: function(segments, closed, style, matrix, strokePadding,
joinPadding) {
Avoid deeply nested control flow statements. Open
Open
if (dir > 0)
c1 = c1.getPrevious();
Avoid deeply nested control flow statements. Open
Open
if (w3 * w4 !== 0) {
var curve = w3 < w4 ? c3 : c4,
nextCurve = operator(curve._segment1._winding)
? curve
: w3 < w4 ? c4 : c3,
Avoid deeply nested control flow statements. Open
Open
if ('setLineDash' in ctx) {
ctx.setLineDash(dashArray);
ctx.lineDashOffset = dashOffset;
} else {
ctx.mozDash = dashArray;
Avoid deeply nested control flow statements. Open
Open
if (sx == -1) tx = ty;
else if (sy == -1) ty = tx;
Avoid deeply nested control flow statements. Open
Open
if (k > 0)
length -= lengths[k - 1];
Avoid deeply nested control flow statements. Open
Open
if (y0 < yBefore && y0 > yTop) {
yTop = y0;
} else if (y0 > yAfter && y0 < yBottom) {
yBottom = y0;
}
Avoid deeply nested control flow statements. Open
Open
if (testContains && x0 >= xBefore && x0 <= xAfter) {
++windLeft;
++windRight;
}
Avoid deeply nested control flow statements. Open
Open
} else if (x0 <= xBefore) {
windLeft += winding;
} else if (x0 >= xAfter) {
windRight += winding;
}
Function addCurveLineIntersections
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function addCurveLineIntersections(v1, v2, curve1, curve2, locations,
include) {
Function _addBevelJoin
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_addBevelJoin: function(segment, join, radius, miterLimit, addPoint, area) {
Avoid deeply nested control flow statements. Open
Open
if (other && other != set)
delete other[item._id];
Avoid deeply nested control flow statements. Open
Open
if (other && other != set)
delete other[item._id];
Avoid deeply nested control flow statements. Open
Open
if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
return false;
}