File Coverage

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