De/Latn/It.pm

filter: Statementstmt 57.5% 42 / 73 Branchbran 0.0% 0 / 32 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 47.6% 10 / 21 Podpod n/a totaltotal 27.5% 52 / 189 CC 31 SCAR 64.0
CC
31
Cov
29%
__ANON__
992.0
__ANON__
2.0
__ANON__
2.0
CRAP 603.6
« De.pm ↑ Summary De/Latn/Lu.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::De::Latn::It - Package for language German
6
7 =cut
8
9 package Locale::CLDR::Locales::De::Latn::It;
10 # This file auto generated from Data\common\main\de_IT.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 'calendar_months' => (
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 'gregorian' => {
33 'format' => {
34 abbreviated => {
35 nonleap => [
36 'Jän.',
37 'Feb.',
38 'März',
39 'Apr.',
40 'Mai',
41 'Juni',
42 'Juli',
43 'Aug.',
44 'Sep.',
45 'Okt.',
46 'Nov.',
47 'Dez.'
48 ],
49 leap => [
50
51 ],
52 },
53 wide => {
54 nonleap => [
55 'Jänner',
56 'Februar',
57 'März',
58 'April',
59 'Mai',
60 'Juni',
61 'Juli',
62 'August',
63 'September',
64 'Oktober',
65 'November',
66 'Dezember'
67 ],
68 leap => [
69
70 ],
71 },
72 },
73 'stand-alone' => {
74 abbreviated => {
75 nonleap => [
76 'Jän',
77 'Feb',
78 'Mär',
79 'Apr',
80 'Mai',
81 'Jun',
82 'Jul',
83 'Aug',
84 'Sep',
85 'Okt',
86 'Nov',
87 'Dez'
88 ],
89 leap => [
90
91 ],
92 },
93 },
94 },
95 } },
96 1 );
97
98 has 'day_period_data' => (
99 is => 'ro',
100 isa => CodeRef,
101 init_arg => undef,
102 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=31 SCAR=69.0
103 # Time in hhmm format
104 0 my ($self, $type, $time, $day_period_type) = @_;
105 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
106 SWITCH:
107 0 for ($type) {
108 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
109 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
110 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
111 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
112 && $time < 1300;
113 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
114 && $time < 1800;
115 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
116 && $time < 2400;
117 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
118 && $time < 1000;
119 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
120 && $time < 1200;
121 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
122 && $time < 500;
123 }
124 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
125 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
126 && $time < 1300;
127 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
128 && $time < 1800;
129 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
130 && $time < 2400;
131 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
132 && $time < 1000;
133 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
134 && $time < 1200;
135 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
136 && $time < 500;
137 }
138 0 last SWITCH;
139 }
140 }
141 0 } },
142 1 );
143
144 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
145 0 my ($orig, $self) = @_;
146 0 return $self->$orig;
147 1 };
148
149 has 'eras' => (
150 is => 'ro',
151 isa => HashRef,
152 init_arg => undef,
153 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
154 0 'gregorian' => {
155 },
156 } },
157 1 );
158
159 has 'date_formats' => (
160 is => 'ro',
161 isa => HashRef,
162 init_arg => undef,
163 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
164 0 'gregorian' => {
165 },
166 } },
167 1 );
168
169 has 'time_formats' => (
170 is => 'ro',
171 isa => HashRef,
172 init_arg => undef,
173 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
174 0 'gregorian' => {
175 },
176 } },
177 1 );
178
179 has 'datetime_formats' => (
180 is => 'ro',
181 isa => HashRef,
182 init_arg => undef,
183 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
184 0 'gregorian' => {
185 },
186 } },
187 1 );
188
189 has 'datetime_formats_available_formats' => (
190 is => 'ro',
191 isa => HashRef,
192 init_arg => undef,
193 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
194 0 } },
195 1 );
196
197 has 'datetime_formats_append_item' => (
198 is => 'ro',
199 isa => HashRef,
200 init_arg => undef,
201 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
202 0 } },
203 1 );
204
205 has 'datetime_formats_interval' => (
206 is => 'ro',
207 isa => HashRef,
208 init_arg => undef,
209 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
210 0 } },
211 1 );
212
213 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
214
215 1 1;
216
217 # vim: tabstop=4
« De.pm ↑ Summary De/Latn/Lu.pm »