Condition Coverage

blib/lib/App/Greple/Regions.pm
Criterion Covered Total %
condition 40 65 61.5


and 3 conditions

line !l l&&!r l&&r condition
150 839 425 324 @list and $list[0][1] < $from
153 839 367 58 @list and $list[0][1] == $from
1206 58 0 @list and $list[0][1] == $from and $list[0][0] < $from
157 986 278 462 $i < @list and $list[$i][0] < $to
170 1 0 0 @list and $list[0][0] < $from
174 1 0 0 @list and $list[0][0] < $to
1 0 0 @list and $list[0][0] < $to and $list[0][1] <= $to
206 46 53 53 @input and $input[0][0] < $from
99 2 51 @input and $input[0][0] < $from and $input[0][1] <= $from
209 48 53 2 @input and $input[0][0] < $from
213 52 49 66 @input and $input[0][0] < $to
101 0 66 @input and $input[0][0] < $to and $input[0][1] <= $to
217 52 49 0 @input and $input[0][0] < $to
240 1235 0 0 not $nojoin and $out[-1][1] == $top->[0]
1235 0 0 not $nojoin and $out[-1][1] == $top->[0] and @$top < 3 || $out[-1][2] == $top->[2]

or 2 conditions

line l !l condition
131 16 0 $-[$i] // (next)
201 9 0 shift() // []
9 0 shift() // []
9 0 shift() // []

or 3 conditions

line l !l&&r !l&&!r condition
99 169 0 0 $arg{'pattern'} // croak("Parameter error")
231 1362 0 204 $App::Greple::Regions::a->[0] <=> $App::Greple::Regions::b->[0] or $App::Greple::Regions::b->[1] <=> $App::Greple::Regions::a->[1]
240 0 0 0 @$top < 3 || $out[-1][2] == $top->[2]
264 12 0 0 $max // length $_