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 866 503 348 @list and $list[0][1] < $from
153 866 445 58 @list and $list[0][1] == $from
1311 58 0 @list and $list[0][1] == $from and $list[0][0] < $from
157 1066 303 520 $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 57 53 @input and $input[0][0] < $from
103 2 51 @input and $input[0][0] < $from and $input[0][1] <= $from
209 48 57 2 @input and $input[0][0] < $from
213 54 51 68 @input and $input[0][0] < $to
105 0 68 @input and $input[0][0] < $to and $input[0][1] <= $to
217 54 51 0 @input and $input[0][0] < $to
240 1263 0 0 not $nojoin and $out[-1][1] == $top->[0]
1263 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 13 0 shift() // []
13 0 shift() // []
13 0 shift() // []

or 3 conditions

line l !l&&r !l&&!r condition
99 212 0 0 $arg{'pattern'} // croak("Parameter error")
231 1397 0 208 $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 $_