line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Enbld::Target::Attribute::IndexSite; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
12932
|
use strict; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
151
|
|
4
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
107
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
24
|
use Carp; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
280
|
|
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
1013
|
use parent qw/Enbld::Target::AttributeExtension::URL/; |
|
4
|
|
|
|
|
290
|
|
|
4
|
|
|
|
|
94
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub initialize { |
11
|
57
|
|
|
57
|
0
|
143
|
my ( $self, $param ) = @_; |
12
|
|
|
|
|
|
|
|
13
|
57
|
100
|
|
|
|
177
|
if ( ! defined $param ) { |
14
|
|
|
|
|
|
|
$self->{callback} = sub { |
15
|
34
|
|
|
34
|
|
236
|
return $self->{attributes}->DownloadSite; |
16
|
47
|
|
|
|
|
598
|
}; |
17
|
|
|
|
|
|
|
|
18
|
47
|
|
|
|
|
200
|
return $self; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
10
|
100
|
|
|
|
26
|
if ( $param ) { |
22
|
9
|
|
|
|
|
54
|
$self->SUPER::initialize( $param ); |
23
|
9
|
|
|
|
|
18
|
return $self; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
1
|
|
|
|
|
4
|
require Enbld::Exception; |
27
|
1
|
|
|
|
|
7
|
croak( Enbld::Exception->new( "Attribute 'IndexSite' isn't defined" ) ); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |