Zh/Hans/Sg.pm

filter: Statementstmt 24.5% 44 / 179 Branchbran 0.0% 0 / 224 Conditioncond 0.0% 0 / 254 MC/DCmcdc 0.0% 0 / 169 Subroutinesub 43.4% 10 / 23 Podpod n/a totaltotal 6.3% 54 / 849 CC 199 SCAR 104.9
CC
199
Cov
7%
__ANON__
39800.0
__ANON__
2.0
__ANON__
2.0
CRAP 35838.2
« Zh/Hans/Hk.pm ↑ Summary Zh/Hans/Mo.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Zh::Hans::Sg - Package for language Chinese
6
7 =cut
8
9 package Locale::CLDR::Locales::Zh::Hans::Sg;
10 # This file auto generated from Data\common\main\zh_Hans_SG.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 'ANG' => {
167 display_name => {
168 'other' => q(荷兰安的列斯盾),
169 },
170 },
171 'CNY' => {
172 symbol => 'CN¥',
173 },
174 'NIO' => {
175 display_name => {
176 'other' => q(尼加拉瓜科多巴),
177 },
178 },
179 'SGD' => {
180 symbol => '$',
181 },
182 'XAG' => {
183 display_name => {
184 'currency' => q(白银),
185 'other' => q(白银),
186 },
187 },
188 } },
189 1 );
190
191
192 has 'day_period_data' => (
193 is => 'ro',
194 isa => CodeRef,
195 init_arg => undef,
196 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=199 SCAR=105.9
197 # Time in hhmm format
198 0 my ($self, $type, $time, $day_period_type) = @_;
199 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
200 SWITCH:
201 0 for ($type) {
202 0 ▶ if ($_ eq 'buddhist') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "buddhist") 0 0 0
203 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
204 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
205 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
206 && $time < 1300;
207 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
208 && $time < 1900;
209 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
210 && $time < 2400;
211 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
212 && $time < 800;
213 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
214 && $time < 1200;
215 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
216 && $time < 500;
217 }
218 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
219 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
220 && $time < 1300;
221 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
222 && $time < 1900;
223 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
224 && $time < 2400;
225 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
226 && $time < 800;
227 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
228 && $time < 1200;
229 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
230 && $time < 500;
231 }
232 0 last SWITCH;
233 }
234 0 ▶ if ($_ eq 'chinese') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "chinese") 0 0 0
235 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
236 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
237 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
238 && $time < 1300;
239 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
240 && $time < 1900;
241 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
242 && $time < 2400;
243 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
244 && $time < 800;
245 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
246 && $time < 1200;
247 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
248 && $time < 500;
249 }
250 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
251 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
252 && $time < 1300;
253 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
254 && $time < 1900;
255 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
256 && $time < 2400;
257 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
258 && $time < 800;
259 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
260 && $time < 1200;
261 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
262 && $time < 500;
263 }
264 0 last SWITCH;
265 }
266 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
267 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
268 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
269 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
270 && $time < 1300;
271 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
272 && $time < 1900;
273 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
274 && $time < 2400;
275 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
276 && $time < 800;
277 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
278 && $time < 1200;
279 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
280 && $time < 500;
281 }
282 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
283 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
284 && $time < 1300;
285 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
286 && $time < 1900;
287 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
288 && $time < 2400;
289 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
290 && $time < 800;
291 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
292 && $time < 1200;
293 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
294 && $time < 500;
295 }
296 0 last SWITCH;
297 }
298 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
299 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
300 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
301 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
302 && $time < 1300;
303 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
304 && $time < 1900;
305 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
306 && $time < 2400;
307 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
308 && $time < 800;
309 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
310 && $time < 1200;
311 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
312 && $time < 500;
313 }
314 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
315 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
316 && $time < 1300;
317 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
318 && $time < 1900;
319 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
320 && $time < 2400;
321 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
322 && $time < 800;
323 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
324 && $time < 1200;
325 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
326 && $time < 500;
327 }
328 0 last SWITCH;
329 }
330 0 ▶ if ($_ eq 'islamic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "islamic") 0 0 0
331 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
332 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
333 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
334 && $time < 1300;
335 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
336 && $time < 1900;
337 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
338 && $time < 2400;
339 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
340 && $time < 800;
341 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
342 && $time < 1200;
343 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
344 && $time < 500;
345 }
346 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
347 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
348 && $time < 1300;
349 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
350 && $time < 1900;
351 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
352 && $time < 2400;
353 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
354 && $time < 800;
355 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
356 && $time < 1200;
357 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
358 && $time < 500;
359 }
360 0 last SWITCH;
361 }
362 0 ▶ if ($_ eq 'japanese') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "japanese") 0 0 0
363 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
364 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
365 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
366 && $time < 1300;
367 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
368 && $time < 1900;
369 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
370 && $time < 2400;
371 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
372 && $time < 800;
373 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
374 && $time < 1200;
375 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
376 && $time < 500;
377 }
378 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
379 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
380 && $time < 1300;
381 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
382 && $time < 1900;
383 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
384 && $time < 2400;
385 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
386 && $time < 800;
387 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
388 && $time < 1200;
389 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
390 && $time < 500;
391 }
392 0 last SWITCH;
393 }
394 0 ▶ if ($_ eq 'roc') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "roc") 0 0 0
395 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
396 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
397 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
398 && $time < 1300;
399 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
400 && $time < 1900;
401 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
402 && $time < 2400;
403 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
404 && $time < 800;
405 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
406 && $time < 1200;
407 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
408 && $time < 500;
409 }
410 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
411 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
412 && $time < 1300;
413 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
414 && $time < 1900;
415 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
416 && $time < 2400;
417 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
418 && $time < 800;
419 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
420 && $time < 1200;
421 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
422 && $time < 500;
423 }
424 0 last SWITCH;
425 }
426 }
427 0 } },
428 1 );
429
430 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
431 0 my ($orig, $self) = @_;
432 0 return $self->$orig;
433 1 };
434
435 has 'eras' => (
436 is => 'ro',
437 isa => HashRef,
438 init_arg => undef,
439 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
440 0 'buddhist' => {
441 },
442 'chinese' => {
443 },
444 'generic' => {
445 },
446 'gregorian' => {
447 },
448 'islamic' => {
449 },
450 'japanese' => {
451 },
452 'roc' => {
453 },
454 } },
455 1 );
456
457 has 'date_formats' => (
458 is => 'ro',
459 isa => HashRef,
460 init_arg => undef,
461 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
462 0 'buddhist' => {
463 'short' => q{Gd/M/yy},
464 },
465 'chinese' => {
466 'full' => q{U年MMMd日EEEE},
467 'long' => q{U年MMMd日},
468 'medium' => q{U年MMMd日},
469 },
470 'generic' => {
471 'short' => q{dd/MM/yyGGGGG},
472 },
473 'gregorian' => {
474 'short' => q{dd/MM/yy},
475 },
476 'islamic' => {
477 'short' => q{Gd/M/yy},
478 },
479 'japanese' => {
480 'short' => q{Gd/M/yy},
481 },
482 'roc' => {
483 'short' => q{Gd/M/yy},
484 },
485 } },
486 1 );
487
488 has 'time_formats' => (
489 is => 'ro',
490 isa => HashRef,
491 init_arg => undef,
492 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
493 0 'buddhist' => {
494 },
495 'chinese' => {
496 },
497 'generic' => {
498 },
499 'gregorian' => {
500 'full' => q{zzzz ah:mm:ss},
501 'long' => q{z ah:mm:ss},
502 'medium' => q{ah:mm:ss},
503 'short' => q{ah:mm},
504 },
505 'islamic' => {
506 },
507 'japanese' => {
508 },
509 'roc' => {
510 },
511 } },
512 1 );
513
514 has 'datetime_formats' => (
515 is => 'ro',
516 isa => HashRef,
517 init_arg => undef,
518 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
519 0 'buddhist' => {
520 },
521 'chinese' => {
522 },
523 'generic' => {
524 },
525 'gregorian' => {
526 },
527 'islamic' => {
528 },
529 'japanese' => {
530 },
531 'roc' => {
532 },
533 } },
534 1 );
535
536 has 'datetime_formats_available_formats' => (
537 is => 'ro',
538 isa => HashRef,
539 init_arg => undef,
540 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
541 0 'generic' => {
542 MEd => q{M-dE},
543 MMMMdd => q{M月d日},
544 MMdd => q{MM-dd},
545 Md => q{M-d},
546 yyyyMEd => q{Gy年M月d日,E},
547 yyyyMd => q{Gy年M月d日},
548 },
549 'gregorian' => {
550 MEd => q{M-dE},
551 MMM => q{M月},
552 MMMMdd => q{M月d日},
553 MMdd => q{MM-dd},
554 Md => q{M-d},
555 yMEd => q{y年M月d日,E},
556 yMd => q{y年M月d日},
557 },
558 'japanese' => {
559 MEd => q{M/dE},
560 Md => q{M/d},
561 },
562 'roc' => {
563 MMM => q{M月},
564 },
565 } },
566 1 );
567
568 has 'datetime_formats_append_item' => (
569 is => 'ro',
570 isa => HashRef,
571 init_arg => undef,
572 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
573 0 } },
574 1 );
575
576 has 'datetime_formats_interval' => (
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 'buddhist' => {
582 Hv => {
583 H => q{vHH–HH},
584 },
585 fallback => '{0}至{1}',
586 },
587 'generic' => {
588 Hmv => {
589 H => q{vHH:mm–HH:mm},
590 m => q{vHH:mm–HH:mm},
591 },
592 Hv => {
593 H => q{vHH–HH},
594 },
595 MEd => {
596 M => q{M-dE至M-dE},
597 d => q{M-dE至M-dE},
598 },
599 MMMEd => {
600 d => q{M月d日E至M月d日E},
601 },
602 Md => {
603 M => q{M-d至M-d},
604 d => q{M-d至M-d},
605 },
606 fallback => '{0}至{1}',
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 yMd => {
616 M => q{d/M/y至d/M/y},
617 d => q{d/M/y至d/M/y},
618 y => q{d/M/y至d/M/y},
619 },
620 },
621 'gregorian' => {
622 Hmv => {
623 H => q{vHH:mm–HH:mm},
624 m => q{vHH:mm–HH:mm},
625 },
626 Hv => {
627 H => q{vHH–HH},
628 },
629 MEd => {
630 M => q{M-dE至M-dE},
631 d => q{M-dE至M-dE},
632 },
633 MMMEd => {
634 d => q{M月d日E至M月d日E},
635 },
636 Md => {
637 M => q{M-d至M-d},
638 d => q{M-d至M-d},
639 },
640 d => {
641 d => q{d日至d日},
642 },
643 fallback => '{0}至{1}',
644 yM => {
645 M => q{y年M月至y年M月},
646 },
647 yMEd => {
648 M => q{d/M/yE至d/M/yE},
649 d => q{d/M/yE至d/M/yE},
650 y => q{d/M/yE至d/M/yE},
651 },
652 yMd => {
653 M => q{d/M/y至d/M/y},
654 d => q{d/M/y至d/M/y},
655 y => q{d/M/y至d/M/y},
656 },
657 },
658 } },
659 1 );
660
661 has 'time_zone_names' => (
662 is => 'ro',
663 isa => HashRef,
664 init_arg => undef,
665 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
666 0 'America/Scoresbysund' => {
667 exemplarCity => q#斯考斯伯松德#,
668 },
669 'Malaysia' => {
670 short => {
671 'standard' => q#MYT#,
672 },
673 },
674 'Singapore' => {
675 short => {
676 'standard' => q#SGT#,
677 },
678 },
679 } }
680 1 );
681 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
682
683 1 1;
684
685 # vim: tabstop=4
« Zh/Hans/Hk.pm ↑ Summary Zh/Hans/Mo.pm »