Branch Coverage

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


line true false branch
28 0 0 if ($arg eq 'cl') { }
29 0 0 if ($plain_mode) { }
30 0 0 $^O =~ /MSWin32/ ? :
0 0 $^O =~ /darwin|linux|bsd/ ? :
40 0 0 unless $plain_mode
51 0 0 unless ref $all eq 'HASH'
59 0 0 if (ref $data->{'content'} eq 'HASH') { }
63 0 0 if (defined $data->{'content'})
74 0 0 unless my @txt = split(/\n/, shift(), 0)
76 0 0 if (@txt % ($max_height - 2))
88 0 0 if (length $_ > $max_width) { }
115 0 0 if ($key =~ /q/i) { }
0 0 elsif ($key =~ /b/i) { }
0 0 elsif ($key =~ /\s/) { }
119 0 0 if $pos > 0
122 0 0 if $pos < $#pages
134 0 0 if $max_len + 7 > $max_width
143 0 0 int $max_width / $span_width < $num_items ? :
160 0 0 unless $count % $items_per_line
163 0 0 if ($count % $items_per_line)
172 0 0 if $answer =~ /^q/i
173 0 0 unless $answer =~ /^\d+$/ and $answer >= 0 and $answer <= $count
176 0 0 if ($answer == 0) { }