En/Latn/Bz.pm

filter: Statementstmt 47.7% 43 / 90 Branchbran 0.0% 0 / 60 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 45.4% 10 / 22 Podpod n/a totaltotal 22.5% 53 / 235 CC 45 SCAR 72.5
CC
45
Cov
23%
__ANON__
2070.0
__ANON__
2.0
__ANON__
2.0
CRAP 1411.8
« En/Latn/Bw.pm ↑ Summary En/Latn/Ie.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::En::Latn::Bz - Package for language English
6
7 =cut
8
9 package Locale::CLDR::Locales::En::Latn::Bz;
10 # This file auto generated from Data\common\main\en_BZ.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::En::Latn::001');
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 'narrow' => {
33 # Long Unit Identifier
34 'temperature-fahrenheit' => {
35 'one' => q({0}°),
36 'other' => q({0}°),
37 },
38 # Core Unit Identifier
39 'fahrenheit' => {
40 'one' => q({0}°),
41 'other' => q({0}°),
42 },
43 },
44 } }
45 1 );
46
47 has 'currencies' => (
48 is => 'ro',
49 isa => HashRef,
50 init_arg => undef,
51 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
52 0 'BZD' => {
53 symbol => '$',
54 },
55 } },
56 1 );
57
58
59 has 'day_period_data' => (
60 is => 'ro',
61 isa => CodeRef,
62 init_arg => undef,
63 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=45 SCAR=76.4
64 # Time in hhmm format
65 0 my ($self, $type, $time, $day_period_type) = @_;
66 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
67 SWITCH:
68 0 for ($type) {
69 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
70 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
71 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
72 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
73 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
74 && $time < 1800;
75 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
76 && $time < 2100;
77 0 ▶ return 'morning1' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
78 && $time < 1200;
79 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
80 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
81 }
82 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
83 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
84 && $time < 1800;
85 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
86 && $time < 2100;
87 0 ▶ return 'morning1' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
88 && $time < 1200;
89 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
90 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
91 }
92 0 last SWITCH;
93 }
94 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
95 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
96 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
97 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
98 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
99 && $time < 1800;
100 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
101 && $time < 2100;
102 0 ▶ return 'morning1' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
103 && $time < 1200;
104 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
105 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
106 }
107 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
108 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
109 && $time < 1800;
110 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
111 && $time < 2100;
112 0 ▶ return 'morning1' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
113 && $time < 1200;
114 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
115 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
116 }
117 0 last SWITCH;
118 }
119 }
120 0 } },
121 1 );
122
123 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
124 0 my ($orig, $self) = @_;
125 0 return $self->$orig;
126 1 };
127
128 has 'eras' => (
129 is => 'ro',
130 isa => HashRef,
131 init_arg => undef,
132 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
133 0 'generic' => {
134 },
135 'gregorian' => {
136 },
137 } },
138 1 );
139
140 has 'date_formats' => (
141 is => 'ro',
142 isa => HashRef,
143 init_arg => undef,
144 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
145 0 'generic' => {
146 'full' => q{EEEE, dd MMMM y G},
147 'long' => q{dd MMMM y G},
148 'medium' => q{dd-MMM-y G},
149 },
150 'gregorian' => {
151 'full' => q{EEEE, dd MMMM y},
152 'long' => q{dd MMMM y},
153 'medium' => q{dd-MMM-y},
154 'short' => q{dd/MM/yy},
155 },
156 } },
157 1 );
158
159 has 'time_formats' => (
160 is => 'ro',
161 isa => HashRef,
162 init_arg => undef,
163 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
164 0 'generic' => {
165 },
166 'gregorian' => {
167 'full' => q{HH:mm:ss zzzz},
168 'long' => q{HH:mm:ss z},
169 'medium' => q{HH:mm:ss},
170 'short' => q{HH:mm},
171 },
172 } },
173 1 );
174
175 has 'datetime_formats' => (
176 is => 'ro',
177 isa => HashRef,
178 init_arg => undef,
179 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
180 0 'generic' => {
181 },
182 'gregorian' => {
183 },
184 } },
185 1 );
186
187 has 'datetime_formats_available_formats' => (
188 is => 'ro',
189 isa => HashRef,
190 init_arg => undef,
191 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
192 0 'generic' => {
193 MMMEd => q{E, dd MMM},
194 MMMd => q{dd MMM},
195 yyyyM => q{MM/y G},
196 yyyyMEd => q{E, dd/MM/y G},
197 yyyyMMMEd => q{E, dd MMM y G},
198 yyyyMMMd => q{dd MMM y G},
199 yyyyMd => q{dd/MM/y G},
200 },
201 'gregorian' => {
202 MMMEd => q{E, dd MMM},
203 MMMd => q{dd MMM},
204 yMMMEd => q{E, dd MMM y},
205 yMMMd => q{dd MMM y},
206 },
207 } },
208 1 );
209
210 has 'datetime_formats_append_item' => (
211 is => 'ro',
212 isa => HashRef,
213 init_arg => undef,
214 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
215 0 } },
216 1 );
217
218 has 'datetime_formats_interval' => (
219 is => 'ro',
220 isa => HashRef,
221 init_arg => undef,
222 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
223 0 'generic' => {
224 MEd => {
225 M => q{E, M/d – E, M/d},
226 d => q{E, M/d – E, M/d},
227 },
228 MMMEd => {
229 M => q{E, MMM d – E, MMM d},
230 d => q{E, MMM d – E, MMM d},
231 },
232 MMMd => {
233 M => q{MMM d – MMM d},
234 d => q{MMM d – d},
235 },
236 Md => {
237 M => q{M/d – M/d},
238 d => q{M/d – M/d},
239 },
240 yM => {
241 M => q{M/y – M/y G},
242 y => q{M/y – M/y G},
243 },
244 yMEd => {
245 M => q{E, M/d/y – E, M/d/y G},
246 d => q{E, M/d/y – E, M/d/y G},
247 y => q{E, M/d/y – E, M/d/y G},
248 },
249 yMMMEd => {
250 M => q{E, MMM d – E, MMM d, y G},
251 d => q{E, MMM d – E, MMM d, y G},
252 y => q{E, MMM d, y – E, MMM d, y G},
253 },
254 yMMMd => {
255 M => q{MMM d – MMM d, y G},
256 d => q{MMM d – d, y G},
257 y => q{MMM d, y – MMM d, y G},
258 },
259 yMd => {
260 M => q{M/d/y – M/d/y G},
261 d => q{M/d/y – M/d/y G},
262 y => q{M/d/y – M/d/y G},
263 },
264 },
265 'gregorian' => {
266 MEd => {
267 M => q{E, M/d – E, M/d},
268 d => q{E, M/d – E, M/d},
269 },
270 MMMEd => {
271 M => q{E, MMM d – E, MMM d},
272 d => q{E, MMM d – E, MMM d},
273 },
274 MMMd => {
275 M => q{MMM d – MMM d},
276 d => q{MMM d – d},
277 },
278 Md => {
279 M => q{M/d – M/d},
280 d => q{M/d – M/d},
281 },
282 yM => {
283 M => q{M/y – M/y},
284 y => q{M/y – M/y},
285 },
286 yMEd => {
287 M => q{E, M/d/y – E, M/d/y},
288 d => q{E, M/d/y – E, M/d/y},
289 y => q{E, M/d/y – E, M/d/y},
290 },
291 yMMMEd => {
292 M => q{E, MMM d – E, MMM d, y},
293 d => q{E, MMM d – E, MMM d, y},
294 y => q{E, MMM d, y – E, MMM d, y},
295 },
296 yMMMd => {
297 M => q{MMM d – MMM d, y},
298 d => q{MMM d – d, y},
299 y => q{MMM d, y – MMM d, y},
300 },
301 yMd => {
302 M => q{M/d/y – M/d/y},
303 d => q{M/d/y – M/d/y},
304 y => q{M/d/y – M/d/y},
305 },
306 },
307 } },
308 1 );
309
310 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
311
312 1 1;
313
314 # vim: tabstop=4
« En/Latn/Bw.pm ↑ Summary En/Latn/Ie.pm »