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
148 39 1 1 $clset->{'is'} and not ref $clset->{'is'}
188 0 0 2 $clset->{'of'} and @{$clset->{'of'};}
207 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/
272 220 0 0 $clset->{'between'} and $i < $clset->{'between'}[0] || $i > $clset->{'between'}[1]
275 220 0 0 $clset->{'xbetween'} and $i <= $clset->{'xbetween'}[0] || $i >= $clset->{'xbetween'}[1]
276 105 51 64 defined $clset->{'min'} and $i < $clset->{'min'}
277 156 0 0 defined $clset->{'xmin'} and $i <= $clset->{'xmin'}
278 95 41 20 defined $clset->{'max'} and $i > $clset->{'max'}
279 136 0 0 defined $clset->{'xmin'} and $i >= $clset->{'xmax'}
288 2 8 1 length $word and not $word =~ /\A-?\d*(\.\d*)?\z/
305 236 0 0 $clset->{'between'} and $f < $clset->{'between'}[0] || $f > $clset->{'between'}[1]
308 236 0 0 $clset->{'xbetween'} and $f <= $clset->{'xbetween'}[0] || $f >= $clset->{'xbetween'}[1]
309 154 35 47 defined $clset->{'min'} and $f < $clset->{'min'}
310 189 0 0 defined $clset->{'xmin'} and $f <= $clset->{'xmin'}
311 154 32 3 defined $clset->{'max'} and $f > $clset->{'max'}
312 186 0 0 defined $clset->{'xmin'} and $f >= $clset->{'xmax'}
346 26 0 11 $static && $word eq ''

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
169 1 2 3 not exists $eg->{'valid'} or $eg->{'valid'}
272 0 0 0 $i < $clset->{'between'}[0] || $i > $clset->{'between'}[1]
275 0 0 0 $i <= $clset->{'xbetween'}[0] || $i >= $clset->{'xbetween'}[1]
305 0 0 0 $f < $clset->{'between'}[0] || $f > $clset->{'between'}[1]
308 0 0 0 $f <= $clset->{'xbetween'}[0] || $f >= $clset->{'xbetween'}[1]