Branch Coverage

blib/lib/Complete/Sequence.pm
Criterion Covered Total %
branch 26 40 65.0


line true false branch
29 1 19 if (not $ref) { }
15 4 elsif ($ref eq 'ARRAY') { }
1 3 elsif ($ref eq 'CODE') { }
3 0 elsif ($ref eq 'HASH') { }
36 1 2 if (defined $item->{'alternative'}) { }
2 0 elsif (defined $item->{'sequence'} and @{$item->{'sequence'};}) { }
44 1 1 if (@set > 1) { }
1 0 elsif (@set == 1) { }
175 0 14 if $COMPLETE_SEQUENCE_TRACE
177 0 14 if $COMPLETE_SEQUENCE_TRACE
182 5 9 if ($res and @$res == 1) { }
8 1 elsif ($res and @$res > 1) { }
185 0 5 if $COMPLETE_SEQUENCE_TRACE
194 0 8 if $COMPLETE_SEQUENCE_TRACE
203 0 2 if (index($word, $str) == 0)
208 0 1 if ($num_matches == 1)
212 0 0 if $COMPLETE_SEQUENCE_TRACE
217 0 1 if $COMPLETE_SEQUENCE_TRACE
224 0 1 if (@prefixes_from_completed_items) { }
229 0 1 if $COMPLETE_SEQUENCE_TRACE