lib/Async/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 31 | 25.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
46 | 3 | 0 | 0 | $config->{'BLOCKER'} and not $config->{'DONE'} |
75 | 32 | 0 | 0 | @opts == 1 && ref $opts[0] eq 'HASH' |
81 | 0 | 32 | 0 | defined $outstream and 'SCALAR' ne ref $outstream |
86 | 0 | 0 | 32 | defined $outstream && 'SCALAR' eq ref $outstream |
129 | 0 | 0 | 0 | 1 == @_ && 'HASH' eq ref $_[0] |
158 | 4 | 0 | 0 | $_[0] and $_[0] eq 'tt' |
line | l | !l | condition |
---|---|---|---|
144 | 0 | 0 | $vars->{'ERROR'} ||= sub { &$saveres(@_); $err; } |
145 | 0 | 0 | $vars->{'RESULT'} ||= sub { &$saveres(@_); $res; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
46 | 0 | 0 | 3 | $config->{'BLOCKER'} || $config->{'DONE'} |
89 | 0 | 32 | 0 | $options->{'DONE'} || $self->{'DONE'} |
107 | 32 | 0 | 0 | $outstream ||= $self->{'tt'}{'OUTPUT'} |