Es/Latn/Pa.pm

filter: Statementstmt 48.9% 46 / 94 Branchbran 0.0% 0 / 50 Conditioncond 0.0% 0 / 50 MC/DCmcdc 0.0% 0 / 33 Subroutinesub 38.4% 10 / 26 Podpod n/a totaltotal 22.1% 56 / 253 CC 44 SCAR 70.7
CC
44
Cov
24%
__ANON__
1892.0
__ANON__
6.0
__ANON__
2.0
CRAP 1179.8
« Es/Latn/Gt.pm ↑ Summary Es/Latn/Pr.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Es::Latn::Pa - Package for language Spanish
6
7 =cut
8
9 package Locale::CLDR::Locales::Es::Latn::Pa;
10 # This file auto generated from Data\common\main\es_PA.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 'currencies' => (
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 'PAB' => {
78 symbol => 'B/.',
79 },
80 } },
81 1 );
82
83
84 has 'calendar_quarters' => (
85 is => 'ro',
86 isa => HashRef,
87 init_arg => undef,
88 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
89 0 'gregorian' => {
90 'format' => {
91 wide => {0 => '1er. trimestre',
92 1 => '2do. trimestre',
93 2 => '3er. trimestre',
94 3 => '4.º trimestre'
95 },
96 },
97 'stand-alone' => {
98 wide => {0 => '1er. trimestre',
99 1 => '2do. trimestre',
100 2 => '3er. trimestre',
101 3 => '4.º trimestre'
102 },
103 },
104 },
105 } },
106 1 );
107
108 has 'day_period_data' => (
109 is => 'ro',
110 isa => CodeRef,
111 init_arg => undef,
112 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=43 SCAR=75.5
113 # Time in hhmm format
114 0 my ($self, $type, $time, $day_period_type) = @_;
115 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
116 SWITCH:
117 0 for ($type) {
118 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
119 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
120 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
121 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
122 && $time < 2000;
123 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
124 && $time < 600;
125 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
126 && $time < 1200;
127 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
128 && $time < 2400;
129 }
130 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
131 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
132 && $time < 2000;
133 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
134 && $time < 600;
135 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
136 && $time < 1200;
137 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
138 && $time < 2400;
139 }
140 0 last SWITCH;
141 }
142 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
143 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
144 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
145 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
146 && $time < 2000;
147 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
148 && $time < 600;
149 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
150 && $time < 1200;
151 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
152 && $time < 2400;
153 }
154 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
155 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
156 && $time < 2000;
157 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
158 && $time < 600;
159 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
160 && $time < 1200;
161 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
162 && $time < 2400;
163 }
164 0 last SWITCH;
165 }
166 }
167 0 } },
168 1 );
169
170 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
171 0 my ($orig, $self) = @_;
172 0 return $self->$orig;
173 1 };
174
175 has 'day_periods' => (
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 'gregorian' => {
181 'format' => {
182 'abbreviated' => {
183 'am' => q{a. m.},
184 'evening1' => q{de la tarde},
185 'morning1' => q{de la madrugada},
186 'morning2' => q{de la mañana},
187 'night1' => q{de la noche},
188 'noon' => q{mediodía},
189 'pm' => q{p. m.},
190 },
191 'wide' => {
192 'am' => q{a. m.},
193 'pm' => q{p. m.},
194 },
195 },
196 'stand-alone' => {
197 'abbreviated' => {
198 'am' => q{a. m.},
199 'pm' => q{p. m.},
200 },
201 'narrow' => {
202 'am' => q{a. m.},
203 'pm' => q{p. m.},
204 },
205 'wide' => {
206 'am' => q{a. m.},
207 'pm' => q{p. m.},
208 },
209 },
210 },
211 } },
212 1 );
213
214 has 'eras' => (
215 is => 'ro',
216 isa => HashRef,
217 init_arg => undef,
218 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
219 0 'generic' => {
220 },
221 'gregorian' => {
222 },
223 } },
224 1 );
225
226 has 'date_formats' => (
227 is => 'ro',
228 isa => HashRef,
229 init_arg => undef,
230 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
231 0 'generic' => {
232 'medium' => q{MM/dd/y G},
233 'short' => q{MM/dd/yy GGGGG},
234 },
235 'gregorian' => {
236 'medium' => q{MM/dd/y},
237 'short' => q{MM/dd/yy},
238 },
239 } },
240 1 );
241
242 has 'time_formats' => (
243 is => 'ro',
244 isa => HashRef,
245 init_arg => undef,
246 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
247 0 'generic' => {
248 },
249 'gregorian' => {
250 },
251 } },
252 1 );
253
254 has 'datetime_formats' => (
255 is => 'ro',
256 isa => HashRef,
257 init_arg => undef,
258 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
259 0 'generic' => {
260 },
261 'gregorian' => {
262 },
263 } },
264 1 );
265
266 has 'datetime_formats_available_formats' => (
267 is => 'ro',
268 isa => HashRef,
269 init_arg => undef,
270 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
271 0 'generic' => {
272 MEd => q{E, MM/dd},
273 Md => q{MM/dd},
274 yM => q{MM/y},
275 yMEd => q{E MM/dd/y},
276 yMd => q{MM/dd/y},
277 },
278 'gregorian' => {
279 MEd => q{E, MM/dd},
280 Md => q{MM/dd},
281 yM => q{MM/y},
282 yMEd => q{E MM/dd/y},
283 yMd => q{MM/dd/y},
284 },
285 } },
286 1 );
287
288 has 'datetime_formats_append_item' => (
289 is => 'ro',
290 isa => HashRef,
291 init_arg => undef,
292 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
293 0 } },
294 1 );
295
296 has 'datetime_formats_interval' => (
297 is => 'ro',
298 isa => HashRef,
299 init_arg => undef,
300 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
301 0 'generic' => {
302 Hm => {
303 H => q{HH:mm–HH:mm},
304 m => q{HH:mm–HH:mm},
305 },
306 Hmv => {
307 H => q{HH:mm–HH:mm v},
308 m => q{HH:mm–HH:mm v},
309 },
310 MMMEd => {
311 M => q{E d 'de' MMM 'al' E d 'de' MMM},
312 d => q{E d 'al' E d 'de' MMM},
313 },
314 MMMd => {
315 M => q{d 'de' MMM 'al' d 'de' MMM},
316 },
317 fallback => '{0} a el {1}',
318 hm => {
319 h => q{h:mm–h:mm a},
320 m => q{h:mm–h:mm a},
321 },
322 hmv => {
323 h => q{h:mm–h:mm a v},
324 m => q{h:mm–h:mm a v},
325 },
326 y => {
327 y => q{y–y},
328 },
329 yMMM => {
330 M => q{MMM–MMM 'de' y},
331 y => q{MMM 'de' y 'a' MMM 'de' y},
332 },
333 yMMMEd => {
334 M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
335 d => q{E d 'al' E d 'de' MMM 'de' y},
336 y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
337 },
338 yMMMd => {
339 M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
340 d => q{d–d 'de' MMM 'de' y},
341 y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
342 },
343 },
344 'gregorian' => {
345 MMMEd => {
346 M => q{E d 'de' MMM 'al' E d 'de' MMM},
347 d => q{E d 'al' E d 'de' MMM},
348 },
349 MMMd => {
350 M => q{d 'de' MMM 'al' d 'de' MMM},
351 },
352 yM => {
353 M => q{MM/y – MM/y},
354 y => q{MM/y – MM/y},
355 },
356 yMMM => {
357 y => q{MMM 'de' y 'a' MMM 'de' y},
358 },
359 yMMMEd => {
360 M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
361 d => q{E d 'al' E d 'de' MMM 'de' y},
362 y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
363 },
364 yMMMd => {
365 M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
366 y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
367 },
368 },
369 } },
370 1 );
371
372 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
373
374 1 1;
375
376 # vim: tabstop=4
« Es/Latn/Gt.pm ↑ Summary Es/Latn/Pr.pm »