Branch Coverage

blib/lib/Term/Menu/Hierarchical.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
29 0 0 unless ref $all eq 'HASH'
36 0 0 if (ref $$data{'content'} eq 'HASH') { }
40 0 0 if (defined $$data{'content'})
51 0 0 unless my(@txt) = split(/\n/, shift(), 0)
53 0 0 if (@txt % ($max_height - 2))
64 0 0 if (length $_ > $max_width) { }
85 0 0 if ($key =~ /q/i) { }
0 0 elsif ($key =~ /b/i) { }
0 0 elsif ($key =~ /\s/) { }
89 0 0 if $pos > 0
92 0 0 if $pos < $#pages
104 0 0 if $max_len + 7 > $max_width
113 0 0 int $max_width / $span_width < $num_items ? :
129 0 0 unless $count % $items_per_line
132 0 0 if ($count % $items_per_line)
141 0 0 if $answer =~ /^q/i
142 0 0 unless $answer =~ /^\d+$/ and $answer >= 0 and $answer <= $count
145 0 0 if ($answer == 0) { }