Branch Coverage

blib/lib/Term/TUI.pm
Criterion Covered Total %
branch 0 94 0.0


line true false branch
92 0 0 if ($err =~ /^exit\[(\d+)\]$/)
96 0 0 if $err and not $err =~ /^\d+$/
98 0 0 if (@mode) { }
114 0 0 unless $sep
121 0 0 if ($err =~ /^exit\[(\d+)\]$/)
125 0 0 if $err
152 0 0 $state ? :
154 0 0 if (not $i)
155 0 0 if ($text =~ /^\s*(\S+)\s+(\S+)$/) { }
0 0 elsif ($text =~ /^\s*(\S+)\s+$/) { }
0 0 elsif ($text =~ /^\s*(\S+)$/) { }
187 0 0 unless $line
213 0 0 if (not defined $Cmdref or ref $Cmdref ne 'HASH')
217 0 0 if (ref $desc eq 'HASH')
235 0 0 if (exists $Cmds{lc $cmd}) { }
241 0 0 if ($mode and $cmd) { }
0 0 elsif ($mode and @args) { }
0 0 elsif ($mode) { }
264 0 0 if (ref $desc eq 'ARRAY') { }
266 0 0 unless (defined &$cmd)
268 0 0 unless (defined &$cmd)
287 0 0 if ($cmd =~ s[^/][]) { }
294 0 0 if ($tmp) { }
299 0 0 if $tmp
302 0 0 unless $tmp
316 0 0 if (exists $$tmp{$mode} and ref $$tmp{$mode} eq 'HASH') { }
338 0 0 if ($op == 0) { }
0 0 elsif ($op == 1) { }
0 0 elsif ($op == 2) { }
340 0 0 if ($#$Moderef >= 0) { }
365 0 0 if $cmd
366 0 0 unless ($tmp)
368 0 0 if (@mode) { }
375 0 0 unless $tmp
378 0 0 if not $cmd and @args
379 0 0 if ($cmd) { }
383 0 0 if (exists $Cmds{$cmd}) { }
0 0 elsif (exists $$tmp{$cmd}) { }
389 0 0 if (ref $tmp ne 'ARRAY') { }
393 0 0 unless $mess
403 0 0 if (exists $$tmp{'.HELP'}) { }
409 0 0 if (ref $$tmp{$cmd} eq 'ARRAY') { }
0 0 elsif (ref $$tmp{$cmd} eq 'HASH') { }
416 0 0 if @m
418 0 0 if @c
419 0 0 if @c
435 0 0 if exists $$moderef{$cmd} and ref $$moderef{$cmd} eq 'ARRAY'