line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Filter; |
2
|
69
|
|
|
69
|
|
23563
|
use strict; use utf8; use warnings FATAL => 'all'; |
|
69
|
|
|
69
|
|
92
|
|
|
69
|
|
|
69
|
|
1520
|
|
|
69
|
|
|
|
|
205
|
|
|
69
|
|
|
|
|
68
|
|
|
69
|
|
|
|
|
278
|
|
|
69
|
|
|
|
|
1241
|
|
|
69
|
|
|
|
|
73
|
|
|
69
|
|
|
|
|
1921
|
|
3
|
69
|
|
|
69
|
|
209
|
use parent 'DTL::Fast::Entity'; |
|
69
|
|
|
|
|
75
|
|
|
69
|
|
|
|
|
350
|
|
4
|
|
|
|
|
|
|
|
5
|
69
|
|
|
69
|
|
3532
|
use DTL::Fast::Template; |
|
69
|
|
|
|
|
97
|
|
|
69
|
|
|
|
|
9977
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new |
8
|
|
|
|
|
|
|
{ |
9
|
513
|
|
|
513
|
0
|
750
|
my( $proto, $parameter, %kwargs) = @_; |
10
|
|
|
|
|
|
|
|
11
|
513
|
|
33
|
|
|
1514
|
$proto = ref $proto || $proto; |
12
|
|
|
|
|
|
|
|
13
|
513
|
|
50
|
|
|
1005
|
$kwargs{'parameter'} = $parameter // []; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
die $proto->get_parse_error("Parameter must be an ARRAY reference") |
16
|
513
|
50
|
|
|
|
1068
|
if ref $kwargs{'parameter'} ne 'ARRAY'; |
17
|
|
|
|
|
|
|
|
18
|
513
|
|
|
|
|
1416
|
my $self = $proto->SUPER::new(%kwargs); |
19
|
|
|
|
|
|
|
|
20
|
513
|
|
|
|
|
1180
|
return $self->parse_parameters(); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
124
|
|
|
124
|
0
|
282
|
sub parse_parameters{return shift;} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub filter |
26
|
|
|
|
|
|
|
{ |
27
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
28
|
0
|
|
|
|
|
|
die sprintf( "filter was not overriden in a subclass %s", ref $self ); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |