Es/Latn/Bo.pm

filter: Statementstmt 56.6% 47 / 83 Branchbran 0.0% 0 / 26 Conditioncond 0.0% 0 / 26 MC/DCmcdc 0.0% 0 / 17 Subroutinesub 37.0% 10 / 27 Podpod n/a totaltotal 31.8% 57 / 179 CC 24 SCAR 55.4
CC
24
Cov
35%
__ANON__
552.0
__ANON__
6.0
__ANON__
2.0
CRAP 255.0
« Es/Latn/Uy.pm ↑ Summary Es/Latn/Cr.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Es::Latn::Bo - Package for language Spanish
6
7 =cut
8
9 package Locale::CLDR::Locales::Es::Latn::Bo;
10 # This file auto generated from Data\common\main\es_BO.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 'currencies' => (
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 'BOB' => {
90 symbol => 'Bs',
91 },
92 } },
93 1 );
94
95
96 has 'day_period_data' => (
97 is => 'ro',
98 isa => CodeRef,
99 init_arg => undef,
100 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=23 SCAR=63.1
101 # Time in hhmm format
102 0 my ($self, $type, $time, $day_period_type) = @_;
103 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
104 SWITCH:
105 0 for ($type) {
106 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
107 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
108 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
109 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
110 && $time < 2000;
111 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
112 && $time < 600;
113 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
114 && $time < 1200;
115 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
116 && $time < 2400;
117 }
118 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
119 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
120 && $time < 2000;
121 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
122 && $time < 600;
123 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
124 && $time < 1200;
125 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
126 && $time < 2400;
127 }
128 0 last SWITCH;
129 }
130 }
131 0 } },
132 1 );
133
134 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
135 0 my ($orig, $self) = @_;
136 0 return $self->$orig;
137 1 };
138
139 has 'day_periods' => (
140 is => 'ro',
141 isa => HashRef,
142 init_arg => undef,
143 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
144 0 'gregorian' => {
145 'format' => {
146 'abbreviated' => {
147 'am' => q{a. m.},
148 'pm' => q{p. m.},
149 },
150 'wide' => {
151 'am' => q{a. m.},
152 'pm' => q{p. m.},
153 },
154 },
155 'stand-alone' => {
156 'abbreviated' => {
157 'am' => q{a. m.},
158 'pm' => q{p. m.},
159 },
160 'narrow' => {
161 'am' => q{a. m.},
162 'pm' => q{p. m.},
163 },
164 'wide' => {
165 'am' => q{a. m.},
166 'pm' => q{p. m.},
167 },
168 },
169 },
170 } },
171 1 );
172
173 has 'eras' => (
174 is => 'ro',
175 isa => HashRef,
176 init_arg => undef,
177 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
178 0 'gregorian' => {
179 },
180 } },
181 1 );
182
183 has 'date_formats' => (
184 is => 'ro',
185 isa => HashRef,
186 init_arg => undef,
187 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
188 0 'gregorian' => {
189 'medium' => q{d MMM 'de' y},
190 },
191 } },
192 1 );
193
194 has 'time_formats' => (
195 is => 'ro',
196 isa => HashRef,
197 init_arg => undef,
198 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
199 0 'gregorian' => {
200 },
201 } },
202 1 );
203
204 has 'datetime_formats' => (
205 is => 'ro',
206 isa => HashRef,
207 init_arg => undef,
208 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
209 0 'gregorian' => {
210 },
211 } },
212 1 );
213
214 has 'datetime_formats_available_formats' => (
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 } },
220 1 );
221
222 has 'datetime_formats_append_item' => (
223 is => 'ro',
224 isa => HashRef,
225 init_arg => undef,
226 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
227 0 } },
228 1 );
229
230 has 'datetime_formats_interval' => (
231 is => 'ro',
232 isa => HashRef,
233 init_arg => undef,
234 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
235 0 } },
236 1 );
237
238 has 'time_zone_names' => (
239 is => 'ro',
240 isa => HashRef,
241 init_arg => undef,
242 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
243 0 'Bolivia' => {
244 short => {
245 'standard' => q#BOT#,
246 },
247 },
248 } }
249 1 );
250 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
251
252 1 1;
253
254 # vim: tabstop=4
« Es/Latn/Uy.pm ↑ Summary Es/Latn/Cr.pm »