Mgo.pm

filter: Statementstmt 67.0% 53 / 79 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.4% 11 / 31 Podpod n/a totaltotal 56.0% 65 / 116 CC 3 SCAR 7.7
CC
3
Cov
64%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Mgo/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Mgo - Package for language Metaʼ
6
7 =cut
8
9 package Locale::CLDR::Locales::Mgo;
10 # This file auto generated from Data\common\main\mgo.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 'mgo' => 'metaʼ',
35 'und' => 'ngam tisɔʼ',
36
37 );
38 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
39 0 return $languages{$_[0]};
40 }
41 0 return \%languages;
42 }
43 0 },
44 1 );
45
46 has 'display_name_script' => (
47 is => 'ro',
48 isa => CodeRef,
49 init_arg => undef,
50 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
51 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
52 0 my %scripts = (
53 'Latn' => 'ngam ŋwaʼri',
54 'Zxxx' => 'ngam choʼ',
55 'Zzzz' => 'abo ŋwaʼri tisɔʼ',
56
57 );
58 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
59 0 return $scripts{$_[0]};
60 }
61 0 return \%scripts;
62 }
63 0 }
64 1 );
65
66 has 'display_name_region' => (
67 is => 'ro',
68 isa => HashRef[Str],
69 init_arg => undef,
70 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
71 {
72 0 'CM' => 'Kamalun',
73 'ZZ' => 'aba aben tisɔ̀',
74
75 }
76 },
77 1 );
78
79 has 'display_name_type' => (
80 is => 'ro',
81 isa => HashRef[HashRef[Str]],
82 init_arg => undef,
83 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
84 {
85 0 'calendar' => {
86 'gregorian' => q{ngàb mə̀kala},
87 },
88 'numbers' => {
89 'latn' => q{inu},
90 },
91
92 }
93 },
94 1 );
95
96 has 'characters' => (
97 is => 'ro',
98 isa => HashRef,
99 init_arg => undef,
100 default => $^V ge v5.18.0
101 ? eval <<'EOT'
102 sub {
103 no warnings 'experimental::regex_sets';
104 return {
105 auxiliary => qr{[c h l q v x]},
106 index => ['A', 'B', '{CH}', 'D', 'E', 'Ə', 'F', 'G', '{GH}', 'I', 'J', 'K', 'M', 'N', 'Ŋ', 'O', 'Ɔ', 'P', 'R', 'S', 'T', 'U', 'W', 'Y', 'Z', 'ʼ'],
107 main => qr{[aà b {ch} d eè ə{ə̀} f g {gh} iì j k m n ŋ oò ɔ{ɔ̀} p r s t uù w y z ʼ]},
108 punctuation => qr{[, ; \: ! ? . '‘’ "“”]},
109 };
110 },
111 EOT
112 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
113 0 return { index => ['A', 'B', '{CH}', 'D', 'E', 'Ə', 'F', 'G', '{GH}', 'I', 'J', 'K', 'M', 'N', 'Ŋ', 'O', 'Ɔ', 'P', 'R', 'S', 'T', 'U', 'W', 'Y', 'Z', 'ʼ'], };
114 },
115 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
116
117
118 has 'units' => (
119 is => 'ro',
120 isa => HashRef[HashRef[HashRef[Str]]],
121 init_arg => undef,
122 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
123 0 'short' => {
124 # Long Unit Identifier
125 'duration-day' => {
126 'name' => q(d),
127 },
128 # Core Unit Identifier
129 'day' => {
130 'name' => q(d),
131 },
132 # Long Unit Identifier
133 'duration-hour' => {
134 'name' => q(h),
135 },
136 # Core Unit Identifier
137 'hour' => {
138 'name' => q(h),
139 },
140 # Long Unit Identifier
141 'duration-month' => {
142 'name' => q(m),
143 },
144 # Core Unit Identifier
145 'month' => {
146 'name' => q(m),
147 },
148 # Long Unit Identifier
149 'duration-second' => {
150 'name' => q(s),
151 },
152 # Core Unit Identifier
153 'second' => {
154 'name' => q(s),
155 },
156 },
157 } }
158 1 );
159
160 has 'yesstr' => (
161 is => 'ro',
162 isa => RegexpRef,
163 init_arg => undef,
164 0 ▶ default => sub { qr'^(?i:èè|yes|y)$' }
Subroutine __ANON__: not called CC=1 SCAR=6.9
165 1 );
166
167 has 'nostr' => (
168 is => 'ro',
169 isa => RegexpRef,
170 init_arg => undef,
171 0 ▶ default => sub { qr'^(?i:ideg.|no|n)$' }
Subroutine __ANON__: not called CC=1 SCAR=6.9
172 1 );
173
174 has 'currencies' => (
175 is => 'ro',
176 isa => HashRef,
177 init_arg => undef,
178 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
179 0 'XAF' => {
180 display_name => {
181 'currency' => q(shirè),
182 },
183 },
184 'XXX' => {
185 display_name => {
186 'currency' => q(iku ikap mɔʼɔ),
187 },
188 },
189 } },
190 1 );
191
192
193 has 'calendar_months' => (
194 is => 'ro',
195 isa => HashRef,
196 init_arg => undef,
197 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
198 0 'gregorian' => {
199 'format' => {
200 abbreviated => {
201 nonleap => [
202 'mbegtug',
203 'imeg àbùbì',
204 'imeg mbəŋchubi',
205 'iməg ngwə̀t',
206 'iməg fog',
207 'iməg ichiibɔd',
208 'iməg àdùmbə̀ŋ',
209 'iməg ichika',
210 'iməg kud',
211 'iməg tèsiʼe',
212 'iməg zò',
213 'iməg krizmed'
214 ],
215 leap => [
216
217 ],
218 },
219 wide => {
220 nonleap => [
221 'iməg mbegtug',
222 'imeg àbùbì',
223 'imeg mbəŋchubi',
224 'iməg ngwə̀t',
225 'iməg fog',
226 'iməg ichiibɔd',
227 'iməg àdùmbə̀ŋ',
228 'iməg ichika',
229 'iməg kud',
230 'iməg tèsiʼe',
231 'iməg zò',
232 'iməg krizmed'
233 ],
234 leap => [
235
236 ],
237 },
238 },
239 'stand-alone' => {
240 narrow => {
241 nonleap => [
242 'M1',
243 'A2',
244 'M3',
245 'N4',
246 'F5',
247 'I6',
248 'A7',
249 'I8',
250 'K9',
251 '10',
252 '11',
253 '12'
254 ],
255 leap => [
256
257 ],
258 },
259 },
260 },
261 } },
262 1 );
263
264 has 'calendar_days' => (
265 is => 'ro',
266 isa => HashRef,
267 init_arg => undef,
268 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
269 0 'gregorian' => {
270 'format' => {
271 short => {
272 mon => 'A2',
273 tue => 'A3',
274 wed => 'A4',
275 thu => 'A5',
276 fri => 'A6',
277 sat => 'A7',
278 sun => 'A1'
279 },
280 wide => {
281 mon => 'Aneg 2',
282 tue => 'Aneg 3',
283 wed => 'Aneg 4',
284 thu => 'Aneg 5',
285 fri => 'Aneg 6',
286 sat => 'Aneg 7',
287 sun => 'Aneg 1'
288 },
289 },
290 'stand-alone' => {
291 narrow => {
292 mon => '2',
293 tue => '3',
294 wed => '4',
295 thu => '5',
296 fri => '6',
297 sat => '7',
298 sun => '1'
299 },
300 },
301 },
302 } },
303 1 );
304
305 has 'eras' => (
306 is => 'ro',
307 isa => HashRef,
308 init_arg => undef,
309 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
310 0 'generic' => {
311 },
312 'gregorian' => {
313 },
314 } },
315 1 );
316
317 has 'date_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 'full' => q{EEEE, G y MMMM dd},
324 'long' => q{G y MMMM d},
325 'medium' => q{G y MMM d},
326 'short' => q{GGGGG y-MM-dd},
327 },
328 'gregorian' => {
329 'full' => q{EEEE, y MMMM dd},
330 'long' => q{y MMMM d},
331 'medium' => q{y MMM d},
332 'short' => q{y-MM-dd},
333 },
334 } },
335 1 );
336
337 has 'time_formats' => (
338 is => 'ro',
339 isa => HashRef,
340 init_arg => undef,
341 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
342 0 'generic' => {
343 },
344 'gregorian' => {
345 'full' => q{HH:mm:ss zzzz},
346 'long' => q{HH:mm:ss z},
347 'medium' => q{HH:mm:ss},
348 'short' => q{HH:mm},
349 },
350 } },
351 1 );
352
353 has 'datetime_formats' => (
354 is => 'ro',
355 isa => HashRef,
356 init_arg => undef,
357 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
358 0 'generic' => {
359 'full' => q{{1} {0}},
360 'long' => q{{1} {0}},
361 'medium' => q{{1} {0}},
362 'short' => q{{1} {0}},
363 },
364 'gregorian' => {
365 'full' => q{{1} {0}},
366 'long' => q{{1} {0}},
367 'medium' => q{{1} {0}},
368 'short' => q{{1} {0}},
369 },
370 } },
371 1 );
372
373 has 'datetime_formats_available_formats' => (
374 is => 'ro',
375 isa => HashRef,
376 init_arg => undef,
377 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
378 0 } },
379 1 );
380
381 has 'datetime_formats_append_item' => (
382 is => 'ro',
383 isa => HashRef,
384 init_arg => undef,
385 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
386 0 } },
387 1 );
388
389 has 'datetime_formats_interval' => (
390 is => 'ro',
391 isa => HashRef,
392 init_arg => undef,
393 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
394 0 } },
395 1 );
396
397 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
398
399 1 1;
400
401 # vim: tabstop=4
↑ Summary Mgo/Latn.pm »