Es/Latn/Ve.pm

filter: Statementstmt 56.0% 51 / 91 Branchbran 0.0% 0 / 26 Conditioncond 0.0% 0 / 26 MC/DCmcdc 0.0% 0 / 17 Subroutinesub 32.2% 10 / 31 Podpod n/a totaltotal 31.9% 61 / 191 CC 24 SCAR 54.6
CC
24
Cov
36%
__ANON__
552.0
__ANON__
6.0
__ANON__
2.0
CRAP 236.2
« Es/Latn/Py.pm ↑ Summary Es/Latn/Gq.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Es::Latn::Ve - Package for language Spanish
6
7 =cut
8
9 package Locale::CLDR::Locales::Es::Latn::Ve;
10 # This file auto generated from Data\common\main\es_VE.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_symbols' => (
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 'decimal' => q(,),
79 'group' => q(.),
80 },
81 } }
82 1 );
83
84 has 'number_currency_formats' => (
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 'latn' => {
90 'pattern' => {
91 'default' => {
92 'standard' => {
93 'negative' => '¤-#,##0.00',
94 'positive' => '¤#,##0.00',
95 },
96 },
97 },
98 },
99 } },
100 1 );
101
102 has 'currencies' => (
103 is => 'ro',
104 isa => HashRef,
105 init_arg => undef,
106 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
107 0 'VEF' => {
108 symbol => 'Bs.',
109 },
110 'VES' => {
111 symbol => 'Bs.S',
112 display_name => {
113 'currency' => q(bolívar soberano),
114 'one' => q(bolívar soberano),
115 'other' => q(bolívares soberanos),
116 },
117 },
118 } },
119 1 );
120
121
122 has 'calendar_months' => (
123 is => 'ro',
124 isa => HashRef,
125 init_arg => undef,
126 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
127 0 'gregorian' => {
128 'format' => {
129 abbreviated => {
130 nonleap => [
131 'ene.',
132 'feb.',
133 'mar.',
134 'abr.',
135 'may.',
136 'jun.',
137 'jul.',
138 'ago.',
139 'sept.',
140 'oct.',
141 'nov.',
142 'dic.'
143 ],
144 leap => [
145
146 ],
147 },
148 },
149 },
150 } },
151 1 );
152
153 has 'calendar_days' => (
154 is => 'ro',
155 isa => HashRef,
156 init_arg => undef,
157 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
158 0 'gregorian' => {
159 'format' => {
160 short => {
161 mon => 'Lu',
162 tue => 'Ma',
163 wed => 'Mi',
164 thu => 'Ju',
165 fri => 'Vi',
166 sat => 'Sa',
167 sun => 'Do'
168 },
169 },
170 },
171 } },
172 1 );
173
174 has 'calendar_quarters' => (
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 'gregorian' => {
180 'format' => {
181 wide => {0 => '1er trimestre',
182 1 => '2do trimestre',
183 2 => '3er trimestre',
184 3 => '4to trimestre'
185 },
186 },
187 'stand-alone' => {
188 wide => {0 => '1er trimestre',
189 1 => '2do trimestre',
190 2 => '3er trimestre',
191 3 => '4to trimestre'
192 },
193 },
194 },
195 } },
196 1 );
197
198 has 'day_period_data' => (
199 is => 'ro',
200 isa => CodeRef,
201 init_arg => undef,
202 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=23 SCAR=63.1
203 # Time in hhmm format
204 0 my ($self, $type, $time, $day_period_type) = @_;
205 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
206 SWITCH:
207 0 for ($type) {
208 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
209 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
210 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
211 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
212 && $time < 2000;
213 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
214 && $time < 600;
215 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
216 && $time < 1200;
217 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
218 && $time < 2400;
219 }
220 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
221 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
222 && $time < 2000;
223 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
224 && $time < 600;
225 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
226 && $time < 1200;
227 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
228 && $time < 2400;
229 }
230 0 last SWITCH;
231 }
232 }
233 0 } },
234 1 );
235
236 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
237 0 my ($orig, $self) = @_;
238 0 return $self->$orig;
239 1 };
240
241 has 'day_periods' => (
242 is => 'ro',
243 isa => HashRef,
244 init_arg => undef,
245 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
246 0 'gregorian' => {
247 'format' => {
248 'abbreviated' => {
249 'am' => q{a. m.},
250 'pm' => q{p. m.},
251 },
252 'wide' => {
253 'am' => q{a. m.},
254 'pm' => q{p. m.},
255 },
256 },
257 'stand-alone' => {
258 'abbreviated' => {
259 'am' => q{a. m.},
260 'pm' => q{p. m.},
261 },
262 'narrow' => {
263 'am' => q{a. m.},
264 'noon' => q{m.},
265 'pm' => q{p. m.},
266 },
267 'wide' => {
268 'am' => q{a. m.},
269 'pm' => q{p. m.},
270 },
271 },
272 },
273 } },
274 1 );
275
276 has 'eras' => (
277 is => 'ro',
278 isa => HashRef,
279 init_arg => undef,
280 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
281 0 'gregorian' => {
282 },
283 } },
284 1 );
285
286 has 'date_formats' => (
287 is => 'ro',
288 isa => HashRef,
289 init_arg => undef,
290 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
291 0 'gregorian' => {
292 },
293 } },
294 1 );
295
296 has 'time_formats' => (
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 'gregorian' => {
302 },
303 } },
304 1 );
305
306 has 'datetime_formats' => (
307 is => 'ro',
308 isa => HashRef,
309 init_arg => undef,
310 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
311 0 'gregorian' => {
312 },
313 } },
314 1 );
315
316 has 'datetime_formats_available_formats' => (
317 is => 'ro',
318 isa => HashRef,
319 init_arg => undef,
320 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
321 0 } },
322 1 );
323
324 has 'datetime_formats_append_item' => (
325 is => 'ro',
326 isa => HashRef,
327 init_arg => undef,
328 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
329 0 } },
330 1 );
331
332 has 'datetime_formats_interval' => (
333 is => 'ro',
334 isa => HashRef,
335 init_arg => undef,
336 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
337 0 } },
338 1 );
339
340 has 'time_zone_names' => (
341 is => 'ro',
342 isa => HashRef,
343 init_arg => undef,
344 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
345 0 'Venezuela' => {
346 short => {
347 'standard' => q#VET#,
348 },
349 },
350 } }
351 1 );
352 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
353
354 1 1;
355
356 # vim: tabstop=4
« Es/Latn/Py.pm ↑ Summary Es/Latn/Gq.pm »