line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright 2020, Google LLC |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
4
|
|
|
|
|
|
|
# you may not use this file except in compliance with the License. |
5
|
|
|
|
|
|
|
# You may obtain a copy of the License at |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0 |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software |
10
|
|
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, |
11
|
|
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12
|
|
|
|
|
|
|
# See the License for the specific language governing permissions and |
13
|
|
|
|
|
|
|
# limitations under the License. |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
use strict; |
17
|
1
|
|
|
1
|
|
634
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
18
|
1
|
|
|
1
|
|
4
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
57
|
|
19
|
|
|
|
|
|
|
use Const::Exporter enums => [ |
20
|
1
|
|
|
|
|
14
|
UNSPECIFIED => "UNSPECIFIED", |
21
|
|
|
|
|
|
|
UNKNOWN => "UNKNOWN", |
22
|
|
|
|
|
|
|
PROMOTION_TARGET => "PROMOTION_TARGET", |
23
|
|
|
|
|
|
|
DISCOUNT_MODIFIER => "DISCOUNT_MODIFIER", |
24
|
|
|
|
|
|
|
PERCENT_OFF => "PERCENT_OFF", |
25
|
|
|
|
|
|
|
MONEY_AMOUNT_OFF => "MONEY_AMOUNT_OFF", |
26
|
|
|
|
|
|
|
PROMOTION_CODE => "PROMOTION_CODE", |
27
|
|
|
|
|
|
|
ORDERS_OVER_AMOUNT => "ORDERS_OVER_AMOUNT", |
28
|
|
|
|
|
|
|
PROMOTION_START => "PROMOTION_START", |
29
|
|
|
|
|
|
|
PROMOTION_END => "PROMOTION_END", |
30
|
|
|
|
|
|
|
OCCASION => "OCCASION", |
31
|
|
|
|
|
|
|
FINAL_URLS => "FINAL_URLS", |
32
|
|
|
|
|
|
|
FINAL_MOBILE_URLS => "FINAL_MOBILE_URLS", |
33
|
|
|
|
|
|
|
TRACKING_URL => "TRACKING_URL", |
34
|
|
|
|
|
|
|
LANGUAGE => "LANGUAGE", |
35
|
|
|
|
|
|
|
FINAL_URL_SUFFIX => "FINAL_URL_SUFFIX" |
36
|
|
|
|
|
|
|
]; |
37
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
38
|
|
|
|
|
|
|
1; |