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 | 1031 | use strict; use utf8; use warnings FATAL => 'all'; | |||
2 | 2 | 4 | |||||
2 | 2 | 55 | |||||
2 | 9 | ||||||
2 | 3 | ||||||
2 | 10 | ||||||
2 | 55 | ||||||
2 | 2 | ||||||
2 | 80 | ||||||
3 | 2 | 2 | 10 | use parent 'DTL::Fast::Tag::Dump'; | |||
2 | 3 | ||||||
2 | 13 | ||||||
4 | |||||||
5 | 2 | 2 | 93 | use DTL::Fast::Template; | |||
2 | 2 | ||||||
2 | 148 | ||||||
6 | $DTL::Fast::TAG_HANDLERS{'dump_warn'} = __PACKAGE__; | ||||||
7 | |||||||
8 | sub render | ||||||
9 | { | ||||||
10 | 6 | 6 | 0 | 5 | my( $self, $context ) = @_; | ||
11 | |||||||
12 | 6 | 11 | warn $self->SUPER::render($context); | ||||
13 | } | ||||||
14 | |||||||
15 | 1; |