Lmo.pm

filter: Statementstmt 67.5% 52 / 77 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 36.6% 11 / 30 Podpod n/a totaltotal 56.6% 64 / 113 CC 3 SCAR 7.7
CC
3
Cov
64%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Lmo/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Lmo - Package for language Lombard
6
7 =cut
8
9 package Locale::CLDR::Locales::Lmo;
10 # This file auto generated from Data\common\main\lmo.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' => 'ingles',
35 'lmo' => 'Lombard',
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 'Latn' => 'Latin',
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 'IT' => 'Italia',
71
72 }
73 },
74 1 );
75
76 has 'display_name_measurement_system' => (
77 is => 'ro',
78 isa => HashRef[Str],
79 init_arg => undef,
80 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
81 {
82 0 'metric' => q{metregh},
83
84 }
85 },
86 1 );
87
88 has 'characters' => (
89 is => 'ro',
90 isa => HashRef,
91 init_arg => undef,
92 default => $^V ge v5.18.0
93 ? eval <<'EOT'
94 sub {
95 no warnings 'experimental::regex_sets';
96 return {
97 auxiliary => qr{[áàăâåäãā æ ç éèĕêëē íìĭîïī ñ óòŏôöøō œ úùŭûüū ÿ]},
98 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]},
99 punctuation => qr{[\- ‑ — , ; \: ! ? . … '’ "“” « » ( ) \[ \] \{ \} @ /]},
100 };
101 },
102 EOT
103 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
104 0 return {};
105 },
106 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
107
108
109 has 'number_symbols' => (
110 is => 'ro',
111 isa => HashRef,
112 init_arg => undef,
113 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
114 0 'latn' => {
115 'decimal' => q(,),
116 'group' => q(’),
117 },
118 } }
119 1 );
120
121 has 'calendar_months' => (
122 is => 'ro',
123 isa => HashRef,
124 init_arg => undef,
125 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
126 0 'gregorian' => {
127 'format' => {
128 wide => {
129 nonleap => [
130 'sginer',
131 'fevrer',
132 'marz',
133 'avril',
134 'masg',
135 'sgiugn',
136 'luj',
137 'avost',
138 'setember',
139 'otover',
140 'november',
141 'dicember'
142 ],
143 leap => [
144
145 ],
146 },
147 },
148 },
149 } },
150 1 );
151
152 has 'calendar_days' => (
153 is => 'ro',
154 isa => HashRef,
155 init_arg => undef,
156 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
157 0 'gregorian' => {
158 'format' => {
159 wide => {
160 mon => 'lundì',
161 tue => 'mardì',
162 wed => 'mercoldì',
163 thu => 'sgiovedì',
164 fri => 'venerdì',
165 sat => 'sabet',
166 sun => 'domenega'
167 },
168 },
169 },
170 } },
171 1 );
172
173 has 'day_periods' => (
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 'format' => {
180 'wide' => {
181 'am' => q{del matin},
182 'pm' => q{de sira},
183 },
184 },
185 },
186 } },
187 1 );
188
189 has 'eras' => (
190 is => 'ro',
191 isa => HashRef,
192 init_arg => undef,
193 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
194 0 'gregorian' => {
195 },
196 } },
197 1 );
198
199 has 'date_formats' => (
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 },
206 } },
207 1 );
208
209 has 'time_formats' => (
210 is => 'ro',
211 isa => HashRef,
212 init_arg => undef,
213 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
214 0 'gregorian' => {
215 },
216 } },
217 1 );
218
219 has 'datetime_formats' => (
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 'datetime_formats_available_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 yMMMd => q{d MMM y},
236 },
237 } },
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#Temp Medi de Greenwich#,
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 Lmo/Latn.pm »