Condition Coverage

blib/lib/App/Greple/Grep.pm
Criterion Covered Total %
condition 33 50 66.0


and 3 conditions

line !l l&&!r l&&r condition
125 6 0 0 $pat->is_required and $self->{'need'} >= 0
129 5 0 1 $self->{'group_index'} == 2 and not $pat->is_function
274 926 4 283 $mp->[$_][7] <= $compromize && $mp->[$_][0] >= $self->{'need'} && $mp->[$_][3] <= $self->{'allow'}
291 107 7 0 @{$self->{'block'}} and $self->{'after'} || $self->{'before'}
335 113 0 1 $self->{'join_blocks'} and @list > 1
360 0 109 0 $self->{'alert_size'} and length $_ >= $self->{'alert_size'}
464 3 312 200 $from <= $_[1] and $_[2] < $to
482 260 2 56 $ei == $bi and $ei < $#{$border;}

or 2 conditions

line l !l condition
182 6 0 @select or next
200 1 0 @select or next
312 2 0 $_->[2] // 0
397 114 10 &sum(map({@$_ - 1;} $obj->result)) // 0

or 3 conditions

line l !l&&r !l&&!r condition
130 0 1 0 $pat->group_count //= do { "" =~ /@{[$pat->regex];}?/u; 1 unless $#+ }
159 9 28 496 $_->index //= $i
162 0 3 0 $_->callback //= $callback
186 0 7 0 $self->{'region_index'} // @result == 1
291 3 0 4 $self->{'after'} || $self->{'before'}
461 2 1 106 $opt->{'A'} or $opt->{'B'}