Branch Coverage

blib/lib/App/Task.pm
Criterion Covered Total %
branch 26 40 65.0


line true false branch
37 62 36 if $App::Task::lastprintchar eq "\n"
50 12 12 if (substr($new, -1, 1) eq "\n")
56 12 12 if $App::Task::lastprintchar eq "\n"
70 0 122 if $depth < 0
71 19 103 if $depth <= 0
81 0 0 system(@cmd) ? :
106 0 11 if ($type eq 'ARRAY') { }
0 11 elsif (not $type) { }
107 0 0 unless _sys(@{$code;})
0 0 $cmdhr->{'fatal'} ? :
110 0 0 unless _sys($code)
0 0 $cmdhr->{'fatal'} ? :
117 5 6 defined $App::Task::steps->{$depth} ? :
119 6 5 if ($prev_depth > $cur_depth)
121 4 9 if $k > $depth
127 11 0 $App::Task::steps->{$depth} ? :
132 5 6 if (not defined $lastprintchar or $lastprintchar ne "\n")
143 8 3 if ($lastprintchar ne "\n")
148 2 9 if ($ok) { }
156 3 8 if ($depth < 2)