Ny.pm

filter: Statementstmt 74.6% 47 / 63 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 45.8% 11 / 24 Podpod n/a totaltotal 64.8% 59 / 91 CC 2 SCAR 6.3
CC
2
Cov
72%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.9
↑ Summary Ny/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Ny - Package for language Nyanja
6
7 =cut
8
9 package Locale::CLDR::Locales::Ny;
10 # This file auto generated from Data\common\main\ny.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 'ny' => 'Nyanja',
35
36 );
37 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
38 0 return $languages{$_[0]};
39 }
40 0 return \%languages;
41 }
42 0 },
43 1 );
44
45 has 'characters' => (
46 is => 'ro',
47 isa => HashRef,
48 init_arg => undef,
49 default => $^V ge v5.18.0
50 ? eval <<'EOT'
51 sub {
52 no warnings 'experimental::regex_sets';
53 return {
54 auxiliary => qr{[q v x]},
55 index => ['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'],
56 main => qr{[a b c d e f g h i j k l m n o p r s t u wŵ y z]},
57 };
58 },
59 EOT
60 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
61 0 return { index => ['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'], };
62 },
63 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
64
65
66 has 'currencies' => (
67 is => 'ro',
68 isa => HashRef,
69 init_arg => undef,
70 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
71 0 'MWK' => {
72 display_name => {
73 'currency' => q(Malawian Kwacha),
74 },
75 },
76 } },
77 1 );
78
79
80 has 'calendar_months' => (
81 is => 'ro',
82 isa => HashRef,
83 init_arg => undef,
84 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
85 0 'gregorian' => {
86 'format' => {
87 abbreviated => {
88 nonleap => [
89 'Jan',
90 'Feb',
91 'Mal',
92 'Epu',
93 'Mei',
94 'Jun',
95 'Jul',
96 'Oga',
97 'Sep',
98 'Oku',
99 'Nov',
100 'Dis'
101 ],
102 leap => [
103
104 ],
105 },
106 wide => {
107 nonleap => [
108 'Januwale',
109 'Febuluwale',
110 'Malichi',
111 'Epulo',
112 'Mei',
113 'Juni',
114 'Julai',
115 'Ogasiti',
116 'Seputemba',
117 'Okutoba',
118 'Novemba',
119 'Disemba'
120 ],
121 leap => [
122
123 ],
124 },
125 },
126 },
127 } },
128 1 );
129
130 has 'calendar_days' => (
131 is => 'ro',
132 isa => HashRef,
133 init_arg => undef,
134 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
135 0 'gregorian' => {
136 'format' => {
137 abbreviated => {
138 mon => 'Lem',
139 tue => 'Wir',
140 wed => 'Tat',
141 thu => 'Nai',
142 fri => 'San',
143 sat => 'Wer',
144 sun => 'Mul'
145 },
146 wide => {
147 mon => 'Lolemba',
148 tue => 'Lachiwiri',
149 wed => 'Lachitatu',
150 thu => 'Lachinayi',
151 fri => 'Lachisanu',
152 sat => 'Loweruka',
153 sun => 'Lamulungu'
154 },
155 },
156 },
157 } },
158 1 );
159
160 has 'eras' => (
161 is => 'ro',
162 isa => HashRef,
163 init_arg => undef,
164 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
165 0 'gregorian' => {
166 },
167 } },
168 1 );
169
170 has 'date_formats' => (
171 is => 'ro',
172 isa => HashRef,
173 init_arg => undef,
174 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
175 0 'gregorian' => {
176 },
177 } },
178 1 );
179
180 has 'time_formats' => (
181 is => 'ro',
182 isa => HashRef,
183 init_arg => undef,
184 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
185 0 'gregorian' => {
186 'full' => q{h:mm:ss a zzzz},
187 'long' => q{h:mm:ss a z},
188 'medium' => q{h:mm:ss a},
189 'short' => q{h:mm a},
190 },
191 } },
192 1 );
193
194 has 'datetime_formats' => (
195 is => 'ro',
196 isa => HashRef,
197 init_arg => undef,
198 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
199 0 'gregorian' => {
200 },
201 } },
202 1 );
203
204 has 'datetime_formats_available_formats' => (
205 is => 'ro',
206 isa => HashRef,
207 init_arg => undef,
208 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
209 0 } },
210 1 );
211
212 has 'datetime_formats_append_item' => (
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 } },
218 1 );
219
220 has 'datetime_formats_interval' => (
221 is => 'ro',
222 isa => HashRef,
223 init_arg => undef,
224 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
225 0 } },
226 1 );
227
228 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
229
230 1 1;
231
232 # vim: tabstop=4
↑ Summary Ny/Latn.pm »