blib/lib/DTL/Fast/Filter/SafeSeq.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::SafeSeq; | ||||||
2 | 3 | 3 | 1817 | use strict; use utf8; use warnings FATAL => 'all'; | |||
3 | 3 | 6 | |||||
3 | 3 | 71 | |||||
3 | 16 | ||||||
3 | 5 | ||||||
3 | 15 | ||||||
3 | 72 | ||||||
3 | 6 | ||||||
3 | 99 | ||||||
3 | 3 | 3 | 14 | use parent 'DTL::Fast::Filter'; | |||
3 | 6 | ||||||
3 | 16 | ||||||
4 | |||||||
5 | $DTL::Fast::FILTER_HANDLERS{'safeseq'} = __PACKAGE__; | ||||||
6 | |||||||
7 | #@Override | ||||||
8 | sub filter | ||||||
9 | { | ||||||
10 | 5 | 5 | 0 | 6 | shift; | ||
11 | |||||||
12 | 5 | 10 | shift->{'safeseq'} = 1; | ||||
13 | |||||||
14 | 5 | 15 | return shift; | ||||
15 | } | ||||||
16 | |||||||
17 | 1; |