| blib/lib/Template/Declare/Tags.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 33 | 44 | 75.0 |
| line | l | !l | condition |
|---|---|---|---|
| 89 | 13165 | 487 | not $override and *$slot{'CODE'} |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 58 | 103 | 0 | 7 | ref $_[0] and ref $_[0] eq 'HASH' |
| 546 | 225 | 101 | 85 | defined wantarray and not wantarray |
| 613 | 5 | 0 | 0 | not length $content and length $last |
| 807 | 345 | 1 | 2 | ref $_ && $_->isa('Template::Declare::Tag') |
| 810 | 185 | 75 | 151 | not length $content and length $last |
| 824 | 332 | 0 | 79 | ref $more_code && $more_code->isa('CODE') |
| 841 | 3 | 16 | 280 | $_ ne '.' and $_ ne '' |
| 860 | 225 | 0 | 0 | ref $template && $template->isa('Template::Declare::Tag') |
| 892 | 45 | 68 | 0 | defined wantarray && !wantarray |
| line | l | !l | condition |
|---|---|---|---|
| 63 | 6 | 104 | $$opts{'package'} ||= scalar caller |
| 725 | 40 | 169 | $TEMPLATE_STACK[-1] || '' |
| 767 | 33 | 0 | $ATTRIBUTES{$_} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 60 | 1 | 5 | 1 | $$opts{'package'} ||= $$opts{'namespace'} |
| 64 | 2 | 0 | 108 | $$opts{'from'} || "Template::Declare::TagSet::$lang" |
| 295 | 0 | 157 | 0 | shift() || $self || $template_class |