Branch Coverage

lib/Rex/Interface/Exec/Base.pm
Criterion Covered Total %
branch 5 20 25.0


line true false branch
30 0 5996 if (defined $cb and ref $cb eq "CODE")
39 0 0 if (defined $regex and ref $regex eq "Regexp" and $line =~ /$regex/u)
63 0 556 if ($cache->valid($cache_key_name))
70 344 212 if $? != 0
71 0 212 if grep {/^no $command in/u;} @output
93 0 0 if $out
94 0 0 if ($err)
100 0 0 if (wantarray)
117 0 0 if ($cache->valid("shell"))
126 0 0 if ($shells{$shell}->detect($self))