Ss.pm

filter: Statementstmt 73.9% 54 / 73 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.7% 11 / 27 Podpod n/a totaltotal 63.4% 66 / 104 CC 2 SCAR 6.4
CC
2
Cov
71%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.9
↑ Summary Ss/Latn/Sz.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Ss - Package for language Swati
6
7 =cut
8
9 package Locale::CLDR::Locales::Ss;
10 # This file auto generated from Data\common\main\ss.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::Root');
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 'ss' => 'siSwati',
35
36 );
37 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
38 0 return $languages{$_[0]};
39 }
40 0 return \%languages;
41 }
42 0 },
43 1 );
44
45 has 'display_name_region' => (
46 is => 'ro',
47 isa => HashRef[Str],
48 init_arg => undef,
49 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
50 {
51 0 'SZ' => 'eSwatini',
52
53 }
54 },
55 1 );
56
57 has 'characters' => (
58 is => 'ro',
59 isa => HashRef,
60 init_arg => undef,
61 default => $^V ge v5.18.0
62 ? eval <<'EOT'
63 sub {
64 no warnings 'experimental::regex_sets';
65 return {
66 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'],
67 main => qr{[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]},
68 };
69 },
70 EOT
71 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
72 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'], };
73 },
74 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
75
76
77 1 has 'quote_start' => (
78 is => 'ro',
79 isa => Str,
80 init_arg => undef,
81 default => qq{‘},
82 );
83
84 1 has 'quote_end' => (
85 is => 'ro',
86 isa => Str,
87 init_arg => undef,
88 default => qq{’},
89 );
90
91 1 has 'alternate_quote_start' => (
92 is => 'ro',
93 isa => Str,
94 init_arg => undef,
95 default => qq{“},
96 );
97
98 1 has 'alternate_quote_end' => (
99 is => 'ro',
100 isa => Str,
101 init_arg => undef,
102 default => qq{”},
103 );
104
105 has 'number_symbols' => (
106 is => 'ro',
107 isa => HashRef,
108 init_arg => undef,
109 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
110 0 'latn' => {
111 'decimal' => q(,),
112 'group' => q( ),
113 },
114 } }
115 1 );
116
117 has 'number_currency_formats' => (
118 is => 'ro',
119 isa => HashRef,
120 init_arg => undef,
121 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
122 0 'latn' => {
123 'pattern' => {
124 'default' => {
125 'standard' => {
126 'positive' => '¤#,##0.00',
127 },
128 },
129 },
130 },
131 } },
132 1 );
133
134 has 'currencies' => (
135 is => 'ro',
136 isa => HashRef,
137 init_arg => undef,
138 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
139 0 'SZL' => {
140 symbol => 'E',
141 },
142 'ZAR' => {
143 symbol => 'R',
144 },
145 } },
146 1 );
147
148
149 has 'calendar_months' => (
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 'format' => {
156 abbreviated => {
157 nonleap => [
158 'Bhi',
159 'Van',
160 'Vol',
161 'Mab',
162 'Nkh',
163 'Nhl',
164 'Kho',
165 'Ngc',
166 'Nyo',
167 'Mph',
168 'Lwe',
169 'Ngo'
170 ],
171 leap => [
172
173 ],
174 },
175 wide => {
176 nonleap => [
177 'Bhimbidvwane',
178 'iNdlovana',
179 'iNdlovu-lenkhulu',
180 'Mabasa',
181 'iNkhwekhweti',
182 'iNhlaba',
183 'Kholwane',
184 'iNgci',
185 'iNyoni',
186 'iMphala',
187 'Lweti',
188 'iNgongoni'
189 ],
190 leap => [
191
192 ],
193 },
194 },
195 },
196 } },
197 1 );
198
199 has 'calendar_days' => (
200 is => 'ro',
201 isa => HashRef,
202 init_arg => undef,
203 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
204 0 'gregorian' => {
205 'format' => {
206 abbreviated => {
207 mon => 'Mso',
208 tue => 'Bil',
209 wed => 'Tsa',
210 thu => 'Ne',
211 fri => 'Hla',
212 sat => 'Mgc',
213 sun => 'Son'
214 },
215 wide => {
216 mon => 'uMsombuluko',
217 tue => 'Lesibili',
218 wed => 'Lesitsatfu',
219 thu => 'Lesine',
220 fri => 'Lesihlanu',
221 sat => 'uMgcibelo',
222 sun => 'Lisontfo'
223 },
224 },
225 },
226 } },
227 1 );
228
229 has 'eras' => (
230 is => 'ro',
231 isa => HashRef,
232 init_arg => undef,
233 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
234 0 'gregorian' => {
235 },
236 } },
237 1 );
238
239 has 'date_formats' => (
240 is => 'ro',
241 isa => HashRef,
242 init_arg => undef,
243 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
244 0 'gregorian' => {
245 },
246 } },
247 1 );
248
249 has 'time_formats' => (
250 is => 'ro',
251 isa => HashRef,
252 init_arg => undef,
253 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
254 0 'gregorian' => {
255 },
256 } },
257 1 );
258
259 has 'datetime_formats' => (
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 'gregorian' => {
265 },
266 } },
267 1 );
268
269 has 'datetime_formats_available_formats' => (
270 is => 'ro',
271 isa => HashRef,
272 init_arg => undef,
273 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
274 0 } },
275 1 );
276
277 has 'datetime_formats_append_item' => (
278 is => 'ro',
279 isa => HashRef,
280 init_arg => undef,
281 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
282 0 } },
283 1 );
284
285 has 'datetime_formats_interval' => (
286 is => 'ro',
287 isa => HashRef,
288 init_arg => undef,
289 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
290 0 } },
291 1 );
292
293 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
294
295 1 1;
296
297 # vim: tabstop=4
↑ Summary Ss/Latn/Sz.pm »