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 | 1106 | use strict; | |||
3 | 8 | ||||||
3 | 69 | ||||||
3 | 3 | 3 | 12 | use utf8; | |||
3 | 6 | ||||||
3 | 13 | ||||||
4 | 3 | 3 | 60 | use warnings FATAL => 'all'; | |||
3 | 22 | ||||||
3 | 84 | ||||||
5 | 3 | 3 | 14 | use parent 'DTL::Fast::Filter'; | |||
3 | 5 | ||||||
3 | 12 | ||||||
6 | |||||||
7 | $DTL::Fast::FILTER_HANDLERS{safeseq} = __PACKAGE__; | ||||||
8 | |||||||
9 | #@Override | ||||||
10 | sub filter | ||||||
11 | { | ||||||
12 | 5 | 5 | 0 | 7 | shift; | ||
13 | |||||||
14 | 5 | 10 | shift->{safeseq} = 1; | ||||
15 | |||||||
16 | 5 | 14 | return shift; | ||||
17 | } | ||||||
18 | |||||||
19 | 1; |