En/Latn/Se.pm

filter: Statementstmt 49.4% 48 / 97 Branchbran 1.6% 1 / 62 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 44.0% 11 / 25 Podpod n/a totaltotal 24.2% 60 / 247 CC 45 SCAR 72.1
CC
45
Cov
25%
__ANON__
2070.0
__ANON__
2.0
__ANON__
2.0
CRAP 1350.5
« En/Latn/Fi.pm ↑ Summary En/Latn/Za.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::En::Latn::Se - Package for language English
6
7 =cut
8
9 package Locale::CLDR::Locales::En::Latn::Se;
10 # This file auto generated from Data\common\main\en_SE.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 'exponential' => q(×10^),
54 'group' => 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 'currencies' => (
75 is => 'ro',
76 isa => HashRef,
77 init_arg => undef,
78 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
79 0 'SEK' => {
80 symbol => 'kr',
81 },
82 } },
83 1 );
84
85
86 has 'day_period_data' => (
87 is => 'ro',
88 isa => CodeRef,
89 init_arg => undef,
90 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=45 SCAR=76.4
91 # Time in hhmm format
92 0 my ($self, $type, $time, $day_period_type) = @_;
93 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
94 SWITCH:
95 0 for ($type) {
96 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
97 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
98 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
99 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 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 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
110 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
111 && $time < 1800;
112 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
113 && $time < 2100;
114 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
115 && $time < 1200;
116 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
117 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
118 }
119 0 last SWITCH;
120 }
121 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
122 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
123 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
124 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
125 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
126 && $time < 1800;
127 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
128 && $time < 2100;
129 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
130 && $time < 1200;
131 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
132 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
133 }
134 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
135 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
136 && $time < 1800;
137 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
138 && $time < 2100;
139 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
140 && $time < 1200;
141 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
142 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
143 }
144 0 last SWITCH;
145 }
146 }
147 0 } },
148 1 );
149
150 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
151 0 my ($orig, $self) = @_;
152 0 return $self->$orig;
153 1 };
154
155 has 'eras' => (
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 'date_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 'short' => q{G y-MM-dd},
174 },
175 'gregorian' => {
176 'short' => q{y-MM-dd},
177 },
178 } },
179 1 );
180
181 has 'time_formats' => (
182 is => 'ro',
183 isa => HashRef,
184 init_arg => undef,
185 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
186 0 'generic' => {
187 },
188 'gregorian' => {
189 },
190 } },
191 1 );
192
193 has 'datetime_formats' => (
194 is => 'ro',
195 isa => HashRef,
196 init_arg => undef,
197 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
198 0 'generic' => {
199 },
200 'gregorian' => {
201 },
202 } },
203 1 );
204
205 has 'datetime_formats_available_formats' => (
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 'generic' => {
211 yyyyM => q{y-MM G},
212 yyyyMEd => q{E y-MM-dd G},
213 yyyyMd => q{y-MM-dd G},
214 },
215 'gregorian' => {
216 yM => q{y-MM},
217 yMEd => q{E, y-MM-dd},
218 yMd => q{y-MM-dd},
219 },
220 } },
221 1 );
222
223 has 'datetime_formats_append_item' => (
224 is => 'ro',
225 isa => HashRef,
226 init_arg => undef,
227 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
228 0 } },
229 1 );
230
231 has 'datetime_formats_interval' => (
232 is => 'ro',
233 isa => HashRef,
234 init_arg => undef,
235 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
236 0 } },
237 1 );
238
239 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
240
241 1 1;
242
243 # vim: tabstop=4
« En/Latn/Fi.pm ↑ Summary En/Latn/Za.pm »