blib/lib/DTL/Fast/Filter/MakeList.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 15 | 15 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 20 | 21 | 95.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package DTL::Fast::Filter::MakeList; | ||||||
2 | 2 | 2 | 1023 | use strict; use utf8; use warnings FATAL => 'all'; | |||
2 | 2 | 4 | |||||
2 | 2 | 59 | |||||
2 | 8 | ||||||
2 | 2 | ||||||
2 | 9 | ||||||
2 | 39 | ||||||
2 | 2 | ||||||
2 | 71 | ||||||
3 | 2 | 2 | 8 | use parent 'DTL::Fast::Filter'; | |||
2 | 2 | ||||||
2 | 12 | ||||||
4 | |||||||
5 | $DTL::Fast::FILTER_HANDLERS{'make_list'} = __PACKAGE__; | ||||||
6 | |||||||
7 | #@Override | ||||||
8 | sub filter | ||||||
9 | { | ||||||
10 | 2 | 2 | 0 | 2 | shift; # self | ||
11 | 2 | 2 | shift; # filter_manager | ||||
12 | 2 | 23 | return [shift =~ /(.)/g]; | ||||
13 | } | ||||||
14 | |||||||
15 | 1; |