Bho.pm

filter: Statementstmt 67.5% 54 / 80 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.4% 11 / 31 Podpod n/a totaltotal 56.4% 66 / 117 CC 3 SCAR 7.7
CC
3
Cov
64%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Bho/Deva.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Bho - Package for language Bhojpuri
6
7 =cut
8
9 package Locale::CLDR::Locales::Bho;
10 # This file auto generated from Data\common\main\bho.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 'bho' => 'भोजपुरी',
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 'number_currency_formats' => (
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 'latn' => {
140 'pattern' => {
141 'default' => {
142 'standard' => {
143 'positive' => '¤#,##0.00',
144 },
145 },
146 },
147 },
148 } },
149 1 );
150
151 has 'calendar_months' => (
152 is => 'ro',
153 isa => HashRef,
154 init_arg => undef,
155 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
156 0 'gregorian' => {
157 'format' => {
158 wide => {
159 nonleap => [
160 'जनवरी',
161 'फरवरी',
162 'मार्च',
163 'अप्रैल',
164 'मई',
165 'जून',
166 'जुलाई',
167 'अगस्त',
168 'सितम्बर',
169 'अक्टूबर',
170 'नवंबर',
171 'दिसंबर'
172 ],
173 leap => [
174
175 ],
176 },
177 },
178 },
179 } },
180 1 );
181
182 has 'calendar_days' => (
183 is => 'ro',
184 isa => HashRef,
185 init_arg => undef,
186 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
187 0 'gregorian' => {
188 'format' => {
189 wide => {
190 mon => 'सोमबार',
191 tue => 'मंगलबार',
192 wed => 'बुधबार',
193 thu => 'बृहस्पतिबार',
194 fri => 'शुक्रबार',
195 sat => 'सनीचर',
196 sun => 'रबीबार'
197 },
198 },
199 },
200 } },
201 1 );
202
203 has 'day_periods' => (
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 'gregorian' => {
209 'format' => {
210 'wide' => {
211 'am' => q{भोर},
212 'pm' => q{सांझ},
213 },
214 },
215 },
216 } },
217 1 );
218
219 has 'eras' => (
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 'gregorian' => {
225 },
226 } },
227 1 );
228
229 has 'date_formats' => (
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 'time_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 'full' => q{h:mm:ss a zzzz},
246 'long' => q{h:mm:ss a z},
247 'medium' => q{h:mm:ss a},
248 'short' => q{h:mm a},
249 },
250 } },
251 1 );
252
253 has 'datetime_formats' => (
254 is => 'ro',
255 isa => HashRef,
256 init_arg => undef,
257 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
258 0 'gregorian' => {
259 },
260 } },
261 1 );
262
263 has 'datetime_formats_available_formats' => (
264 is => 'ro',
265 isa => HashRef,
266 init_arg => undef,
267 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
268 0 } },
269 1 );
270
271 has 'datetime_formats_append_item' => (
272 is => 'ro',
273 isa => HashRef,
274 init_arg => undef,
275 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
276 0 } },
277 1 );
278
279 has 'datetime_formats_interval' => (
280 is => 'ro',
281 isa => HashRef,
282 init_arg => undef,
283 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
284 0 'gregorian' => {
285 fallback => '{0} – {1}',
286 },
287 } },
288 1 );
289
290 has 'time_zone_names' => (
291 is => 'ro',
292 isa => HashRef,
293 init_arg => undef,
294 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
295 0 regionFormat => q({0} टाइम),
296 regionFormat => q({0} डेलाइट समय),
297 regionFormat => q({0} मानक समय),
298 'GMT' => {
299 long => {
300 'standard' => q#ग्रीनविच मीन टाइम#,
301 },
302 },
303 } }
304 1 );
305 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
306
307 1 1;
308
309 # vim: tabstop=4
↑ Summary Bho/Deva.pm »