line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
821
|
use 5.006; |
|
2
|
|
|
|
|
7
|
|
2
|
2
|
|
|
2
|
|
10
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
46
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
63
|
|
4
|
2
|
|
|
2
|
|
10
|
use Test::More; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
17
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
1231
|
use Data::UUID; |
|
2
|
|
|
|
|
1150
|
|
|
2
|
|
|
|
|
388
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# Utility routines |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub create_unique_queue_name { |
11
|
0
|
|
|
0
|
|
|
my $ug = Data::UUID->new(); |
12
|
0
|
|
|
|
|
|
my $uuid1 = $ug->create(); |
13
|
0
|
|
|
|
|
|
my $unique_queue_name = |
14
|
|
|
|
|
|
|
'TESTQUEUE_' . substr($ug->to_string($uuid1), 1, 12); |
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
|
|
|
return $unique_queue_name; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub create_unique_cache_name { |
20
|
0
|
|
|
0
|
|
|
my $ug = Data::UUID->new(); |
21
|
0
|
|
|
|
|
|
my $uuid1 = $ug->create(); |
22
|
0
|
|
|
|
|
|
my $unique_cache_name = |
23
|
|
|
|
|
|
|
'TESTCACHE_' . substr($ug->to_string($uuid1), 1, 12); |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
|
|
|
return $unique_cache_name; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub create_unique_code_package_name { |
29
|
0
|
|
|
0
|
|
|
my $ug = Data::UUID->new(); |
30
|
0
|
|
|
|
|
|
my $uuid1 = $ug->create(); |
31
|
0
|
|
|
|
|
|
my $unique_code_package_name = |
32
|
|
|
|
|
|
|
'TESTWORKER_' . substr($ug->to_string($uuid1), 1, 12); |
33
|
|
|
|
|
|
|
|
34
|
0
|
|
|
|
|
|
return $unique_code_package_name; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |