| blib/lib/Template/Alloy/Context.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 26 | 19.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 75 | 0 | 0 | 0 | UNIVERSAL::can($err, 'type') and $err->type =~ /return/ |
| 103 | 0 | 0 | 0 | $args and @$args |
| line | l | !l | condition |
|---|---|---|---|
| 20 | 163 | 0 | shift() || {} |
| 36 | 0 | 18 | $self->{'stash'} ||= bless({'_template', $self->_template}, 'Template::Alloy::_ContextStash') |
| 51 | 0 | 0 | shift() || {} |
| 63 | 142 | 0 | shift() || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 29 | 90 | 22 | 0 | $self->_template->{'BLOCKS'}{$name} || $self->_template->load_template($name) |
| 92 | 0 | 0 | 0 | UNIVERSAL::isa($name, 'CODE') or UNIVERSAL::isa($name, 'ARRAY') |
| 93 | 0 | 0 | 0 | $t->{'FILTERS'}{$name} || $Template::Alloy::FILTER_OPS->{$name} || $Template::Alloy::SCALAR_OPS->{$name} |
| 98 | 0 | 0 | 0 | $name->factory || $t->throw($name->error) |