blib/lib/DTL/Fast/Tag/DumpWarn.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 17 | 17 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 6 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 23 | 24 | 95.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package DTL::Fast::Tag::DumpWarn; | ||||||
2 | 2 | 2 | 1577 | use strict; use utf8; use warnings FATAL => 'all'; | |||
2 | 2 | 5 | |||||
2 | 2 | 76 | |||||
2 | 13 | ||||||
2 | 4 | ||||||
2 | 15 | ||||||
2 | 58 | ||||||
2 | 4 | ||||||
2 | 99 | ||||||
3 | 2 | 2 | 11 | use parent 'DTL::Fast::Tag::Dump'; | |||
2 | 6 | ||||||
2 | 15 | ||||||
4 | |||||||
5 | 2 | 2 | 115 | use DTL::Fast::Template; | |||
2 | 4 | ||||||
2 | 191 | ||||||
6 | $DTL::Fast::TAG_HANDLERS{'dump_warn'} = __PACKAGE__; | ||||||
7 | |||||||
8 | sub render | ||||||
9 | { | ||||||
10 | 6 | 6 | 0 | 12 | my( $self, $context ) = @_; | ||
11 | |||||||
12 | 6 | 21 | warn $self->SUPER::render($context); | ||||
13 | } | ||||||
14 | |||||||
15 | 1; |