Raj.pm

filter: Statementstmt 68.4% 52 / 76 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 37.9% 11 / 29 Podpod n/a totaltotal 57.6% 64 / 111 CC 3 SCAR 7.7
CC
3
Cov
65%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Raj/Deva.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Raj - Package for language Rajasthani
6
7 =cut
8
9 package Locale::CLDR::Locales::Raj;
10 # This file auto generated from Data\common\main\raj.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 'en' => 'अंग्रेजी',
35 'raj' => 'राजस्थानी',
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 'characters' => (
92 is => 'ro',
93 isa => HashRef,
94 init_arg => undef,
95 default => $^V ge v5.18.0
96 ? eval <<'EOT'
97 sub {
98 no warnings 'experimental::regex_sets';
99 return {
100 auxiliary => qr{[आ इ ई उ ऊ ऋ ए ऐ ओ औ]},
101 main => qr{[ँ ंः अ क ख ग घ ङ च छ ज झ ञ ट ठ ड ढ ण त थ द ध न प फ ब भ म य र ल व श ष स ह ा ि ी ु ू ृ ॅ े ै ो ौ ्]},
102 numbers => qr{[\- ‑ , . % ‰ + 0० 1१ 2२ 3३ 4४ 5५ 6६ 7७ 8८ 9९]},
103 punctuation => qr{[\- ‑ , \: ! ? . … '‘’ "“” ( ) \[ \] \{ \} § @ * / \\ \& # ` |]},
104 };
105 },
106 EOT
107 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
108 0 return {};
109 },
110 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
111
112
113 1 has 'default_numbering_system' => (
114 is => 'ro',
115 isa => Str,
116 init_arg => undef,
117 default => 'deva',
118 );
119
120 has 'calendar_months' => (
121 is => 'ro',
122 isa => HashRef,
123 init_arg => undef,
124 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
125 0 'gregorian' => {
126 'format' => {
127 wide => {
128 nonleap => [
129 'जनवरी',
130 'फरवरी',
131 'मार्च',
132 'अप्रैल',
133 'मई',
134 'जून',
135 'जुलाई',
136 'अगस्त',
137 'सितम्बर',
138 'अक्टूबर',
139 'नवंबर',
140 'दिसंबर'
141 ],
142 leap => [
143
144 ],
145 },
146 },
147 },
148 } },
149 1 );
150
151 has 'calendar_days' => (
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 mon => 'सोमवार',
160 tue => 'मंगलवार',
161 wed => 'बुधवार',
162 thu => 'गुरुवार',
163 fri => 'शुक्रवार',
164 sat => 'शनिवार',
165 sun => 'रविवार'
166 },
167 },
168 },
169 } },
170 1 );
171
172 has 'day_periods' => (
173 is => 'ro',
174 isa => HashRef,
175 init_arg => undef,
176 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
177 0 'gregorian' => {
178 'format' => {
179 'wide' => {
180 'am' => q{सबेरे},
181 'pm' => q{सांम},
182 },
183 },
184 },
185 } },
186 1 );
187
188 has 'eras' => (
189 is => 'ro',
190 isa => HashRef,
191 init_arg => undef,
192 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
193 0 'gregorian' => {
194 },
195 } },
196 1 );
197
198 has 'date_formats' => (
199 is => 'ro',
200 isa => HashRef,
201 init_arg => undef,
202 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
203 0 'gregorian' => {
204 },
205 } },
206 1 );
207
208 has 'time_formats' => (
209 is => 'ro',
210 isa => HashRef,
211 init_arg => undef,
212 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
213 0 'gregorian' => {
214 'full' => q{h:mm:ss a zzzz},
215 'long' => q{h:mm:ss a z},
216 'medium' => q{h:mm:ss a},
217 'short' => q{h:mm a},
218 },
219 } },
220 1 );
221
222 has 'datetime_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 },
229 } },
230 1 );
231
232 has 'datetime_formats_available_formats' => (
233 is => 'ro',
234 isa => HashRef,
235 init_arg => undef,
236 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
237 0 } },
238 1 );
239
240 has 'datetime_formats_append_item' => (
241 is => 'ro',
242 isa => HashRef,
243 init_arg => undef,
244 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
245 0 } },
246 1 );
247
248 has 'datetime_formats_interval' => (
249 is => 'ro',
250 isa => HashRef,
251 init_arg => undef,
252 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
253 0 } },
254 1 );
255
256 has 'time_zone_names' => (
257 is => 'ro',
258 isa => HashRef,
259 init_arg => undef,
260 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
261 0 'GMT' => {
262 long => {
263 'standard' => q#ग्रीन विच मीन टाइम#,
264 },
265 },
266 } }
267 1 );
268 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
269
270 1 1;
271
272 # vim: tabstop=4
↑ Summary Raj/Deva.pm »