line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Zabbix::API::Utils; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
27952
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
32
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
20
|
|
5
|
1
|
|
|
1
|
|
24
|
use 5.010; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
57
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
1041
|
use parent 'Exporter'; |
|
1
|
|
|
|
|
465
|
|
|
1
|
|
|
|
|
6
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our @EXPORT_OK = qw(RE_FORMULA); |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
|
|
100
|
use constant RE_FORMULA => |
12
|
|
|
|
|
|
|
qr/(?\w+\( |
13
|
|
|
|
|
|
|
(?['"]?) |
14
|
|
|
|
|
|
|
(? |
15
|
|
|
|
|
|
|
((?[\w ._-]+) |
16
|
|
|
|
|
|
|
: |
17
|
|
|
|
|
|
|
(?- [\w.,_]+)
|
18
|
|
|
|
|
|
|
(?:\[ |
19
|
|
|
|
|
|
|
(?([\w\/ ]+)(,([\w\/ ]+))*) |
20
|
|
|
|
|
|
|
\])?) |
21
|
|
|
|
|
|
|
| |
22
|
|
|
|
|
|
|
.*?) |
23
|
|
|
|
|
|
|
\g{function_args_quote} |
24
|
1
|
|
|
1
|
|
319
|
\))/x; |
|
1
|
|
|
|
|
2
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# TODO: rendre les guillemets optionnels, support de plusieurs function_args |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
__END__ |