Branch Coverage

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


line true false branch
94 0 0 if ($err and $err =~ /^exit\[(\d+)\]$/)
98 0 0 if $err and not $err =~ /^\d+$/
100 0 0 if (@mode) { }
116 0 0 unless $sep
123 0 0 if ($err =~ /^exit\[(\d+)\]$/)
127 0 0 if $err
154 0 0 $state ? :
156 0 0 if (not $i)
157 0 0 if ($text =~ /^\s*(\S+)\s+(\S+)$/) { }
0 0 elsif ($text =~ /^\s*(\S+)\s+$/) { }
0 0 elsif ($text =~ /^\s*(\S+)$/) { }
189 0 0 unless $line
215 0 0 if (not defined $Cmdref or ref $Cmdref ne "HASH")
219 0 0 if (ref $desc eq "HASH")
237 0 0 if (exists $Cmds{lc $cmd}) { }
243 0 0 if ($mode and $cmd) { }
0 0 elsif ($mode and @args) { }
0 0 elsif ($mode) { }
266 0 0 if (ref $desc eq 'ARRAY') { }
268 0 0 unless (defined &$cmd)
270 0 0 unless (defined &$cmd)
289 0 0 if ($cmd =~ s[^/][]) { }
296 0 0 if ($tmp) { }
301 0 0 if $tmp
304 0 0 unless $tmp
318 0 0 if (exists $tmp->{$mode} and ref $tmp->{$mode} eq 'HASH') { }
340 0 0 if ($op == 0) { }
0 0 elsif ($op == 1) { }
0 0 elsif ($op == 2) { }
342 0 0 if ($#$Moderef >= 0) { }
367 0 0 if $cmd
368 0 0 unless ($tmp)
370 0 0 if (@mode) { }
377 0 0 unless $tmp
380 0 0 if not $cmd and @args
381 0 0 if ($cmd) { }
385 0 0 if (exists $Cmds{$cmd}) { }
0 0 elsif (exists $tmp->{$cmd}) { }
391 0 0 if (ref $tmp ne 'ARRAY') { }
395 0 0 unless $mess
405 0 0 if (exists $tmp->{'.HELP'}) { }
411 0 0 if (ref $tmp->{$cmd} eq 'ARRAY') { }
0 0 elsif (ref $tmp->{$cmd} eq 'HASH') { }
418 0 0 if @m
420 0 0 if @c
421 0 0 if @c
439 0 0 if exists $moderef->{$cmd} and ref $moderef->{$cmd} eq "ARRAY"