Zh/Hans/Hk.pm

filter: Statementstmt 24.2% 43 / 177 Branchbran 0.0% 0 / 224 Conditioncond 0.0% 0 / 254 MC/DCmcdc 0.0% 0 / 169 Subroutinesub 45.4% 10 / 22 Podpod n/a totaltotal 6.2% 53 / 846 CC 199 SCAR 104.9
CC
199
Cov
7%
__ANON__
39800.0
__ANON__
2.0
__ANON__
2.0
CRAP 36001.1
« Zh/Hant.pm ↑ Summary Zh/Hans/Sg.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Zh::Hans::Hk - Package for language Chinese
6
7 =cut
8
9 package Locale::CLDR::Locales::Zh::Hans::Hk;
10 # This file auto generated from Data\common\main\zh_Hans_HK.xml
11 # on Fri 17 Jan 12:03:31 pm GMT
12
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
16
17 1 our $VERSION = version->declare('v0.46.0');
18
19 1 ▶use v5.12.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use feature 'unicode_strings';
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
25
26 1 extends('Locale::CLDR::Locales::Zh::Hans');
27 has 'units' => (
28 is => 'ro',
29 isa => HashRef[HashRef[HashRef[Str]]],
30 init_arg => undef,
31 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 'long' => {
33 # Long Unit Identifier
34 'concentr-karat' => {
35 'name' => q(开),
36 'other' => q({0}开),
37 },
38 # Core Unit Identifier
39 'karat' => {
40 'name' => q(开),
41 'other' => q({0}开),
42 },
43 # Long Unit Identifier
44 'duration-second' => {
45 'other' => q({0}秒),
46 },
47 # Core Unit Identifier
48 'second' => {
49 'other' => q({0}秒),
50 },
51 # Long Unit Identifier
52 'per' => {
53 '1' => q({0}/{1}),
54 },
55 # Core Unit Identifier
56 'per' => {
57 '1' => q({0}/{1}),
58 },
59 # Long Unit Identifier
60 'temperature-kelvin' => {
61 'name' => q(开氏度),
62 'other' => q({0}开氏度),
63 },
64 # Core Unit Identifier
65 'kelvin' => {
66 'name' => q(开氏度),
67 'other' => q({0}开氏度),
68 },
69 },
70 'narrow' => {
71 # Long Unit Identifier
72 'concentr-karat' => {
73 'other' => q({0}开),
74 },
75 # Core Unit Identifier
76 'karat' => {
77 'other' => q({0}开),
78 },
79 # Long Unit Identifier
80 'length-foot' => {
81 'other' => q({0}英尺),
82 },
83 # Core Unit Identifier
84 'foot' => {
85 'other' => q({0}英尺),
86 },
87 # Long Unit Identifier
88 'length-inch' => {
89 'other' => q({0}英寸),
90 },
91 # Core Unit Identifier
92 'inch' => {
93 'other' => q({0}英寸),
94 },
95 # Long Unit Identifier
96 'length-light-year' => {
97 'other' => q({0}光年),
98 },
99 # Core Unit Identifier
100 'light-year' => {
101 'other' => q({0}光年),
102 },
103 # Long Unit Identifier
104 'length-mile' => {
105 'other' => q({0}英里),
106 },
107 # Core Unit Identifier
108 'mile' => {
109 'other' => q({0}英里),
110 },
111 # Long Unit Identifier
112 'length-picometer' => {
113 'other' => q({0}皮米),
114 },
115 # Core Unit Identifier
116 'picometer' => {
117 'other' => q({0}皮米),
118 },
119 # Long Unit Identifier
120 'length-yard' => {
121 'other' => q({0}码),
122 },
123 # Core Unit Identifier
124 'yard' => {
125 'other' => q({0}码),
126 },
127 },
128 'short' => {
129 # Long Unit Identifier
130 'acceleration-g-force' => {
131 'other' => q({0}G力),
132 },
133 # Core Unit Identifier
134 'g-force' => {
135 'other' => q({0}G力),
136 },
137 # Long Unit Identifier
138 'concentr-karat' => {
139 'name' => q(开),
140 'other' => q({0}开),
141 },
142 # Core Unit Identifier
143 'karat' => {
144 'name' => q(开),
145 'other' => q({0}开),
146 },
147 # Long Unit Identifier
148 'temperature-kelvin' => {
149 'name' => q(开氏度),
150 'other' => q({0}°K),
151 },
152 # Core Unit Identifier
153 'kelvin' => {
154 'name' => q(开氏度),
155 'other' => q({0}°K),
156 },
157 },
158 } }
159 1 );
160
161 has 'currencies' => (
162 is => 'ro',
163 isa => HashRef,
164 init_arg => undef,
165 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
166 0 'CNY' => {
167 symbol => 'CN¥',
168 },
169 'KYD' => {
170 display_name => {
171 'currency' => q(开曼群岛元),
172 },
173 },
174 'NIO' => {
175 display_name => {
176 'other' => q(尼加拉瓜科多巴),
177 },
178 },
179 'XAG' => {
180 display_name => {
181 'currency' => q(白银),
182 'other' => q(白银),
183 },
184 },
185 } },
186 1 );
187
188
189 has 'day_period_data' => (
190 is => 'ro',
191 isa => CodeRef,
192 init_arg => undef,
193 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=199 SCAR=105.9
194 # Time in hhmm format
195 0 my ($self, $type, $time, $day_period_type) = @_;
196 0 ▶ $day_period_type //= 'default';
Condition0%0/2
$day_period_type //= "default"
l!l
00
MC/DC0%0/1
$day_period_type //= "default"
$day_period_type
Truth table0%0/2
A
A= $day_period_type
Aresult
11
00
197 SWITCH:
198 0 for ($type) {
199 0 ▶ if ($_ eq 'buddhist') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "buddhist") 0 0 0
200 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
201 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
202 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
203 && $time < 1300;
204 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
205 && $time < 1900;
206 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
207 && $time < 2400;
208 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
209 && $time < 800;
210 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
211 && $time < 1200;
212 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
213 && $time < 500;
214 }
215 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
216 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
217 && $time < 1300;
218 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
219 && $time < 1900;
220 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
221 && $time < 2400;
222 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
223 && $time < 800;
224 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
225 && $time < 1200;
226 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
227 && $time < 500;
228 }
229 0 last SWITCH;
230 }
231 0 ▶ if ($_ eq 'chinese') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "chinese") 0 0 0
232 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
233 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
234 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
235 && $time < 1300;
236 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
237 && $time < 1900;
238 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
239 && $time < 2400;
240 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
241 && $time < 800;
242 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
243 && $time < 1200;
244 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
245 && $time < 500;
246 }
247 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
248 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
249 && $time < 1300;
250 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
251 && $time < 1900;
252 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
253 && $time < 2400;
254 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
255 && $time < 800;
256 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
257 && $time < 1200;
258 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
259 && $time < 500;
260 }
261 0 last SWITCH;
262 }
263 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
264 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
265 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
266 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
267 && $time < 1300;
268 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
269 && $time < 1900;
270 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
271 && $time < 2400;
272 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
273 && $time < 800;
274 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
275 && $time < 1200;
276 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
277 && $time < 500;
278 }
279 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
280 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
281 && $time < 1300;
282 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
283 && $time < 1900;
284 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
285 && $time < 2400;
286 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
287 && $time < 800;
288 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
289 && $time < 1200;
290 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
291 && $time < 500;
292 }
293 0 last SWITCH;
294 }
295 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
296 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
297 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
298 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
299 && $time < 1300;
300 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
301 && $time < 1900;
302 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
303 && $time < 2400;
304 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
305 && $time < 800;
306 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
307 && $time < 1200;
308 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
309 && $time < 500;
310 }
311 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
312 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
313 && $time < 1300;
314 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
315 && $time < 1900;
316 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
317 && $time < 2400;
318 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
319 && $time < 800;
320 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
321 && $time < 1200;
322 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
323 && $time < 500;
324 }
325 0 last SWITCH;
326 }
327 0 ▶ if ($_ eq 'islamic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "islamic") 0 0 0
328 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
329 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
330 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
331 && $time < 1300;
332 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
333 && $time < 1900;
334 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
335 && $time < 2400;
336 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
337 && $time < 800;
338 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
339 && $time < 1200;
340 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
341 && $time < 500;
342 }
343 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
344 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
345 && $time < 1300;
346 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
347 && $time < 1900;
348 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
349 && $time < 2400;
350 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
351 && $time < 800;
352 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
353 && $time < 1200;
354 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
355 && $time < 500;
356 }
357 0 last SWITCH;
358 }
359 0 ▶ if ($_ eq 'japanese') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "japanese") 0 0 0
360 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
361 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
362 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
363 && $time < 1300;
364 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
365 && $time < 1900;
366 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
367 && $time < 2400;
368 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
369 && $time < 800;
370 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
371 && $time < 1200;
372 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
373 && $time < 500;
374 }
375 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
376 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
377 && $time < 1300;
378 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
379 && $time < 1900;
380 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
381 && $time < 2400;
382 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
383 && $time < 800;
384 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
385 && $time < 1200;
386 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
387 && $time < 500;
388 }
389 0 last SWITCH;
390 }
391 0 ▶ if ($_ eq 'roc') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "roc") 0 0 0
392 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
393 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
394 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
395 && $time < 1300;
396 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
397 && $time < 1900;
398 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
399 && $time < 2400;
400 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
401 && $time < 800;
402 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
403 && $time < 1200;
404 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
405 && $time < 500;
406 }
407 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
408 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
409 && $time < 1300;
410 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1900
$time >= 1300 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1900
ABresult
0X0
100
111
411 && $time < 1900;
412 0 ▶ return 'evening1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
413 && $time < 2400;
414 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 800 0 0 0
Condition0%0/3
$time >= 500 and $time < 800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 800
$time >= 500 $time < 800
Truth table0%0/3
A and B
A= $time >= 500B= $time < 800
ABresult
0X0
100
111
415 && $time < 800;
416 0 ▶ return 'morning2' if $time >= 800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 800 and $time < 1200 0 0 0
Condition0%0/3
$time >= 800 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 800 and $time < 1200
$time >= 800 $time < 1200
Truth table0%0/3
A and B
A= $time >= 800B= $time < 1200
ABresult
0X0
100
111
417 && $time < 1200;
418 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
419 && $time < 500;
420 }
421 0 last SWITCH;
422 }
423 }
424 0 } },
425 1 );
426
427 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
428 0 my ($orig, $self) = @_;
429 0 return $self->$orig;
430 1 };
431
432 has 'eras' => (
433 is => 'ro',
434 isa => HashRef,
435 init_arg => undef,
436 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
437 0 'buddhist' => {
438 },
439 'chinese' => {
440 },
441 'generic' => {
442 },
443 'gregorian' => {
444 },
445 'islamic' => {
446 },
447 'japanese' => {
448 },
449 'roc' => {
450 },
451 } },
452 1 );
453
454 has 'date_formats' => (
455 is => 'ro',
456 isa => HashRef,
457 init_arg => undef,
458 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
459 0 'buddhist' => {
460 'short' => q{Gd/M/yy},
461 },
462 'chinese' => {
463 'full' => q{U年MMMd日EEEE},
464 'long' => q{U年MMMd日},
465 'medium' => q{U年MMMd日},
466 },
467 'generic' => {
468 'short' => q{d/M/yyGGGGG},
469 },
470 'gregorian' => {
471 'short' => q{d/M/yy},
472 },
473 'islamic' => {
474 'short' => q{Gd/M/yy},
475 },
476 'japanese' => {
477 'short' => q{Gd/M/yy},
478 },
479 'roc' => {
480 'short' => q{Gd/M/yy},
481 },
482 } },
483 1 );
484
485 has 'time_formats' => (
486 is => 'ro',
487 isa => HashRef,
488 init_arg => undef,
489 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
490 0 'buddhist' => {
491 },
492 'chinese' => {
493 },
494 'generic' => {
495 },
496 'gregorian' => {
497 'full' => q{zzzz ah:mm:ss},
498 'long' => q{z ah:mm:ss},
499 'medium' => q{ah:mm:ss},
500 'short' => q{ah:mm},
501 },
502 'islamic' => {
503 },
504 'japanese' => {
505 },
506 'roc' => {
507 },
508 } },
509 1 );
510
511 has 'datetime_formats' => (
512 is => 'ro',
513 isa => HashRef,
514 init_arg => undef,
515 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
516 0 'buddhist' => {
517 },
518 'chinese' => {
519 },
520 'generic' => {
521 },
522 'gregorian' => {
523 },
524 'islamic' => {
525 },
526 'japanese' => {
527 },
528 'roc' => {
529 },
530 } },
531 1 );
532
533 has 'datetime_formats_available_formats' => (
534 is => 'ro',
535 isa => HashRef,
536 init_arg => undef,
537 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
538 0 'buddhist' => {
539 M => q{L},
540 MEd => q{M/dE},
541 MMM => q{M月},
542 },
543 'generic' => {
544 HHmm => q{HH:mm},
545 MEd => q{E, d/M},
546 MMM => q{M月},
547 MMMMdd => q{M月d日},
548 Md => q{d/M},
549 yyyyM => q{M/yGGGGG},
550 yyyyMEd => q{E, d/M/yGGGGG},
551 yyyyMd => q{d/M/yGGGGG},
552 },
553 'gregorian' => {
554 HHmm => q{HH:mm},
555 MEd => q{E, d/M},
556 MMMMdd => q{M月d日},
557 MMdd => q{dd/MM},
558 Md => q{d/M},
559 yM => q{M/y},
560 yMEd => q{d/M/y(E)},
561 yMM => q{MM/y},
562 yMd => q{d/M/y},
563 },
564 'japanese' => {
565 MEd => q{M/dE},
566 Md => q{M/d},
567 },
568 'roc' => {
569 M => q{L},
570 MMM => q{M月},
571 Md => q{M-d},
572 },
573 } },
574 1 );
575
576 has 'datetime_formats_append_item' => (
577 is => 'ro',
578 isa => HashRef,
579 init_arg => undef,
580 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
581 0 } },
582 1 );
583
584 has 'datetime_formats_interval' => (
585 is => 'ro',
586 isa => HashRef,
587 init_arg => undef,
588 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
589 0 'buddhist' => {
590 Hv => {
591 H => q{vHH–HH},
592 },
593 fallback => '{0}–{1}',
594 },
595 'generic' => {
596 Hmv => {
597 H => q{vHH:mm–HH:mm},
598 m => q{vHH:mm–HH:mm},
599 },
600 Hv => {
601 H => q{vHH–HH},
602 },
603 fallback => '{0}–{1}',
604 h => {
605 h => q{ah至h时},
606 },
607 yM => {
608 M => q{y年M月至y年M月},
609 },
610 yMEd => {
611 M => q{d/M/yE至d/M/yE},
612 d => q{d/M/yE至d/M/yE},
613 y => q{d/M/yE至d/M/yE},
614 },
615 yMMMEd => {
616 d => q{y年M月d日E至M月d日E},
617 },
618 yMd => {
619 M => q{d/M/y至d/M/y},
620 d => q{d/M/y至d/M/y},
621 y => q{d/M/y至d/M/y},
622 },
623 },
624 'gregorian' => {
625 Hmv => {
626 H => q{vHH:mm–HH:mm},
627 m => q{vHH:mm–HH:mm},
628 },
629 Hv => {
630 H => q{vHH–HH},
631 },
632 fallback => '{0}–{1}',
633 h => {
634 h => q{ah至h时},
635 },
636 yM => {
637 M => q{y年M月至y年M月},
638 },
639 yMEd => {
640 M => q{d/M/yE至d/M/yE},
641 d => q{d/M/yE至d/M/yE},
642 y => q{d/M/yE至d/M/yE},
643 },
644 yMMMEd => {
645 d => q{y年M月d日E至M月d日E},
646 },
647 yMd => {
648 M => q{d/M/y至d/M/y},
649 d => q{d/M/y至d/M/y},
650 y => q{d/M/y至d/M/y},
651 },
652 },
653 } },
654 1 );
655
656 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
657
658 1 1;
659
660 # vim: tabstop=4
« Zh/Hant.pm ↑ Summary Zh/Hans/Sg.pm »