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