line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Salvation::PluginCore::Plugin; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
716
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
0
|
|
|
1
|
|
|
|
|
17
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
2
|
use base 'Salvation::PluginCore::Object'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
83
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
4
|
use Salvation::Method::Signatures; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
2
|
0
|
2
|
sub start {}; |
11
|
|
|
|
|
|
|
|
12
|
1
|
50
|
|
1
|
|
1097
|
method new( Salvation::PluginCore :core!, Str{1,} :base_name! ) { |
|
1
|
50
|
|
1
|
|
46
|
|
|
1
|
|
|
2
|
|
0
|
|
|
1
|
|
|
|
|
125
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
1
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
144
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
60
|
|
|
2
|
|
|
|
|
2
|
|
13
|
|
|
|
|
|
|
|
14
|
2
|
|
|
|
|
8
|
$self = $self -> SUPER::new(); |
15
|
2
|
|
|
|
|
11
|
$self -> { 'core' } = $core; |
16
|
2
|
|
|
|
|
2
|
$self -> { 'base_name' } = $base_name; |
17
|
|
|
|
|
|
|
|
18
|
2
|
|
|
|
|
6
|
$self -> start(); |
19
|
|
|
|
|
|
|
|
20
|
2
|
|
|
|
|
4
|
return $self; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
1
|
50
|
|
1
|
|
630
|
method load_plugin( Str{1,} :base_name!, Str{1,} :infix! ) { |
|
1
|
50
|
|
1
|
|
41
|
|
|
1
|
|
|
1
|
|
1
|
|
|
1
|
|
|
|
|
108
|
|
|
1
|
|
|
|
|
261
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
48
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
40
|
|
|
1
|
|
|
|
|
2
|
|
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
|
|
8
|
return $self -> core() -> load_plugin( |
26
|
|
|
|
|
|
|
base_name => $base_name, |
27
|
|
|
|
|
|
|
infix => sprintf( '%s::%s', $self -> base_name(), $infix ), |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
1
|
|
|
1
|
|
251
|
method core() { |
|
1
|
|
|
1
|
|
2
|
|
|
1
|
|
|
|
|
2
|
|
32
|
|
|
|
|
|
|
|
33
|
1
|
|
|
|
|
6
|
return $self -> { 'core' }; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
1
|
|
|
1
|
|
264
|
method base_name() { |
|
1
|
|
|
1
|
|
2
|
|
|
1
|
|
|
|
|
3
|
|
37
|
|
|
|
|
|
|
|
38
|
1
|
|
|
|
|
15
|
return $self -> { 'base_name' }; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__END__ |