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
|
|
803
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
18
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
64
|
|
19
|
|
|
|
|
|
|
use Const::Exporter enums => [ |
20
|
1
|
|
|
|
|
8
|
UNSPECIFIED => "UNSPECIFIED", |
21
|
|
|
|
|
|
|
UNKNOWN => "UNKNOWN", |
22
|
|
|
|
|
|
|
PRICE_TABLE_REPETITIVE_HEADERS => "PRICE_TABLE_REPETITIVE_HEADERS", |
23
|
|
|
|
|
|
|
PRICE_TABLE_REPETITIVE_DESCRIPTION => "PRICE_TABLE_REPETITIVE_DESCRIPTION", |
24
|
|
|
|
|
|
|
PRICE_TABLE_INCONSISTENT_ROWS => "PRICE_TABLE_INCONSISTENT_ROWS", |
25
|
|
|
|
|
|
|
PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS => |
26
|
|
|
|
|
|
|
"PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS", |
27
|
|
|
|
|
|
|
PRICE_UNSUPPORTED_LANGUAGE => "PRICE_UNSUPPORTED_LANGUAGE", |
28
|
|
|
|
|
|
|
PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH => |
29
|
|
|
|
|
|
|
"PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH", |
30
|
|
|
|
|
|
|
PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT => |
31
|
|
|
|
|
|
|
"PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT", |
32
|
|
|
|
|
|
|
PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT => |
33
|
|
|
|
|
|
|
"PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT", |
34
|
|
|
|
|
|
|
PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT => |
35
|
|
|
|
|
|
|
"PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT", |
36
|
|
|
|
|
|
|
PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE => |
37
|
|
|
|
|
|
|
"PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE", |
38
|
|
|
|
|
|
|
PRICE_TABLE_ROW_UNRATEABLE => "PRICE_TABLE_ROW_UNRATEABLE", |
39
|
|
|
|
|
|
|
PRICE_TABLE_ROW_PRICE_INVALID => "PRICE_TABLE_ROW_PRICE_INVALID", |
40
|
|
|
|
|
|
|
PRICE_TABLE_ROW_URL_INVALID => "PRICE_TABLE_ROW_URL_INVALID", |
41
|
|
|
|
|
|
|
PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE => |
42
|
|
|
|
|
|
|
"PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE", |
43
|
|
|
|
|
|
|
STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED => |
44
|
|
|
|
|
|
|
"STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED", |
45
|
|
|
|
|
|
|
STRUCTURED_SNIPPETS_REPEATED_VALUES => "STRUCTURED_SNIPPETS_REPEATED_VALUES", |
46
|
|
|
|
|
|
|
STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES => |
47
|
|
|
|
|
|
|
"STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES", |
48
|
|
|
|
|
|
|
STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT => |
49
|
|
|
|
|
|
|
"STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT" |
50
|
|
|
|
|
|
|
]; |
51
|
1
|
|
|
1
|
|
6
|
|
|
1
|
|
|
|
|
3
|
|
52
|
|
|
|
|
|
|
1; |