Condition Coverage

blib/lib/Pugs/Runtime/Regex.pm
Criterion Covered Total %
condition 22 56 39.2


and 3 conditions

line !l l&&!r l&&r condition
58 76 1 13 not $m2 || $m2->data->{'abort'} and defined $state[0]
77 0 13 not $m2 || $m2->data->{'abort'} and defined $state[0] and $redo_count++ < 512
70 90 0 0 $is_empty and $param1{'was_empty'}
504 5 0 0 defined $max_count and $max_count < 1e+99
583 0 0 0 $count < $max_count and $previous_pos < $current_pos

or 2 conditions

line l !l condition
491 0 2 $_[1] || 0
495 0 0 $_[1] || 0
527 3 3 $_[1] || 1e+99
529 9 12 $_[1] || {'node', concat([($node) x $min_count]), 'count', $min_count}
640 0 0 $$args{'p'} || 0
0 0 $$args{'p'} || 0
656 0 0 $$args{'p'} || 0
0 0 $$args{'p'} || 0
666 0 0 $$args{'p'} || 0
0 0 $$args{'p'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
26 100 0 37 $_[3] or $_[3]->data->{'abort'}
58 76 0 14 $m2 || $m2->data->{'abort'}
64 24 0 90 not $_[3] or $_[3]->data->{'abort'}
141 0 0 77 $m2->data->{'capture'} || $_[3]->data->{'capture'}
17 39 21 defined $state[0] || defined $state[1]
411 0 0 0 $_[5] == 0 || substr($_[0], 0, $_[5]) =~ /\n$/s
428 0 0 0 $_[5] >= length $_[0] || substr($_[0], $_[5]) =~ /^\n/s