blib/lib/Template/Declare/Tags.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 44 | 75.0 |
line | l | !l | condition |
---|---|---|---|
91 | 15967 | 595 | not $override and *$slot{'CODE'} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 105 | 0 | 7 | ref $_[0] and ref $_[0] eq 'HASH' |
549 | 230 | 107 | 85 | defined wantarray and not wantarray |
616 | 5 | 0 | 0 | not length $content and length $last |
832 | 354 | 1 | 2 | ref $_ && $_->isa('Template::Declare::Tag') |
835 | 191 | 77 | 154 | not length $content and length $last |
849 | 343 | 0 | 79 | ref $more_code && $more_code->isa('CODE') |
866 | 3 | 16 | 288 | $_ ne '.' and $_ ne '' |
885 | 233 | 0 | 0 | ref $template && $template->isa('Template::Declare::Tag') |
918 | 45 | 68 | 0 | defined wantarray && !wantarray |
line | l | !l | condition |
---|---|---|---|
65 | 6 | 106 | $$opts{'package'} ||= scalar caller |
728 | 40 | 177 | $TEMPLATE_STACK[-1] || '' |
792 | 35 | 0 | $ATTRIBUTES{$_} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
62 | 1 | 5 | 1 | $$opts{'package'} ||= $$opts{'namespace'} |
66 | 2 | 0 | 110 | $$opts{'from'} || "Template::Declare::TagSet::$lang" |
297 | 0 | 162 | 0 | shift() || $self || $template_class |