Condition Coverage

blib/lib/App/Greple/Grep.pm
Criterion Covered Total %
condition 43 67 64.1


and 3 conditions

line !l l&&!r l&&r condition
249 16 0 0 $pat->is_required and $self->{'need'} >= 0
253 15 0 1 $self->{'group_index'} == 2 and not $pat->is_function
266 176 12 14 $self->{'parallel'} and not @blocks
404 963 4 300 $mp->[$_][7] <= $compromize && $mp->[$_][0] >= $self->{'need'} && $mp->[$_][3] <= $self->{'allow'}
421 122 7 0 @{$self->{'block'}} and $self->{'after'} || $self->{'before'}
465 128 0 1 $self->{'join_blocks'} and @list > 1
490 0 140 0 $self->{'alert_size'} and length $_ >= $self->{'alert_size'}
623 6 361 203 $from <= $_[1] and $_[2] < $to
641 317 2 56 $ei == $bi and $ei < $#{$border;}

or 2 conditions

line l !l condition
106 16 145 $self->{'parallel'} // 0
132 0 0 $_->[2] // '18446744073709551615'
147 30 0 $data // ""
197 13 0 $data // ""
311 8 0 @select or next
329 1 0 @select or next
442 2 0 $_->[2] // 0
534 129 32 &sum(map({@$_ - 1;} $obj->result)) // 0

or 3 conditions

line l !l&&r !l&&!r condition
108 16 0 0 $ENV{'GREPLE_PARALLEL_THRESHOLD'} // $default_threshold
168 14 0 0 $ENV{'GREPLE_PARALLEL_THRESHOLD'} // $default_threshold
254 0 1 0 $pat->group_count //= do { "" =~ /@{[$pat->regex];}?/u; 1 unless $#+ }
288 9 56 534 $_->index //= $i
291 0 3 0 $_->callback //= $callback
315 0 7 4 $self->{'region_index'} // @result == 1
421 3 0 4 $self->{'after'} || $self->{'before'}
620 5 1 134 $opt->{'A'} or $opt->{'B'}