blib/lib/Template/Preprocessor/TTML/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 19 | 19 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Template::Preprocessor::TTML::Base; | ||||||
2 | $Template::Preprocessor::TTML::Base::VERSION = '0.0105'; | ||||||
3 | 2 | 2 | 17 | use strict; | |||
2 | 3 | ||||||
2 | 56 | ||||||
4 | 2 | 2 | 11 | use warnings; | |||
2 | 4 | ||||||
2 | 49 | ||||||
5 | |||||||
6 | |||||||
7 | 2 | 2 | 10 | use base 'Class::Accessor'; | |||
2 | 5 | ||||||
2 | 1175 | ||||||
8 | |||||||
9 | sub new | ||||||
10 | { | ||||||
11 | 84 | 84 | 1 | 101739 | my $class = shift; | ||
12 | 84 | 154 | my $self = {}; | ||||
13 | 84 | 172 | bless $self, $class; | ||||
14 | 84 | 282 | $self->initialize(@_); | ||||
15 | 84 | 212 | return $self; | ||||
16 | } | ||||||
17 | |||||||
18 | |||||||
19 | 1; | ||||||
20 | |||||||
21 | __END__ |