blib/lib/Templ/Template/Basic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Templ::Template::Basic; | ||||||
2 | 1 | 1 | 6 | use base 'Templ::Template'; | |||
1 | 1 | ||||||
1 | 74 | ||||||
3 | |||||||
4 | 1 | 1 | 5 | use strict; | |||
1 | 1 | ||||||
1 | 22 | ||||||
5 | 1 | 1 | 5 | use warnings; | |||
1 | 1 | ||||||
1 | 31 | ||||||
6 | |||||||
7 | 1 | 1 | 4 | use Templ::Template; # Import the add_* subs | |||
1 | 2 | ||||||
1 | 75 | ||||||
8 | |||||||
9 | add_tag '*' => 'Perl'; | ||||||
10 | add_tag '@' => 'Print'; | ||||||
11 | add_tag '#' => 'Comment'; | ||||||
12 | |||||||
13 | 1; |