line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::ListDetector::List; |
2
|
|
|
|
|
|
|
|
3
|
39
|
|
|
39
|
|
206
|
use strict; |
|
39
|
|
|
|
|
70
|
|
|
39
|
|
|
|
|
2163
|
|
4
|
39
|
|
|
39
|
|
205
|
use warnings; |
|
39
|
|
|
|
|
97
|
|
|
39
|
|
|
|
|
15017
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub new { |
7
|
46
|
|
|
46
|
1
|
103
|
my $proto = shift; |
8
|
46
|
|
|
|
|
93
|
my $data = shift; |
9
|
46
|
|
33
|
|
|
333
|
my $class = ref($proto) || $proto; |
10
|
46
|
|
|
|
|
112
|
my $self = {}; |
11
|
46
|
|
|
|
|
144
|
$self->{'data'} = $data; |
12
|
|
|
|
|
|
|
|
13
|
46
|
|
|
|
|
142
|
bless ($self, $class); |
14
|
46
|
|
|
|
|
176
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub listname { |
18
|
95
|
|
|
95
|
1
|
29906
|
my $self = shift; |
19
|
95
|
|
|
|
|
169
|
my $name = shift; |
20
|
95
|
100
|
|
|
|
427
|
$self->{'data'}->{'listname'} = $name if defined $name; |
21
|
95
|
|
|
|
|
531
|
return $self->{'data'}->{'listname'}; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub posting_address { |
25
|
89
|
|
|
89
|
1
|
255
|
my $self = shift; |
26
|
89
|
|
|
|
|
190
|
my $posting_address = shift; |
27
|
89
|
100
|
|
|
|
362
|
$self->{'data'}->{'posting_address'} = $posting_address if defined $posting_address; |
28
|
89
|
|
|
|
|
597
|
return $self->{'data'}->{'posting_address'}; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub listsoftware { |
32
|
100
|
|
|
100
|
1
|
211
|
my $self = shift; |
33
|
100
|
|
|
|
|
196
|
my $listsoftware = shift; |
34
|
100
|
100
|
|
|
|
479
|
$self->{'data'}->{'listsoftware'} = $listsoftware if defined $listsoftware; |
35
|
100
|
|
|
|
|
549
|
return $self->{'data'}->{'listsoftware'}; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |