blib/lib/Venus/Task.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 29 | 51.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
219 | 0 | 0 | 13 | not $cli->str("name") and $name |
221 | 12 | 0 | 1 | $self->can("description") and my $description = $self->description |
225 | 12 | 0 | 1 | $self->can("header") and my $header = $self->header |
229 | 12 | 0 | 1 | $self->can("footer") and my $footer = $self->footer |
249 | 0 | 2 | 0 | $ENV{'VENUS_TASK_RUN'} and $CAN_RUN |
line | l | !l | condition |
---|---|---|---|
98 | 0 | 1 | $result // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 21 | 17 | 0 | $self->{'$cli'} ||= "Venus::Cli"->new("data", $self->data) |
98 | 11 | 0 | 1 | $code //= $result // 0 |
128 | 0 | 26 | 0 | $self->{'$log'} ||= "Venus::Log"->new("level", $self->log_level, "handler", $self->defer("output")) |
247 | 0 | 0 | 2 | !caller(1) || scalar caller 1 eq 'main' |