Bem.pm

filter: Statementstmt 71.2% 52 / 73 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 37.9% 11 / 29 Podpod n/a totaltotal 60.3% 64 / 106 CC 2 SCAR 6.4
CC
2
Cov
69%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.9
↑ Summary Bem/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Bem - Package for language Bemba
6
7 =cut
8
9 package Locale::CLDR::Locales::Bem;
10 # This file auto generated from Data\common\main\bem.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::Root');
27 has 'display_name_language' => (
28 is => 'ro',
29 isa => CodeRef,
30 init_arg => undef,
31 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
33 0 my %languages = (
34 'ak' => 'Ichi Akan',
35 'am' => 'Ichi Amhari',
36 'ar' => 'Ichi Arab',
37 'be' => 'Ichi Belarus',
38 'bem' => 'Ichibemba',
39 'bg' => 'Ichi Bulgariani',
40 'bn' => 'Ichi Bengali',
41 'cs' => 'Ichi Cheki',
42 'de' => 'Ichi Jemani',
43 'el' => 'Ichi Griki',
44 'en' => 'Ichi Sungu',
45 'es' => 'Ichi Spanishi',
46 'fa' => 'Ichi Pesia',
47 'fr' => 'Ichi Frenchi',
48 'ha' => 'Ichi Hausa',
49 'hi' => 'Ichi Hindu',
50 'hu' => 'Ichi Hangarian',
51 'id' => 'Ichi Indonesiani',
52 'ig' => 'Ichi Ibo',
53 'it' => 'Ichi Italiani',
54 'ja' => 'Ichi Japanisi',
55 'jv' => 'Ichi Javanisi',
56 'km' => 'Ichi Khmer',
57 'ko' => 'Ichi Koriani',
58 'ms' => 'Ichi Maleshani',
59 'my' => 'Ichi Burma',
60 'ne' => 'Ichi Nepali',
61 'nl' => 'Ichi Dachi',
62 'pa' => 'Ichi Punjabi',
63 'pl' => 'Ichi Polishi',
64 'pt' => 'Ichi Potogisi',
65 'ro' => 'Ichi Romaniani',
66 'ru' => 'Ichi Rusiani',
67 'rw' => 'Ichi Rwanda',
68 'so' => 'Ichi Somalia',
69 'sv' => 'Ichi Swideni',
70 'ta' => 'Ichi Tamil',
71 'th' => 'Ichi Thai',
72 'tr' => 'Ichi Takishi',
73 'uk' => 'Ichi Ukraniani',
74 'ur' => 'Ichi Urudu',
75 'vi' => 'Ichi Vietinamu',
76 'yo' => 'Ichi Yoruba',
77 'zh' => 'Ichi Chainisi',
78 'zu' => 'Ichi Zulu',
79
80 );
81 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
82 0 return $languages{$_[0]};
83 }
84 0 return \%languages;
85 }
86 0 },
87 1 );
88
89 has 'display_name_region' => (
90 is => 'ro',
91 isa => HashRef[Str],
92 init_arg => undef,
93 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
94 {
95 0 'ZM' => 'Zambia',
96
97 }
98 },
99 1 );
100
101 has 'characters' => (
102 is => 'ro',
103 isa => HashRef,
104 init_arg => undef,
105 default => $^V ge v5.18.0
106 ? eval <<'EOT'
107 sub {
108 no warnings 'experimental::regex_sets';
109 return {
110 auxiliary => qr{[d h q r v x z]},
111 index => ['A', 'B', 'C', 'E', 'F', 'G', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'S', '{SH}', 'T', 'U', 'W', 'Y'],
112 main => qr{[a b c e f g i j k l m n o p s {sh} t u w y]},
113 };
114 },
115 EOT
116 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
117 0 return { index => ['A', 'B', 'C', 'E', 'F', 'G', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'S', '{SH}', 'T', 'U', 'W', 'Y'], };
118 },
119 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
120
121
122 has 'yesstr' => (
123 is => 'ro',
124 isa => RegexpRef,
125 init_arg => undef,
126 0 ▶ default => sub { qr'^(?i:Ee|E|yes|y)$' }
Subroutine __ANON__: not called CC=1 SCAR=6.9
127 1 );
128
129 has 'nostr' => (
130 is => 'ro',
131 isa => RegexpRef,
132 init_arg => undef,
133 0 ▶ default => sub { qr'^(?i:Awe|A|no|n)$' }
Subroutine __ANON__: not called CC=1 SCAR=6.9
134 1 );
135
136 has 'number_currency_formats' => (
137 is => 'ro',
138 isa => HashRef,
139 init_arg => undef,
140 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
141 0 'latn' => {
142 'pattern' => {
143 'default' => {
144 'accounting' => {
145 'negative' => '(¤#,##0.00)',
146 'positive' => '¤#,##0.00',
147 },
148 'standard' => {
149 'positive' => '¤#,##0.00',
150 },
151 },
152 },
153 },
154 } },
155 1 );
156
157 has 'currencies' => (
158 is => 'ro',
159 isa => HashRef,
160 init_arg => undef,
161 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
162 0 'ZMW' => {
163 symbol => 'K',
164 },
165 } },
166 1 );
167
168
169 has 'calendar_months' => (
170 is => 'ro',
171 isa => HashRef,
172 init_arg => undef,
173 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
174 0 'gregorian' => {
175 'format' => {
176 abbreviated => {
177 nonleap => [
178 'Jan',
179 'Feb',
180 'Mac',
181 'Epr',
182 'Mei',
183 'Jun',
184 'Jul',
185 'Oga',
186 'Sep',
187 'Okt',
188 'Nov',
189 'Dis'
190 ],
191 leap => [
192
193 ],
194 },
195 wide => {
196 nonleap => [
197 'Januari',
198 'Februari',
199 'Machi',
200 'Epreo',
201 'Mei',
202 'Juni',
203 'Julai',
204 'Ogasti',
205 'Septemba',
206 'Oktoba',
207 'Novemba',
208 'Disemba'
209 ],
210 leap => [
211
212 ],
213 },
214 },
215 'stand-alone' => {
216 narrow => {
217 nonleap => [
218 'J',
219 'F',
220 'M',
221 'E',
222 'M',
223 'J',
224 'J',
225 'O',
226 'S',
227 'O',
228 'N',
229 'D'
230 ],
231 leap => [
232
233 ],
234 },
235 },
236 },
237 } },
238 1 );
239
240 has 'calendar_days' => (
241 is => 'ro',
242 isa => HashRef,
243 init_arg => undef,
244 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
245 0 'gregorian' => {
246 'format' => {
247 wide => {
248 mon => 'Palichimo',
249 tue => 'Palichibuli',
250 wed => 'Palichitatu',
251 thu => 'Palichine',
252 fri => 'Palichisano',
253 sat => 'Pachibelushi',
254 sun => 'Pa Mulungu'
255 },
256 },
257 },
258 } },
259 1 );
260
261 has 'day_periods' => (
262 is => 'ro',
263 isa => HashRef,
264 init_arg => undef,
265 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
266 0 'gregorian' => {
267 'format' => {
268 'abbreviated' => {
269 'am' => q{uluchelo},
270 'pm' => q{akasuba},
271 },
272 },
273 },
274 } },
275 1 );
276
277 has 'eras' => (
278 is => 'ro',
279 isa => HashRef,
280 init_arg => undef,
281 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
282 0 'generic' => {
283 },
284 'gregorian' => {
285 abbreviated => {
286 '0' => 'BC',
287 '1' => 'AD'
288 },
289 wide => {
290 '0' => 'Before Yesu',
291 '1' => 'After Yesu'
292 },
293 },
294 } },
295 1 );
296
297 has 'date_formats' => (
298 is => 'ro',
299 isa => HashRef,
300 init_arg => undef,
301 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
302 0 'generic' => {
303 'full' => q{EEEE, d MMMM y G},
304 'long' => q{d MMMM y G},
305 'medium' => q{d MMM y G},
306 'short' => q{dd/MM/y GGGGG},
307 },
308 'gregorian' => {
309 'full' => q{EEEE, d MMMM y},
310 'long' => q{d MMMM y},
311 'medium' => q{d MMM y},
312 'short' => q{dd/MM/y},
313 },
314 } },
315 1 );
316
317 has 'time_formats' => (
318 is => 'ro',
319 isa => HashRef,
320 init_arg => undef,
321 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
322 0 'generic' => {
323 },
324 'gregorian' => {
325 'full' => q{h:mm:ss a zzzz},
326 'long' => q{h:mm:ss a z},
327 'medium' => q{h:mm:ss a},
328 'short' => q{h:mm a},
329 },
330 } },
331 1 );
332
333 has 'datetime_formats' => (
334 is => 'ro',
335 isa => HashRef,
336 init_arg => undef,
337 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
338 0 'generic' => {
339 },
340 'gregorian' => {
341 },
342 } },
343 1 );
344
345 has 'datetime_formats_available_formats' => (
346 is => 'ro',
347 isa => HashRef,
348 init_arg => undef,
349 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
350 0 'generic' => {
351 MEd => q{E, M/d},
352 MMMEd => q{E, MMM d},
353 MMMMEd => q{E, MMMM d},
354 Md => q{M/d},
355 hm => q{h:mm a},
356 y => q{y},
357 yM => q{M/y},
358 yMEd => q{E, M/d/y},
359 yMMM => q{MMM y},
360 yMMMEd => q{E, MMM d, y},
361 yMMMM => q{MMMM y},
362 yMMMd => q{d MMM y},
363 yMd => q{d/M/y},
364 yQQQ => q{QQQ y},
365 yQQQQ => q{QQQQ y},
366 },
367 'gregorian' => {
368 MEd => q{E, M/d},
369 MMMEd => q{E, MMM d},
370 MMMMEd => q{E, MMMM d},
371 Md => q{M/d},
372 hm => q{h:mm a},
373 yM => q{M/y},
374 yMEd => q{E, M/d/y},
375 yMMM => q{MMM y},
376 yMMMEd => q{E, MMM d, y},
377 yMMMM => q{MMMM y},
378 yMMMd => q{d MMM y},
379 yMd => q{d/M/y},
380 yQQQ => q{QQQ y},
381 yQQQQ => q{QQQQ y},
382 },
383 } },
384 1 );
385
386 has 'datetime_formats_append_item' => (
387 is => 'ro',
388 isa => HashRef,
389 init_arg => undef,
390 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
391 0 } },
392 1 );
393
394 has 'datetime_formats_interval' => (
395 is => 'ro',
396 isa => HashRef,
397 init_arg => undef,
398 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
399 0 } },
400 1 );
401
402 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
403
404 1 1;
405
406 # vim: tabstop=4
↑ Summary Bem/Latn.pm »