Showing 150 of 1,771 total issues
Avoid deeply nested control flow statements. Open
Open
if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {
return true;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for ( match in context ) {
// Properties of context are called as methods if possible
if ( isFunction( this[ match ] ) ) {
this[ match ]( context[ match ] );
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( attrs[ i ] ) {
name = attrs[ i ].name;
if ( name.indexOf( "data-" ) === 0 ) {
name = camelCase( name.slice( 5 ) );
dataAttr( elem, name, data[ name ] );
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (match) {
matched = true;
ops[token_1 !== "Y" ? "push" : "unshift"]({
fn: revFormat[token_1],
val: match[++matchIndex],
- Create a ticketCreate a ticket
Function getNearestCartesianItems
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) {
- Create a ticketCreate a ticket
Function on
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function on( elem, types, selector, data, fn, one ) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if ( match[ 2 ] ) {
push.apply( results, context.getElementsByTagName( selector ) );
return results;
// Class selector
- Create a ticketCreate a ticket
Function _steppedLineTo
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _steppedLineTo(ctx, previous, target, flip, mode) {
- Create a ticketCreate a ticket
Function buildFragment
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function buildFragment( elems, context, scripts, selection, ignored ) {
- Create a ticketCreate a ticket
Function evaluateInteractionItems
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function evaluateInteractionItems(chart, axis, position, handler, intersect) {
- Create a ticketCreate a ticket
Function skip
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function skip(ticks, newTicks, spacing, majorStart, majorEnd) {
- Create a ticketCreate a ticket
Function determineLimits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function determineLimits(angle, pos, size, min, max) {
- Create a ticketCreate a ticket
Function _createResolver
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _createResolver(scopes, prefixes = [''], rootScopes = scopes, fallback, getTarget = () => scopes[0]) {
- Create a ticketCreate a ticket
Function superMatcher
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
superMatcher = function( seed, context, xml, results, outermost ) {
- Create a ticketCreate a ticket
Function _updateBezierControlPoints
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _updateBezierControlPoints(points, options, area, loop, indexAxis) {
- Create a ticketCreate a ticket
Function setBoxDims
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function setBoxDims(box, left, top, width, height) {
- Create a ticketCreate a ticket
Function drawArc
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function drawArc(ctx, element, offset, spacing, circular) {
- Create a ticketCreate a ticket
Function updateLimits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function updateLimits(limits, orig, angle, hLimits, vLimits) {
- Create a ticketCreate a ticket
Function remove
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
remove: function( elem, types, handler, selector, mappedTypes ) {
- Create a ticketCreate a ticket
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct(View $view, array $args = [], ?JsExpressionable $afterSuccess = null, array $apiConfig = [], bool $includeStorage = false)
- Create a ticketCreate a ticket