blib/lib/Template/Alloy/Tmpl.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 19 | 47.3 |
line | l | !l | condition |
---|---|---|---|
27 | 0 | 106 | $self->{'TAG_STYLE'} || 'html' |
47 | 10 | 98 | $self->{'_vars'} ||= {} |
59 | 98 | 0 | $self->{'_vars'} || {} |
61 | 0 | 98 | $self->{'SYNTAX'} || 'tmpl' |
77 | 2 | 8 | $self->{'_vars'}{$name} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 98 | 0 | 0 | shift() || $self->throw('set', 'missing start_tag') |
38 | 98 | 0 | 0 | shift() || $self->throw('set', 'missing end_tag') |
82 | 0 | 0 | 0 | $ref->[$index] || $self->throw('loop', "Index $index is not yet defined on loop $name") |