Showing 1,675 of 1,675 total issues
Avoid too many return
statements within this function. Open
Open
else if (sourceEdge[2] >= 1 && targetEdge[2] <= 0) return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ];
Avoid too many return
statements within this function. Open
Open
else return [ midx + (-1 * dx) , midy + (-1 * dy) ];
Avoid too many return
statements within this function. Open
Open
if ( xD < yD ) { return -1; }
Avoid too many return
statements within this function. Open
Open
if (isNaN(xF) !== isNaN(yF)) { return (isNaN(xF)) ? 1 : -1; }
Avoid too many return
statements within this function. Open
Open
else if (sourceEdge[2] <= 0 && targetEdge[2] >= 1) return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ];
Avoid too many return
statements within this function. Open
Open
if (sourceEdge[3] <= 0 && targetEdge[3] >= 1) return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ];
Avoid too many return
statements within this function. Open
Open
else return [ midx + (1 * dx) , midy + (-1 * dy) ];
Avoid too many return
statements within this function. Open
Open
return ts.sortText(table, b, a);
Avoid too many return
statements within this function. Open
Open
else if (sourceEdge[2] <= 0 && targetEdge[2] >= 1) return [ midx, midy + (sourceEdge[3] < 0.5 ? -1 * dy : dy) ];
Avoid too many return
statements within this function. Open
Open
if ( xD > yD ) { return 1; }
Avoid too many return
statements within this function. Open
Open
if (xF > yF) { return 1; }
Avoid too many return
statements within this function. Open
Open
if (sourceEdge[3] >= 1 && targetEdge[3] <= 0) return [ midx + (sourceEdge[2] < 0.5 ? -1 * dx : dx), midy ];
Avoid too many return
statements within this function. Open
Open
return 0;
Avoid too many return
statements within this function. Open
Open
if (xF < yF) { return -1; }
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
redirect_to redirect_apply(edit_project_path(@project, :anchor => session[:anchor]), nil, organization_estimations_path(@project.organization)) and return
Avoid too many return
statements within this method. Open
Open
redirect_to redirect_apply(edit_project_path(@project, :anchor => session[:anchor]), nil, organization_setting_path(@project.organization, anchor: "tabs-estimation-models")) and return
Avoid too many return
statements within this method. Open
Open
redirect_to organization_estimations_path(@current_organization), :flash => {:error => I18n.t(:error_project_checkout_failed)} and return