line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Devel::Monitor::Common;
|
2
|
1
|
|
|
1
|
|
5
|
use strict;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
40
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
120
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
require Exporter;
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our @ISA = qw(Exporter);
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our @EXPORT = qw(); #Export by default
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( #Export as groups
|
12
|
|
|
|
|
|
|
'all' => [
|
13
|
|
|
|
|
|
|
qw(F_ID
|
14
|
|
|
|
|
|
|
F_VAR
|
15
|
|
|
|
|
|
|
F_IS_CODE
|
16
|
|
|
|
|
|
|
F_UNMONITORED
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
printMsg
|
19
|
|
|
|
|
|
|
)
|
20
|
|
|
|
|
|
|
]
|
21
|
|
|
|
|
|
|
);
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Exporter::export_ok_tags( #Export by request (into @EXPORT_OK)
|
24
|
|
|
|
|
|
|
'all');
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
#Fields
|
27
|
1
|
|
|
1
|
|
6
|
use constant F_ID => '_id';
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
82
|
|
28
|
1
|
|
|
1
|
|
5
|
use constant F_VAR => '_var';
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
63
|
|
29
|
1
|
|
|
1
|
|
6
|
use constant F_IS_CODE => '_isCode';
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
45
|
|
30
|
1
|
|
|
1
|
|
5
|
use constant F_UNMONITORED => '_unmonitored';
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
94
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
sub printMsg {
|
33
|
253
|
|
|
253
|
0
|
303
|
my $msg = shift;
|
34
|
253
|
|
|
|
|
12016
|
print STDERR $msg;
|
35
|
|
|
|
|
|
|
}
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |