De/Latn/At.pm

filter: Statementstmt 55.3% 52 / 94 Branchbran 2.7% 1 / 36 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 36.6% 11 / 30 Podpod n/a totaltotal 28.7% 64 / 223 CC 32 SCAR 62.2
CC
32
Cov
32%
__ANON__
992.0
__ANON__
6.0
__ANON__
2.0
CRAP 505.1
« De/Latn/Li.pm ↑ Summary De/Latn/Ch.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::De::Latn::At - Package for language German
6
7 =cut
8
9 package Locale::CLDR::Locales::De::Latn::At;
10 # This file auto generated from Data\common\main\de_AT.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::De::Latn');
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 'ar_001' => 'modernes Hocharabisch',
35 'car' => 'karibische Sprache',
36 'chb' => 'Chibcha-Sprache',
37 'del' => 'Delawarisch',
38 'fur' => 'Friulanisch',
39 'ha' => 'Hausa',
40 'haw' => 'Hawaiianisch',
41 'hmn' => 'Miao-Sprache',
42 'mus' => 'Muskogee-Sprache',
43 'niu' => 'Niueanisch',
44 'pag' => 'Pangasinensisch',
45 'sh' => 'Serbokroatisch',
46 'szl' => 'Schlesisch',
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 'SJ' => 'Svalbard und Jan Mayen',
64
65 }
66 },
67 1 );
68
69 has 'display_name_measurement_system' => (
70 is => 'ro',
71 isa => HashRef[Str],
72 init_arg => undef,
73 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
74 {
75 0 'metric' => q{Internationales Maßsystem (SI)},
76 'UK' => q{Englisches Maßsystem},
77 'US' => q{Angloamerikanisches Maßsystem},
78
79 }
80 },
81 1 );
82
83 has 'characters' => (
84 is => 'ro',
85 isa => HashRef,
86 init_arg => undef,
87 default => $^V ge v5.18.0
88 ? eval <<'EOT'
89 sub {
90 no warnings 'experimental::regex_sets';
91 return {
92 index => ['AÄ', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'OÖ', 'P', 'Q', 'R', 'S', 'T', 'UÜ', 'V', 'W', 'X', 'Y', 'Z'],
93 numbers => qr{[  \- ‑ , % ‰ + 0 1 2 3 4 5 6 7 8 9]},
94 };
95 },
96 EOT
97 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
98 0 return { index => ['AÄ', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'OÖ', 'P', 'Q', 'R', 'S', 'T', 'UÜ', 'V', 'W', 'X', 'Y', 'Z'], };
99 },
100 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
101
102
103 has 'number_symbols' => (
104 is => 'ro',
105 isa => HashRef,
106 init_arg => undef,
107 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
108 0 'latn' => {
109 'currencyGroup' => q(.),
110 'group' => q( ),
111 },
112 } }
113 1 );
114
115 has 'number_currency_formats' => (
116 is => 'ro',
117 isa => HashRef,
118 init_arg => undef,
119 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
120 0 'latn' => {
121 'pattern' => {
122 'default' => {
123 'standard' => {
124 'positive' => '¤ #,##0.00',
125 },
126 },
127 },
128 },
129 } },
130 1 );
131
132 has 'calendar_months' => (
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 'gregorian' => {
138 'format' => {
139 abbreviated => {
140 nonleap => [
141 'Jän.',
142 'Feb.',
143 'März',
144 'Apr.',
145 'Mai',
146 'Juni',
147 'Juli',
148 'Aug.',
149 'Sep.',
150 'Okt.',
151 'Nov.',
152 'Dez.'
153 ],
154 leap => [
155
156 ],
157 },
158 wide => {
159 nonleap => [
160 'Jänner',
161 'Februar',
162 'März',
163 'April',
164 'Mai',
165 'Juni',
166 'Juli',
167 'August',
168 'September',
169 'Oktober',
170 'November',
171 'Dezember'
172 ],
173 leap => [
174
175 ],
176 },
177 },
178 'stand-alone' => {
179 abbreviated => {
180 nonleap => [
181 'Jän',
182 'Feb',
183 'Mär',
184 'Apr',
185 'Mai',
186 'Jun',
187 'Jul',
188 'Aug',
189 'Sep',
190 'Okt',
191 'Nov',
192 'Dez'
193 ],
194 leap => [
195
196 ],
197 },
198 },
199 },
200 } },
201 1 );
202
203 has 'day_period_data' => (
204 is => 'ro',
205 isa => CodeRef,
206 init_arg => undef,
207 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=31 SCAR=69.0
208 # Time in hhmm format
209 0 my ($self, $type, $time, $day_period_type) = @_;
210 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
211 SWITCH:
212 0 for ($type) {
213 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
214 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
215 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
216 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
217 && $time < 1300;
218 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1800
$time >= 1300 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1800
ABresult
0X0
100
111
219 && $time < 1800;
220 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2400
$time >= 1800 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2400
ABresult
0X0
100
111
221 && $time < 2400;
222 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 1000 0 0 0
Condition0%0/3
$time >= 500 and $time < 1000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 1000
$time >= 500 $time < 1000
Truth table0%0/3
A and B
A= $time >= 500B= $time < 1000
ABresult
0X0
100
111
223 && $time < 1000;
224 0 ▶ return 'morning2' if $time >= 1000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1000 and $time < 1200 0 0 0
Condition0%0/3
$time >= 1000 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1000 and $time < 1200
$time >= 1000 $time < 1200
Truth table0%0/3
A and B
A= $time >= 1000B= $time < 1200
ABresult
0X0
100
111
225 && $time < 1200;
226 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
227 && $time < 500;
228 }
229 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
230 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
231 && $time < 1300;
232 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1800
$time >= 1300 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1800
ABresult
0X0
100
111
233 && $time < 1800;
234 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2400
$time >= 1800 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2400
ABresult
0X0
100
111
235 && $time < 2400;
236 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 1000 0 0 0
Condition0%0/3
$time >= 500 and $time < 1000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 1000
$time >= 500 $time < 1000
Truth table0%0/3
A and B
A= $time >= 500B= $time < 1000
ABresult
0X0
100
111
237 && $time < 1000;
238 0 ▶ return 'morning2' if $time >= 1000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1000 and $time < 1200 0 0 0
Condition0%0/3
$time >= 1000 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1000 and $time < 1200
$time >= 1000 $time < 1200
Truth table0%0/3
A and B
A= $time >= 1000B= $time < 1200
ABresult
0X0
100
111
239 && $time < 1200;
240 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
241 && $time < 500;
242 }
243 0 last SWITCH;
244 }
245 }
246 0 } },
247 1 );
248
249 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
250 0 my ($orig, $self) = @_;
251 0 return $self->$orig;
252 1 };
253
254 has 'day_periods' => (
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 'gregorian' => {
260 'stand-alone' => {
261 'narrow' => {
262 'am' => q{vm.},
263 'pm' => q{nm.},
264 },
265 },
266 },
267 } },
268 1 );
269
270 has 'eras' => (
271 is => 'ro',
272 isa => HashRef,
273 init_arg => undef,
274 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
275 0 'gregorian' => {
276 },
277 } },
278 1 );
279
280 has 'date_formats' => (
281 is => 'ro',
282 isa => HashRef,
283 init_arg => undef,
284 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
285 0 'gregorian' => {
286 },
287 } },
288 1 );
289
290 has 'time_formats' => (
291 is => 'ro',
292 isa => HashRef,
293 init_arg => undef,
294 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
295 0 'gregorian' => {
296 },
297 } },
298 1 );
299
300 has 'datetime_formats' => (
301 is => 'ro',
302 isa => HashRef,
303 init_arg => undef,
304 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
305 0 'gregorian' => {
306 },
307 } },
308 1 );
309
310 has 'datetime_formats_available_formats' => (
311 is => 'ro',
312 isa => HashRef,
313 init_arg => undef,
314 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
315 0 } },
316 1 );
317
318 has 'datetime_formats_append_item' => (
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 } },
324 1 );
325
326 has 'datetime_formats_interval' => (
327 is => 'ro',
328 isa => HashRef,
329 init_arg => undef,
330 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
331 0 } },
332 1 );
333
334 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
335
336 1 1;
337
338 # vim: tabstop=4
« De/Latn/Li.pm ↑ Summary De/Latn/Ch.pm »