| blib/lib/DTL/Fast/Tag/Debug.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 12 | 17 | 70.5 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 5 | 80.0 |
| pod | 0 | 1 | 0.0 |
| total | 16 | 23 | 69.5 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package DTL::Fast::Tag::Debug; | ||||||
| 2 | 5 | 5 | 2120 | use strict; use utf8; use warnings FATAL => 'all'; | |||
| 5 | 5 | 8 | |||||
| 5 | 5 | 114 | |||||
| 5 | 18 | ||||||
| 5 | 8 | ||||||
| 5 | 21 | ||||||
| 5 | 96 | ||||||
| 5 | 7 | ||||||
| 5 | 150 | ||||||
| 3 | 5 | 5 | 18 | use parent 'DTL::Fast::Tag::Simple'; | |||
| 5 | 10 | ||||||
| 5 | 20 | ||||||
| 4 | |||||||
| 5 | $DTL::Fast::TAG_HANDLERS{'debug'} = __PACKAGE__; | ||||||
| 6 | |||||||
| 7 | #@Override | ||||||
| 8 | sub render | ||||||
| 9 | { | ||||||
| 10 | 0 | 0 | 0 | my $self = shift; | |||
| 11 | 0 | my $context = shift; | |||||
| 12 | |||||||
| 13 | 0 | require Data::Dumper; | |||||
| 14 | 0 | my $result = Data::Dumper->Dump([$context], ['context']); | |||||
| 15 | |||||||
| 16 | 0 | return $result; | |||||
| 17 | } | ||||||
| 18 | |||||||
| 19 | 1; |