Bgc.pm

filter: Statementstmt 67.9% 53 / 78 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 36.6% 11 / 30 Podpod n/a totaltotal 57.0% 65 / 114 CC 3 SCAR 7.7
CC
3
Cov
64%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Bgc/Deva.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Bgc - Package for language Haryanvi
6
7 =cut
8
9 package Locale::CLDR::Locales::Bgc;
10 # This file auto generated from Data\common\main\bgc.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 'bgc' => 'हरियाणवी',
35 'en' => 'अंग्रेजी',
36
37 );
38 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
39 0 return $languages{$_[0]};
40 }
41 0 return \%languages;
42 }
43 0 },
44 1 );
45
46 has 'display_name_script' => (
47 is => 'ro',
48 isa => CodeRef,
49 init_arg => undef,
50 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
51 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
52 0 my %scripts = (
53 'Deva' => 'देवानागारी',
54
55 );
56 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
57 0 return $scripts{$_[0]};
58 }
59 0 return \%scripts;
60 }
61 0 }
62 1 );
63
64 has 'display_name_region' => (
65 is => 'ro',
66 isa => HashRef[Str],
67 init_arg => undef,
68 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
69 {
70 0 'IN' => 'भारत',
71 'ZZ' => 'अणजाण जगह',
72
73 }
74 },
75 1 );
76
77 has 'display_name_measurement_system' => (
78 is => 'ro',
79 isa => HashRef[Str],
80 init_arg => undef,
81 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
82 {
83 0 'metric' => q{मेट्रिक},
84 'UK' => q{ब्रिटेन},
85 'US' => q{अमेरिका},
86
87 }
88 },
89 1 );
90
91 has 'display_name_code_patterns' => (
92 is => 'ro',
93 isa => HashRef[Str],
94 init_arg => undef,
95 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
96 {
97 0 'language' => 'बोली: {0}',
98 'script' => 'लिपि: {0}',
99 'region' => 'जगह: {0}',
100
101 }
102 },
103 1 );
104
105 has 'characters' => (
106 is => 'ro',
107 isa => HashRef,
108 init_arg => undef,
109 default => $^V ge v5.18.0
110 ? eval <<'EOT'
111 sub {
112 no warnings 'experimental::regex_sets';
113 return {
114 auxiliary => qr{[ं]},
115 main => qr{[ँः अ आ इ ई उ ऊ ऋ ए ऐ ओ औ क ख ग घ ङ च छ ज झ ञ ट ठ ड ढ ण त थ द ध न प फ ब भ म य र ल व श ष स ह ा ि ी ु ू ृ ॅ े ै ो ौ ्]},
116 numbers => qr{[\- ‑ , . % ‰ + 0० 1१ 2२ 3३ 4४ 5५ 6६ 7७ 8८ 9९]},
117 punctuation => qr{[\- ‑ \: ! ? . … '‘’ "“” ( ) \[ \] \{ \} @ * / \\ \& # ′ ″ ` |]},
118 };
119 },
120 EOT
121 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
122 0 return {};
123 },
124 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
125
126
127 1 has 'default_numbering_system' => (
128 is => 'ro',
129 isa => Str,
130 init_arg => undef,
131 default => 'deva',
132 );
133
134 has 'calendar_months' => (
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 'gregorian' => {
140 'format' => {
141 wide => {
142 nonleap => [
143 'जनवरी',
144 'फरवरी',
145 'मार्च',
146 'अप्रैल',
147 'मई',
148 'जून',
149 'जुलाई',
150 'अगस्त',
151 'सितम्बर',
152 'अक्टूबर',
153 'नवम्बर',
154 'दिसंबर'
155 ],
156 leap => [
157
158 ],
159 },
160 },
161 },
162 } },
163 1 );
164
165 has 'calendar_days' => (
166 is => 'ro',
167 isa => HashRef,
168 init_arg => undef,
169 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
170 0 'gregorian' => {
171 'format' => {
172 wide => {
173 mon => 'सोमवार',
174 tue => 'मंगलवार',
175 wed => 'बुधवार',
176 thu => 'बृहस्पतवार',
177 fri => 'शुक्रवार',
178 sat => 'शनिवार',
179 sun => 'ऐतवार'
180 },
181 },
182 },
183 } },
184 1 );
185
186 has 'day_periods' => (
187 is => 'ro',
188 isa => HashRef,
189 init_arg => undef,
190 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
191 0 'gregorian' => {
192 'format' => {
193 'wide' => {
194 'am' => q{तडके},
195 'pm' => q{सांझ},
196 },
197 },
198 },
199 } },
200 1 );
201
202 has 'eras' => (
203 is => 'ro',
204 isa => HashRef,
205 init_arg => undef,
206 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
207 0 'gregorian' => {
208 },
209 } },
210 1 );
211
212 has 'date_formats' => (
213 is => 'ro',
214 isa => HashRef,
215 init_arg => undef,
216 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
217 0 'gregorian' => {
218 },
219 } },
220 1 );
221
222 has 'time_formats' => (
223 is => 'ro',
224 isa => HashRef,
225 init_arg => undef,
226 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
227 0 'gregorian' => {
228 'full' => q{h:mm:ss a zzzz},
229 'long' => q{h:mm:ss a z},
230 'medium' => q{h:mm:ss a},
231 'short' => q{h:mm a},
232 },
233 } },
234 1 );
235
236 has 'datetime_formats' => (
237 is => 'ro',
238 isa => HashRef,
239 init_arg => undef,
240 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
241 0 'gregorian' => {
242 },
243 } },
244 1 );
245
246 has 'datetime_formats_available_formats' => (
247 is => 'ro',
248 isa => HashRef,
249 init_arg => undef,
250 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
251 0 } },
252 1 );
253
254 has 'datetime_formats_append_item' => (
255 is => 'ro',
256 isa => HashRef,
257 init_arg => undef,
258 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
259 0 } },
260 1 );
261
262 has 'datetime_formats_interval' => (
263 is => 'ro',
264 isa => HashRef,
265 init_arg => undef,
266 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
267 0 } },
268 1 );
269
270 has 'time_zone_names' => (
271 is => 'ro',
272 isa => HashRef,
273 init_arg => undef,
274 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
275 0 regionFormat => q({0} समय),
276 regionFormat => q({0} (+0) स्टैण्डर्ड समय),
277 'GMT' => {
278 long => {
279 'standard' => q#ग्रीनविच मीन टाइम#,
280 },
281 },
282 } }
283 1 );
284 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
285
286 1 1;
287
288 # vim: tabstop=4
↑ Summary Bgc/Deva.pm »