Branch Coverage

blib/lib/Venus/Task.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
35 44 0 ref $data eq 'ARRAY' ? :
44 13 defined $data ? :
50 0 0 unless CORE::system @_
96 6 0 $self->$method(@args) ? :
6 6 if $method
112 1 2 if $data->{'help'}
198 13 0 if @data
219 13 0 if not $cli->str("name") and $name
221 1 12 if ($self->can("description") and my $description = $self->description)
222 1 0 unless $cli->str("description")
225 1 12 if ($self->can("header") and my $header = $self->header)
226 1 0 unless $cli->str("header")
229 1 12 if ($self->can("footer") and my $footer = $self->footer)
230 1 0 unless $cli->str("footer")
249 0 2 if $ENV{'VENUS_TASK_AUTO'} and $CAN_RUN
269 1 1 unless _system(@args) == 0