blib/lib/Templ/Parser/Return.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 6 | 100.0 |
pod | 0 | 3 | 0.0 |
total | 18 | 21 | 85.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | |||||||
2 | package Templ::Parser::Return; | ||||||
3 | 1 | 1 | 5 | use base 'Templ::Parser'; | |||
1 | 1 | ||||||
1 | 66 | ||||||
4 | |||||||
5 | 1 | 1 | 16 | use strict; | |||
1 | 2 | ||||||
1 | 1112 | ||||||
6 | 1 | 1 | 5 | use warnings; | |||
1 | 1 | ||||||
1 | 73 | ||||||
7 | |||||||
8 | 3 | 3 | 0 | 9 | sub header { return 'my $templ_out = '; } | ||
9 | 15 | 15 | 0 | 35 | sub append { return '$templ_out .= '; } | ||
10 | 3 | 3 | 0 | 8 | sub footer { return ";\nreturn \$templ_out;\n" } | ||
11 | |||||||
12 | 1; |