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 | 749 | use strict; | |||
2 | 4 | ||||||
2 | 45 | ||||||
3 | 2 | 2 | 8 | use utf8; | |||
2 | 3 | ||||||
2 | 10 | ||||||
4 | 2 | 2 | 40 | use warnings FATAL => 'all'; | |||
2 | 3 | ||||||
2 | 61 | ||||||
5 | 2 | 2 | 8 | use parent 'DTL::Fast::Filter'; | |||
2 | 4 | ||||||
2 | 8 | ||||||
6 | |||||||
7 | $DTL::Fast::FILTER_HANDLERS{make_list} = __PACKAGE__; | ||||||
8 | |||||||
9 | #@Override | ||||||
10 | sub filter | ||||||
11 | { | ||||||
12 | 2 | 2 | 0 | 4 | shift; # self | ||
13 | 2 | 3 | shift; # filter_manager | ||||
14 | 2 | 20 | return [ shift =~ /(.)/g ]; | ||||
15 | } | ||||||
16 | |||||||
17 | 1; |