Condition Coverage

blib/lib/Complete/Sah.pm
Criterion Covered Total %
condition 60 100 60.0


and 3 conditions

line !l l&&!r l&&r condition
154 39 1 1 $clset->{'is'} and not ref $clset->{'is'}
194 0 0 2 $clset->{'of'} and @{$clset->{'of'};}
213 20 0 1 $clset->{'between'} and $clset->{'between'}[0] - $clset->{'between'}[0] <= $limit
19 0 1 $clset->{'xbetween'} and $clset->{'xbetween'}[0] - $clset->{'xbetween'}[0] <= $limit
10 2 7 defined $clset->{'min'} and defined $clset->{'max'}
12 5 2 defined $clset->{'min'} and defined $clset->{'max'} and $clset->{'max'} - $clset->{'min'} <= $limit
10 6 1 defined $clset->{'min'} and defined $clset->{'xmax'}
16 0 1 defined $clset->{'min'} and defined $clset->{'xmax'} and $clset->{'xmax'} - $clset->{'min'} <= $limit
14 1 1 defined $clset->{'xmin'} and defined $clset->{'max'}
15 0 1 defined $clset->{'xmin'} and defined $clset->{'max'} and $clset->{'max'} - $clset->{'xmin'} <= $limit
14 0 1 defined $clset->{'xmin'} and defined $clset->{'xmax'}
14 0 1 defined $clset->{'xmin'} and defined $clset->{'xmax'} and $clset->{'xmax'} - $clset->{'xmin'} <= $limit
4 9 1 length $word and not $word =~ /\A-?\d*\z/
278 220 0 0 $clset->{'between'} and $i < $clset->{'between'}[0] || $i > $clset->{'between'}[1]
281 220 0 0 $clset->{'xbetween'} and $i <= $clset->{'xbetween'}[0] || $i >= $clset->{'xbetween'}[1]
282 105 51 64 defined $clset->{'min'} and $i < $clset->{'min'}
283 156 0 0 defined $clset->{'xmin'} and $i <= $clset->{'xmin'}
284 95 41 20 defined $clset->{'max'} and $i > $clset->{'max'}
285 136 0 0 defined $clset->{'xmin'} and $i >= $clset->{'xmax'}
294 2 8 1 length $word and not $word =~ /\A-?\d*(\.\d*)?\z/
311 236 0 0 $clset->{'between'} and $f < $clset->{'between'}[0] || $f > $clset->{'between'}[1]
314 236 0 0 $clset->{'xbetween'} and $f <= $clset->{'xbetween'}[0] || $f >= $clset->{'xbetween'}[1]
315 154 35 47 defined $clset->{'min'} and $f < $clset->{'min'}
316 189 0 0 defined $clset->{'xmin'} and $f <= $clset->{'xmin'}
317 154 32 3 defined $clset->{'max'} and $f > $clset->{'max'}
318 186 0 0 defined $clset->{'xmin'} and $f >= $clset->{'xmax'}
352 26 0 11 $static && $word eq ''

or 2 conditions

line l !l condition
70 43 0 $args{'word'} // ""
143 0 0 $args{'extras'} // {}

or 3 conditions

line l !l&&r !l&&!r condition
175 1 2 3 not exists $eg->{'valid'} or $eg->{'valid'}
278 0 0 0 $i < $clset->{'between'}[0] || $i > $clset->{'between'}[1]
281 0 0 0 $i <= $clset->{'xbetween'}[0] || $i >= $clset->{'xbetween'}[1]
311 0 0 0 $f < $clset->{'between'}[0] || $f > $clset->{'between'}[1]
314 0 0 0 $f <= $clset->{'xbetween'}[0] || $f >= $clset->{'xbetween'}[1]