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 | 4 | use base 'Templ::Parser'; | |||
1 | 2 | ||||||
1 | 66 | ||||||
4 | |||||||
5 | 1 | 1 | 17 | use strict; | |||
1 | 3 | ||||||
1 | 19 | ||||||
6 | 1 | 1 | 1051 | use warnings; | |||
1 | 2 | ||||||
1 | 73 | ||||||
7 | |||||||
8 | 3 | 3 | 0 | 8 | sub header { return 'my $templ_out = '; } | ||
9 | 15 | 15 | 0 | 33 | sub append { return '$templ_out .= '; } | ||
10 | 3 | 3 | 0 | 9 | sub footer { return ";\nreturn \$templ_out;\n" } | ||
11 | |||||||
12 | 1; |