line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Amazon::MechanicalTurk::Constants; |
2
|
18
|
|
|
18
|
|
91
|
use strict; |
|
18
|
|
|
|
|
30
|
|
|
18
|
|
|
|
|
536
|
|
3
|
18
|
|
|
18
|
|
89
|
use warnings; |
|
18
|
|
|
|
|
29
|
|
|
18
|
|
|
|
|
586
|
|
4
|
18
|
|
|
18
|
|
88
|
use Exporter; |
|
18
|
|
|
|
|
30
|
|
|
18
|
|
|
|
|
1248
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.00'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
BEGIN { |
9
|
18
|
|
|
18
|
|
83
|
use Exporter (); |
|
18
|
|
|
|
|
29
|
|
|
18
|
|
|
|
|
2331
|
|
10
|
18
|
|
|
18
|
|
50
|
our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); |
11
|
|
|
|
|
|
|
|
12
|
18
|
|
|
|
|
367
|
@ISA = qw{ Exporter }; |
13
|
18
|
|
|
|
|
236
|
@EXPORT = (); |
14
|
18
|
|
|
|
|
68
|
@EXPORT_OK = qw{ |
15
|
|
|
|
|
|
|
%QUALIFICATION_TYPE_IDS |
16
|
|
|
|
|
|
|
$PROP_FILENAME |
17
|
|
|
|
|
|
|
$PROP_ENVNAME |
18
|
|
|
|
|
|
|
$PROP_GLOBAL_AUTH |
19
|
|
|
|
|
|
|
$PROP_GLOBAL_DIR |
20
|
|
|
|
|
|
|
$DEFAULT_SERVICE_VERSION |
21
|
|
|
|
|
|
|
$PRODUCTION_URL |
22
|
|
|
|
|
|
|
$SANDBOX_URL |
23
|
|
|
|
|
|
|
$PRODUCTION_REQUESTER_URL |
24
|
|
|
|
|
|
|
$SANDBOX_REQUESTER_URL |
25
|
|
|
|
|
|
|
$PRODUCTION_WORKER_URL |
26
|
|
|
|
|
|
|
$SANDBOX_WORKER_URL |
27
|
|
|
|
|
|
|
}; |
28
|
18
|
|
|
|
|
3743
|
%EXPORT_TAGS = ( ALL => [@EXPORT_OK] ); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
our @EXPORT_OK; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
our %QUALIFICATION_TYPE_IDS = ( |
34
|
|
|
|
|
|
|
Worker_PercentAssignmentsSubmitted => '00000000000000000000', |
35
|
|
|
|
|
|
|
Worker_PercentAssignmentsAbandoned => '00000000000000000070', |
36
|
|
|
|
|
|
|
Worker_PercentAssignmentsReturned => '000000000000000000E0', |
37
|
|
|
|
|
|
|
Worker_PercentAssignmentsApproved => '000000000000000000L0', |
38
|
|
|
|
|
|
|
Worker_PercentAssignmentsRejected => '000000000000000000S0', |
39
|
|
|
|
|
|
|
Worker_Locale => '00000000000000000071' |
40
|
|
|
|
|
|
|
); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
our $PROP_FILENAME = "mturk.properties"; |
43
|
|
|
|
|
|
|
our $PROP_ENVNAME = "MTURK_CONFIG"; |
44
|
|
|
|
|
|
|
our $PROP_GLOBAL_AUTH = "auth"; |
45
|
|
|
|
|
|
|
our $PROP_GLOBAL_DIR = ".aws"; |
46
|
|
|
|
|
|
|
our $DEFAULT_SERVICE_VERSION = "2011-10-01"; |
47
|
|
|
|
|
|
|
our $PRODUCTION_URL = "https://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester"; |
48
|
|
|
|
|
|
|
our $SANDBOX_URL = "https://mechanicalturk.sandbox.amazonaws.com/?Service=AWSMechanicalTurkRequester"; |
49
|
|
|
|
|
|
|
our $PRODUCTION_REQUESTER_URL = "http://requester.mturk.com"; |
50
|
|
|
|
|
|
|
our $SANDBOX_REQUESTER_URL = "http://requestersandbox.mturk.com"; |
51
|
|
|
|
|
|
|
our $PRODUCTION_WORKER_URL = "http://www.mturk.com"; |
52
|
|
|
|
|
|
|
our $SANDBOX_WORKER_URL = "http://workersandbox.mturk.com"; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
return 1; |