En/Latn/Id.pm

filter: Statementstmt 47.8% 44 / 92 Branchbran 0.0% 0 / 60 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 43.4% 10 / 23 Podpod n/a totaltotal 22.6% 54 / 238 CC 45 SCAR 72.4
CC
45
Cov
23%
__ANON__
2070.0
__ANON__
2.0
__ANON__
2.0
CRAP 1390.8
« En/Latn/Dk.pm ↑ Summary En/Latn/Fi.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::En::Latn::Id - Package for language English
6
7 =cut
8
9 package Locale::CLDR::Locales::En::Latn::Id;
10 # This file auto generated from Data\common\main\en_ID.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::En::Latn::001');
27 has 'number_symbols' => (
28 is => 'ro',
29 isa => HashRef,
30 init_arg => undef,
31 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 'latn' => {
33 'decimal' => q(,),
34 'group' => q(.),
35 },
36 } }
37 1 );
38
39 has 'currencies' => (
40 is => 'ro',
41 isa => HashRef,
42 init_arg => undef,
43 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
44 0 'IDR' => {
45 symbol => 'Rp',
46 },
47 } },
48 1 );
49
50
51 has 'day_period_data' => (
52 is => 'ro',
53 isa => CodeRef,
54 init_arg => undef,
55 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=45 SCAR=76.4
56 # Time in hhmm format
57 0 my ($self, $type, $time, $day_period_type) = @_;
58 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
59 SWITCH:
60 0 for ($type) {
61 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
62 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
63 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
64 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
65 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
66 && $time < 1800;
67 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
68 && $time < 2100;
69 0 ▶ return 'morning1' 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
70 && $time < 1200;
71 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
72 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
73 }
74 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
75 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
76 && $time < 1800;
77 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
78 && $time < 2100;
79 0 ▶ return 'morning1' 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
80 && $time < 1200;
81 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
82 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
83 }
84 0 last SWITCH;
85 }
86 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
87 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
88 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
89 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
90 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
91 && $time < 1800;
92 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
93 && $time < 2100;
94 0 ▶ return 'morning1' 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
95 && $time < 1200;
96 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
97 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
98 }
99 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
100 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
101 && $time < 1800;
102 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
103 && $time < 2100;
104 0 ▶ return 'morning1' 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
105 && $time < 1200;
106 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
107 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
108 }
109 0 last SWITCH;
110 }
111 }
112 0 } },
113 1 );
114
115 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
116 0 my ($orig, $self) = @_;
117 0 return $self->$orig;
118 1 };
119
120 has 'eras' => (
121 is => 'ro',
122 isa => HashRef,
123 init_arg => undef,
124 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
125 0 'generic' => {
126 },
127 'gregorian' => {
128 },
129 } },
130 1 );
131
132 has 'date_formats' => (
133 is => 'ro',
134 isa => HashRef,
135 init_arg => undef,
136 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
137 0 'generic' => {
138 },
139 'gregorian' => {
140 },
141 } },
142 1 );
143
144 has 'time_formats' => (
145 is => 'ro',
146 isa => HashRef,
147 init_arg => undef,
148 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
149 0 'generic' => {
150 },
151 'gregorian' => {
152 'full' => q{HH.mm.ss zzzz},
153 'long' => q{HH.mm.ss z},
154 'medium' => q{HH.mm.ss},
155 'short' => q{HH.mm},
156 },
157 } },
158 1 );
159
160 has 'datetime_formats' => (
161 is => 'ro',
162 isa => HashRef,
163 init_arg => undef,
164 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
165 0 'generic' => {
166 },
167 'gregorian' => {
168 },
169 } },
170 1 );
171
172 has 'datetime_formats_available_formats' => (
173 is => 'ro',
174 isa => HashRef,
175 init_arg => undef,
176 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
177 0 'generic' => {
178 Bhm => q{h.mm B},
179 Bhms => q{h.mm.ss B},
180 EBhm => q{E h.mm B},
181 EBhms => q{E h.mm.ss B},
182 EHm => q{E HH.mm},
183 EHms => q{E HH.mm.ss},
184 Ehm => q{E h.mm a},
185 Ehms => q{E h.mm.ss a},
186 Hm => q{HH.mm},
187 Hms => q{HH.mm.ss},
188 Hmsv => q{HH.mm.ss v},
189 Hmv => q{HH.mm v},
190 hm => q{h.mm a},
191 hms => q{h.mm.ss a},
192 hmsv => q{h.mm.ss. a v},
193 hmv => q{h.mm a v},
194 ms => q{mm.ss},
195 },
196 'gregorian' => {
197 Bhm => q{h.mm B},
198 Bhms => q{h.mm.ss B},
199 EBhm => q{E h.mm B},
200 EBhms => q{E h.mm.ss B},
201 EHm => q{E HH.mm},
202 EHms => q{E HH.mm.ss},
203 Ehm => q{E h.mm a},
204 Ehms => q{E h.mm.ss a},
205 Hm => q{HH.mm},
206 Hms => q{HH.mm.ss},
207 Hmsv => q{HH.mm.ss v},
208 Hmv => q{HH.mm v},
209 hm => q{h.mm a},
210 hms => q{h.mm.ss a},
211 hmsv => q{h.mm.ss. a v},
212 hmv => q{h.mm a v},
213 ms => q{mm.ss},
214 },
215 } },
216 1 );
217
218 has 'datetime_formats_append_item' => (
219 is => 'ro',
220 isa => HashRef,
221 init_arg => undef,
222 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
223 0 } },
224 1 );
225
226 has 'datetime_formats_interval' => (
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 'gregorian' => {
232 Bhm => {
233 B => q{h.mm B – h.mm B},
234 h => q{h.mm – h.mm B},
235 m => q{h.mm – h.mm B},
236 },
237 Hm => {
238 H => q{HH.mm–HH.mm},
239 m => q{HH.mm–HH.mm},
240 },
241 Hmv => {
242 H => q{HH.mm–HH.mm v},
243 m => q{HH.mm–HH.mm v},
244 },
245 hm => {
246 a => q{h.mm a – h.mm a},
247 h => q{h.mm–h.mm a},
248 m => q{h.mm–h.mm a},
249 },
250 hmv => {
251 a => q{h.mm a – h.mm a v},
252 h => q{h.mm–h.mm a v},
253 m => q{h.mm–h.mm a v},
254 },
255 },
256 } },
257 1 );
258
259 has 'time_zone_names' => (
260 is => 'ro',
261 isa => HashRef,
262 init_arg => undef,
263 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
264 0 'Indonesia_Central' => {
265 short => {
266 'standard' => q#WITA#,
267 },
268 },
269 'Indonesia_Eastern' => {
270 short => {
271 'standard' => q#WIT#,
272 },
273 },
274 'Indonesia_Western' => {
275 short => {
276 'standard' => q#WIB#,
277 },
278 },
279 } }
280 1 );
281 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
282
283 1 1;
284
285 # vim: tabstop=4
« En/Latn/Dk.pm ↑ Summary En/Latn/Fi.pm »