Skr.pm

filter: Statementstmt 71.8% 51 / 71 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 39.2% 11 / 28 Podpod n/a totaltotal 61.1% 63 / 103 CC 2 SCAR 6.4
CC
2
Cov
69%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.9
↑ Summary Skr/Arab.pm »
1 package Locale::CLDR::Locales::Skr;
2 # This file auto generated from Data\common\main\skr.xml
3 # on Fri 17 Jan 12:03:31 pm GMT
4
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
8
9 1 our $VERSION = version->declare('v0.46.0');
10
11 1 ▶use v5.12.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use feature 'unicode_strings';
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
17
18 1 extends('Locale::CLDR::Locales::Root');
19 has 'display_name_language' => (
20 is => 'ro',
21 isa => CodeRef,
22 init_arg => undef,
23 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
24 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
25 0 my %languages = (
26 'en' => 'سرائیکی ► skr',
27 'skr' => 'سرائیکی',
28
29 );
30 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
31 0 return $languages{$_[0]};
32 }
33 0 return \%languages;
34 }
35 0 },
36 1 );
37
38 has 'display_name_region' => (
39 is => 'ro',
40 isa => HashRef[Str],
41 init_arg => undef,
42 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
43 {
44 0 'PK' => 'پاکستان',
45
46 }
47 },
48 1 );
49
50 has 'display_name_measurement_system' => (
51 is => 'ro',
52 isa => HashRef[Str],
53 init_arg => undef,
54 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
55 {
56 0 'metric' => q{مِیٹرک},
57 'UK' => q{یو کے},
58 'US' => q{یو ایس},
59
60 }
61 },
62 1 );
63
64 has 'text_orientation' => (
65 is => 'ro',
66 isa => HashRef[Str],
67 init_arg => undef,
68 0 ▶ default => sub { return {
Subroutine __ANON__: not called CC=1 SCAR=6.9
69 0 lines => '',
70 characters => 'right-to-left',
71 }}
72 1 );
73
74 has 'characters' => (
75 is => 'ro',
76 isa => HashRef,
77 init_arg => undef,
78 default => $^V ge v5.18.0
79 ? eval <<'EOT'
80 sub {
81 no warnings 'experimental::regex_sets';
82 return {
83 main => qr{[ء آ ؤ ئ ا ب ٻ پ ت ث ٹ ج ڄ چ ح خ د ذ ڈ ڊ ݙ ر ز ڑ ژ س ش ص ض ط ظ ع غ ف ق ک گ ڳ ل م ن ں ݨ ھ ہ ۃ و ی ے]},
84 numbers => qr{[\- ‑ , ٫ ٬ . % ٪ ‰ ؉ + 0٠ 1١ 2٢ 3٣ 4٤ 5٥ 6٦ 7٧ 8٨ 9٩]},
85 punctuation => qr{[\- ‐‑ – — ، ؛ \: ! ؟ . … ' " « » ( ) \[ \] / ؎ ؏]},
86 };
87 },
88 EOT
89 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
90 0 return {};
91 },
92 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
93
94
95 has 'calendar_months' => (
96 is => 'ro',
97 isa => HashRef,
98 init_arg => undef,
99 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
100 0 'gregorian' => {
101 'format' => {
102 wide => {
103 nonleap => [
104 'جنوری',
105 'فروری',
106 'مارچ',
107 'اپریل',
108 'مئی',
109 'جون',
110 'جولائی',
111 'اگست',
112 'ستمبر',
113 'اکتوبر',
114 'نومبر',
115 'دسمبر'
116 ],
117 leap => [
118
119 ],
120 },
121 },
122 },
123 } },
124 1 );
125
126 has 'calendar_days' => (
127 is => 'ro',
128 isa => HashRef,
129 init_arg => undef,
130 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
131 0 'gregorian' => {
132 'format' => {
133 wide => {
134 mon => 'سوموار',
135 tue => 'منگل',
136 wed => 'ٻدھ',
137 thu => 'خمیس',
138 fri => 'جمعہ',
139 sat => 'چھݨ چھݨ',
140 sun => 'اتوار'
141 },
142 },
143 },
144 } },
145 1 );
146
147 has 'day_periods' => (
148 is => 'ro',
149 isa => HashRef,
150 init_arg => undef,
151 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
152 0 'gregorian' => {
153 'format' => {
154 'wide' => {
155 'am' => q{اے ایم},
156 'pm' => q{پی ایم},
157 },
158 },
159 },
160 } },
161 1 );
162
163 has 'eras' => (
164 is => 'ro',
165 isa => HashRef,
166 init_arg => undef,
167 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
168 0 'gregorian' => {
169 },
170 } },
171 1 );
172
173 has 'date_formats' => (
174 is => 'ro',
175 isa => HashRef,
176 init_arg => undef,
177 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
178 0 'gregorian' => {
179 },
180 } },
181 1 );
182
183 has 'time_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 '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 'gregorian' => {
199 },
200 } },
201 1 );
202
203 has 'datetime_formats_available_formats' => (
204 is => 'ro',
205 isa => HashRef,
206 init_arg => undef,
207 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
208 0 } },
209 1 );
210
211 has 'datetime_formats_append_item' => (
212 is => 'ro',
213 isa => HashRef,
214 init_arg => undef,
215 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
216 0 } },
217 1 );
218
219 has 'datetime_formats_interval' => (
220 is => 'ro',
221 isa => HashRef,
222 init_arg => undef,
223 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
224 0 } },
225 1 );
226
227 has 'time_zone_names' => (
228 is => 'ro',
229 isa => HashRef,
230 init_arg => undef,
231 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
232 0 gmtFormat => q(جی ایم ٹی {0}),
233 gmtZeroFormat => q(جی ایم ٹی),
234 regionFormat => q({0} وقت),
235 regionFormat => q({0} ݙین٘ہ موسمی وقت),
236 'GMT' => {
237 long => {
238 'standard' => q#جی ایم ٹی#,
239 },
240 },
241 } }
242 1 );
243 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
244
245 1 1;
246
247 # vim: tabstop=4
↑ Summary Skr/Arab.pm »