Branch Coverage

blib/lib/Complete/Sequence.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
27 1 19 if (not $ref) { }
15 4 elsif ($ref eq 'ARRAY') { }
1 3 elsif ($ref eq 'CODE') { }
3 0 elsif ($ref eq 'HASH') { }
34 1 2 if (defined $item->{'alternative'}) { }
2 0 elsif (defined $item->{'sequence'} and @{$item->{'sequence'};}) { }
42 1 1 if (@set > 1) { }
1 0 elsif (@set == 1) { }
166 5 9 if ($res and @$res == 1) { }
8 1 elsif ($res and @$res > 1) { }
183 0 2 if (index($word, $str) == 0)
188 0 1 if ($num_matches == 1)
200 0 1 if (@prefixes_from_completed_items) { }