Es/Latn/Pe.pm

filter: Statementstmt 48.9% 48 / 98 Branchbran 0.0% 0 / 50 Conditioncond 0.0% 0 / 50 MC/DCmcdc 0.0% 0 / 33 Subroutinesub 35.7% 10 / 28 Podpod n/a totaltotal 22.3% 58 / 259 CC 44 SCAR 70.4
CC
44
Cov
24%
__ANON__
1892.0
__ANON__
6.0
__ANON__
2.0
CRAP 1146.6
« Es/Latn/Ec.pm ↑ Summary Es/Latn/Ar.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Es::Latn::Pe - Package for language Spanish
6
7 =cut
8
9 package Locale::CLDR::Locales::Es::Latn::Pe;
10 # This file auto generated from Data\common\main\es_PE.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::Es::Latn::419');
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 'ace' => 'acehnés',
35 'arp' => 'arapaho',
36 'bho' => 'bhojpuri',
37 'eu' => 'euskera',
38 'grc' => 'griego antiguo',
39 'nso' => 'sotho septentrional',
40 'pa' => 'punyabí',
41 'ss' => 'siswati',
42 'sw' => 'suajili',
43 'sw_CD' => 'suajili del Congo',
44 'tn' => 'setswana',
45 'wo' => 'wolof',
46 'zgh' => 'tamazight marroquí estándar',
47
48 );
49 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
50 0 return $languages{$_[0]};
51 }
52 0 return \%languages;
53 }
54 0 },
55 1 );
56
57 has 'display_name_region' => (
58 is => 'ro',
59 isa => HashRef[Str],
60 init_arg => undef,
61 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
62 {
63 0 'BA' => 'Bosnia y Herzegovina',
64 'GB@alt=short' => 'RU',
65 'TL' => 'Timor-Leste',
66 'UM' => 'Islas menores alejadas de EE. UU.',
67
68 }
69 },
70 1 );
71
72 has 'number_currency_formats' => (
73 is => 'ro',
74 isa => HashRef,
75 init_arg => undef,
76 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
77 0 'latn' => {
78 'pattern' => {
79 'default' => {
80 'standard' => {
81 'positive' => '¤ #,##0.00',
82 },
83 },
84 },
85 },
86 } },
87 1 );
88
89 has 'currencies' => (
90 is => 'ro',
91 isa => HashRef,
92 init_arg => undef,
93 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
94 0 'PEN' => {
95 symbol => 'S/',
96 },
97 } },
98 1 );
99
100
101 has 'calendar_months' => (
102 is => 'ro',
103 isa => HashRef,
104 init_arg => undef,
105 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
106 0 'gregorian' => {
107 'format' => {
108 abbreviated => {
109 nonleap => [
110 'ene.',
111 'feb.',
112 'mar.',
113 'abr.',
114 'may.',
115 'jun.',
116 'jul.',
117 'ago.',
118 'set.',
119 'oct.',
120 'nov.',
121 'dic.'
122 ],
123 leap => [
124
125 ],
126 },
127 wide => {
128 nonleap => [
129 'enero',
130 'febrero',
131 'marzo',
132 'abril',
133 'mayo',
134 'junio',
135 'julio',
136 'agosto',
137 'setiembre',
138 'octubre',
139 'noviembre',
140 'diciembre'
141 ],
142 leap => [
143
144 ],
145 },
146 },
147 'stand-alone' => {
148 abbreviated => {
149 nonleap => [
150 'Ene.',
151 'Feb.',
152 'Mar.',
153 'Abr.',
154 'May.',
155 'Jun.',
156 'Jul.',
157 'Ago.',
158 'Set.',
159 'Oct.',
160 'Nov.',
161 'Dic.'
162 ],
163 leap => [
164
165 ],
166 },
167 wide => {
168 nonleap => [
169 'Enero',
170 'Febrero',
171 'Marzo',
172 'Abril',
173 'Mayo',
174 'Junio',
175 'Julio',
176 'Agosto',
177 'Setiembre',
178 'Octubre',
179 'Noviembre',
180 'Diciembre'
181 ],
182 leap => [
183
184 ],
185 },
186 },
187 },
188 } },
189 1 );
190
191 has 'day_period_data' => (
192 is => 'ro',
193 isa => CodeRef,
194 init_arg => undef,
195 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=43 SCAR=75.5
196 # Time in hhmm format
197 0 my ($self, $type, $time, $day_period_type) = @_;
198 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
199 SWITCH:
200 0 for ($type) {
201 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
202 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
203 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
204 0 ▶ return 'evening1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 2000 0 0 0
Condition0%0/3
$time >= 1200 and $time < 2000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200 $time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
ABresult
0X0
100
111
205 && $time < 2000;
206 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
207 && $time < 600;
208 0 ▶ return 'morning2' 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
209 && $time < 1200;
210 0 ▶ return 'night1' if $time >= 2000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2000 and $time < 2400 0 0 0
Condition0%0/3
$time >= 2000 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000 $time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
ABresult
0X0
100
111
211 && $time < 2400;
212 }
213 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
214 0 ▶ return 'evening1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 2000 0 0 0
Condition0%0/3
$time >= 1200 and $time < 2000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200 $time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
ABresult
0X0
100
111
215 && $time < 2000;
216 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
217 && $time < 600;
218 0 ▶ return 'morning2' 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
219 && $time < 1200;
220 0 ▶ return 'night1' if $time >= 2000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2000 and $time < 2400 0 0 0
Condition0%0/3
$time >= 2000 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000 $time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
ABresult
0X0
100
111
221 && $time < 2400;
222 }
223 0 last SWITCH;
224 }
225 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
226 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
227 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
228 0 ▶ return 'evening1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 2000 0 0 0
Condition0%0/3
$time >= 1200 and $time < 2000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200 $time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
ABresult
0X0
100
111
229 && $time < 2000;
230 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
231 && $time < 600;
232 0 ▶ return 'morning2' 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
233 && $time < 1200;
234 0 ▶ return 'night1' if $time >= 2000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2000 and $time < 2400 0 0 0
Condition0%0/3
$time >= 2000 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000 $time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
ABresult
0X0
100
111
235 && $time < 2400;
236 }
237 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
238 0 ▶ return 'evening1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 2000 0 0 0
Condition0%0/3
$time >= 1200 and $time < 2000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200 $time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
ABresult
0X0
100
111
239 && $time < 2000;
240 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
241 && $time < 600;
242 0 ▶ return 'morning2' 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
243 && $time < 1200;
244 0 ▶ return 'night1' if $time >= 2000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2000 and $time < 2400 0 0 0
Condition0%0/3
$time >= 2000 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000 $time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
ABresult
0X0
100
111
245 && $time < 2400;
246 }
247 0 last SWITCH;
248 }
249 }
250 0 } },
251 1 );
252
253 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
254 0 my ($orig, $self) = @_;
255 0 return $self->$orig;
256 1 };
257
258 has 'day_periods' => (
259 is => 'ro',
260 isa => HashRef,
261 init_arg => undef,
262 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
263 0 'gregorian' => {
264 'format' => {
265 'abbreviated' => {
266 'am' => q{a. m.},
267 'pm' => q{p. m.},
268 },
269 'wide' => {
270 'am' => q{a. m.},
271 'pm' => q{p. m.},
272 },
273 },
274 'stand-alone' => {
275 'abbreviated' => {
276 'am' => q{a. m.},
277 'pm' => q{p. m.},
278 },
279 'narrow' => {
280 'am' => q{a. m.},
281 'pm' => q{p. m.},
282 },
283 'wide' => {
284 'am' => q{a. m.},
285 'pm' => q{p. m.},
286 },
287 },
288 },
289 } },
290 1 );
291
292 has 'eras' => (
293 is => 'ro',
294 isa => HashRef,
295 init_arg => undef,
296 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
297 0 'generic' => {
298 },
299 'gregorian' => {
300 },
301 } },
302 1 );
303
304 has 'date_formats' => (
305 is => 'ro',
306 isa => HashRef,
307 init_arg => undef,
308 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
309 0 'generic' => {
310 'short' => q{d/MM/yy GGGGG},
311 },
312 'gregorian' => {
313 'short' => q{d/MM/yy},
314 },
315 } },
316 1 );
317
318 has 'time_formats' => (
319 is => 'ro',
320 isa => HashRef,
321 init_arg => undef,
322 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
323 0 'generic' => {
324 },
325 'gregorian' => {
326 },
327 } },
328 1 );
329
330 has 'datetime_formats' => (
331 is => 'ro',
332 isa => HashRef,
333 init_arg => undef,
334 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
335 0 'generic' => {
336 },
337 'gregorian' => {
338 },
339 } },
340 1 );
341
342 has 'datetime_formats_available_formats' => (
343 is => 'ro',
344 isa => HashRef,
345 init_arg => undef,
346 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
347 0 } },
348 1 );
349
350 has 'datetime_formats_append_item' => (
351 is => 'ro',
352 isa => HashRef,
353 init_arg => undef,
354 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
355 0 } },
356 1 );
357
358 has 'datetime_formats_interval' => (
359 is => 'ro',
360 isa => HashRef,
361 init_arg => undef,
362 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
363 0 'generic' => {
364 Hm => {
365 H => q{HH:mm–HH:mm},
366 m => q{HH:mm–HH:mm},
367 },
368 Hmv => {
369 H => q{HH:mm–HH:mm v},
370 m => q{HH:mm–HH:mm v},
371 },
372 MEd => {
373 M => q{E d/MM – E d/MM},
374 d => q{E d/MM – E d/MM},
375 },
376 MMMEd => {
377 M => q{E d 'de' MMM 'al' E d 'de' MMM},
378 d => q{E d 'al' E d 'de' MMM},
379 },
380 MMMd => {
381 M => q{d 'de' MMM 'al' d 'de' MMM},
382 },
383 Md => {
384 M => q{d/MM – d/MM},
385 d => q{d/MM – d/MM},
386 },
387 fallback => '{0} a el {1}',
388 hm => {
389 h => q{h:mm–h:mm a},
390 m => q{h:mm–h:mm a},
391 },
392 hmv => {
393 h => q{h:mm–h:mm a v},
394 m => q{h:mm–h:mm a v},
395 },
396 y => {
397 y => q{y–y},
398 },
399 yM => {
400 M => q{MM/y – MM/y},
401 y => q{MM/y – MM/y},
402 },
403 yMEd => {
404 M => q{E d/MM/y – E d/MM/y},
405 d => q{E d/MM/y – E d/MM/y},
406 y => q{E d/MM/y – E d/MM/y},
407 },
408 yMMM => {
409 M => q{MMM–MMM 'de' y},
410 y => q{MMM 'de' y 'a' MMM 'de' y},
411 },
412 yMMMEd => {
413 M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
414 d => q{E d 'al' E d 'de' MMM 'de' y},
415 y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
416 },
417 yMMMd => {
418 M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
419 d => q{d–d 'de' MMM 'de' y},
420 y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
421 },
422 yMd => {
423 M => q{d/MM/y – d/MM/y},
424 d => q{d/MM/y – d/MM/y},
425 y => q{d/MM/y – d/MM/y},
426 },
427 },
428 'gregorian' => {
429 Hm => {
430 H => q{HH:mm–HH:mm},
431 m => q{HH:mm–HH:mm},
432 },
433 Hmv => {
434 H => q{HH:mm–HH:mm v},
435 m => q{HH:mm–HH:mm v},
436 },
437 Hv => {
438 H => q{HH–HH v},
439 },
440 MEd => {
441 M => q{E d/MM – E d/MM},
442 d => q{E d/MM – E d/MM},
443 },
444 MMMEd => {
445 M => q{E d 'de' MMM 'al' E d 'de' MMM},
446 d => q{E d 'al' E d 'de' MMM},
447 },
448 MMMd => {
449 M => q{d 'de' MMM 'al' d 'de' MMM},
450 },
451 Md => {
452 M => q{d/MM – d/MM},
453 d => q{d/MM – d/MM},
454 },
455 fallback => '{0} a el {1}',
456 hm => {
457 h => q{h:mm–h:mm a},
458 m => q{h:mm–h:mm a},
459 },
460 yM => {
461 M => q{MM/y – MM/y},
462 y => q{MM/y – MM/y},
463 },
464 yMEd => {
465 M => q{E d/MM/y – E d/MM/y},
466 d => q{E d/MM/y – E d/MM/y},
467 y => q{E d/MM/y – E d/MM/y},
468 },
469 yMMM => {
470 y => q{MMM 'de' y 'a' MMM 'de' y},
471 },
472 yMMMEd => {
473 M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
474 d => q{E d 'al' E d 'de' MMM 'de' y},
475 y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
476 },
477 yMMMd => {
478 M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
479 y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
480 },
481 yMd => {
482 M => q{d/MM/y – d/MM/y},
483 d => q{d/MM/y – d/MM/y},
484 y => q{d/MM/y – d/MM/y},
485 },
486 },
487 } },
488 1 );
489
490 has 'time_zone_names' => (
491 is => 'ro',
492 isa => HashRef,
493 init_arg => undef,
494 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
495 0 'Peru' => {
496 short => {
497 'daylight' => q#PEST#,
498 'generic' => q#PET#,
499 'standard' => q#PET#,
500 },
501 },
502 } }
503 1 );
504 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
505
506 1 1;
507
508 # vim: tabstop=4
« Es/Latn/Ec.pm ↑ Summary Es/Latn/Ar.pm »