En/Latn/Fi.pm

filter: Statementstmt 49.4% 47 / 95 Branchbran 1.6% 1 / 62 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 45.8% 11 / 24 Podpod n/a totaltotal 24.1% 59 / 244 CC 45 SCAR 72.2
CC
45
Cov
25%
__ANON__
2070.0
__ANON__
2.0
__ANON__
2.0
CRAP 1370.4
« En/Latn/Id.pm ↑ Summary En/Latn/Se.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::En::Latn::Fi - Package for language English
6
7 =cut
8
9 package Locale::CLDR::Locales::En::Latn::Fi;
10 # This file auto generated from Data\common\main\en_FI.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::150');
27 has 'characters' => (
28 is => 'ro',
29 isa => HashRef,
30 init_arg => undef,
31 default => $^V ge v5.18.0
32 ? eval <<'EOT'
33 sub {
34 no warnings 'experimental::regex_sets';
35 return {
36 numbers => qr{[  \- ‑ , % ‰ + 0 1 2 3 4 5 6 7 8 9]},
37 };
38 },
39 EOT
40 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
41 0 return {};
42 },
43 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
44
45
46 has 'number_symbols' => (
47 is => 'ro',
48 isa => HashRef,
49 init_arg => undef,
50 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
51 0 'latn' => {
52 'decimal' => q(,),
53 'group' => q( ),
54 'timeSeparator' => q(.),
55 },
56 } }
57 1 );
58
59 has 'number_formats' => (
60 is => 'ro',
61 isa => HashRef,
62 init_arg => undef,
63 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
64 0 percentFormat => {
65 'default' => {
66 'standard' => {
67 'default' => '#,##0 %',
68 },
69 },
70 },
71 } },
72 1 );
73
74 has 'day_period_data' => (
75 is => 'ro',
76 isa => CodeRef,
77 init_arg => undef,
78 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=45 SCAR=76.4
79 # Time in hhmm format
80 0 my ($self, $type, $time, $day_period_type) = @_;
81 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
82 SWITCH:
83 0 for ($type) {
84 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
85 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
86 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
87 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
88 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
89 && $time < 1800;
90 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
91 && $time < 2100;
92 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
93 && $time < 1200;
94 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
95 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
96 }
97 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
98 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
99 && $time < 1800;
100 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
101 && $time < 2100;
102 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
103 && $time < 1200;
104 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
105 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
106 }
107 0 last SWITCH;
108 }
109 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
110 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
111 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
112 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
113 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
114 && $time < 1800;
115 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
116 && $time < 2100;
117 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
118 && $time < 1200;
119 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
120 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
121 }
122 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
123 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
124 && $time < 1800;
125 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
126 && $time < 2100;
127 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
128 && $time < 1200;
129 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
130 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
131 }
132 0 last SWITCH;
133 }
134 }
135 0 } },
136 1 );
137
138 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
139 0 my ($orig, $self) = @_;
140 0 return $self->$orig;
141 1 };
142
143 has 'eras' => (
144 is => 'ro',
145 isa => HashRef,
146 init_arg => undef,
147 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
148 0 'generic' => {
149 },
150 'gregorian' => {
151 },
152 } },
153 1 );
154
155 has 'date_formats' => (
156 is => 'ro',
157 isa => HashRef,
158 init_arg => undef,
159 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
160 0 'generic' => {
161 },
162 'gregorian' => {
163 },
164 } },
165 1 );
166
167 has 'time_formats' => (
168 is => 'ro',
169 isa => HashRef,
170 init_arg => undef,
171 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
172 0 'generic' => {
173 },
174 'gregorian' => {
175 'full' => q{H.mm.ss zzzz},
176 'long' => q{H.mm.ss z},
177 'medium' => q{H.mm.ss},
178 'short' => q{H.mm},
179 },
180 } },
181 1 );
182
183 has 'datetime_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 'generic' => {
189 },
190 'gregorian' => {
191 },
192 } },
193 1 );
194
195 has 'datetime_formats_available_formats' => (
196 is => 'ro',
197 isa => HashRef,
198 init_arg => undef,
199 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
200 0 'generic' => {
201 EHm => q{E H.mm},
202 EHms => q{E H.mm.ss},
203 Ehm => q{E h.mm a},
204 Ehms => q{E h.mm.ss a},
205 Hm => q{H.mm},
206 Hms => q{H.mm.ss},
207 Hmsv => q{H.mm.ss v},
208 Hmv => q{H.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 'gregorian' => {
216 EHm => q{E H.mm},
217 EHms => q{E H.mm.ss},
218 Ehm => q{E h.mm a},
219 Ehms => q{E h.mm.ss a},
220 Hm => q{H.mm},
221 Hms => q{H.mm.ss},
222 Hmsv => q{H.mm.ss v},
223 Hmv => q{H.mm v},
224 hm => q{h.mm a},
225 hms => q{h.mm.ss a},
226 hmsv => q{h.mm.ss a v},
227 hmv => q{h.mm a v},
228 ms => q{mm.ss},
229 },
230 } },
231 1 );
232
233 has 'datetime_formats_append_item' => (
234 is => 'ro',
235 isa => HashRef,
236 init_arg => undef,
237 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
238 0 } },
239 1 );
240
241 has 'datetime_formats_interval' => (
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 } },
247 1 );
248
249 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
250
251 1 1;
252
253 # vim: tabstop=4
« En/Latn/Id.pm ↑ Summary En/Latn/Se.pm »