Pis.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 Pis/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Pis - Package for language Pijin
6
7 =cut
8
9 package Locale::CLDR::Locales::Pis;
10 # This file auto generated from Data\common\main\pis.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' => 'Ingglis',
35 'pis' => 'Pijin',
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 'SB' => 'Solomon Aelan',
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{metrik},
83
84 }
85 },
86 1 );
87
88 has 'display_name_code_patterns' => (
89 is => 'ro',
90 isa => HashRef[Str],
91 init_arg => undef,
92 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
93 {
94 0 'language' => 'Langguis: {0}',
95 'script' => 'Raeting kaen: {0}',
96 'region' => 'Rijin: {0}',
97
98 }
99 },
100 1 );
101
102 has 'characters' => (
103 is => 'ro',
104 isa => HashRef,
105 init_arg => undef,
106 default => $^V ge v5.18.0
107 ? eval <<'EOT'
108 sub {
109 no warnings 'experimental::regex_sets';
110 return {
111 main => qr{[a b d e f g h i j k l m n o p r s t u v w y]},
112 numbers => qr{[\- ‑ / # % + 0 1 2 3 5 6 7 8 9]},
113 punctuation => qr{[\- ‑ , ; \: ! ? . '‘’ "“” ( ) + =]},
114 };
115 },
116 EOT
117 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
118 0 return {};
119 },
120 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
121
122
123 has 'currencies' => (
124 is => 'ro',
125 isa => HashRef,
126 init_arg => undef,
127 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
128 0 'SBD' => {
129 symbol => '$',
130 },
131 } },
132 1 );
133
134
135 has 'calendar_months' => (
136 is => 'ro',
137 isa => HashRef,
138 init_arg => undef,
139 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
140 0 'gregorian' => {
141 'format' => {
142 wide => {
143 nonleap => [
144 'Januare',
145 'Febuare',
146 'Mas',
147 'Eprel',
148 'Mei',
149 'Jun',
150 'Julae',
151 'Ogus',
152 'Septemba',
153 'Oktoba',
154 'Novemba',
155 'Disemba'
156 ],
157 leap => [
158
159 ],
160 },
161 },
162 },
163 } },
164 1 );
165
166 has 'calendar_days' => (
167 is => 'ro',
168 isa => HashRef,
169 init_arg => undef,
170 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
171 0 'gregorian' => {
172 'format' => {
173 wide => {
174 mon => 'Mande',
175 tue => 'Tiusde',
176 wed => 'Wenesde',
177 thu => 'Tosde',
178 fri => 'Fraede',
179 sat => 'Satade',
180 sun => 'Sande'
181 },
182 },
183 },
184 } },
185 1 );
186
187 has 'eras' => (
188 is => 'ro',
189 isa => HashRef,
190 init_arg => undef,
191 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
192 0 'gregorian' => {
193 },
194 } },
195 1 );
196
197 has 'date_formats' => (
198 is => 'ro',
199 isa => HashRef,
200 init_arg => undef,
201 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
202 0 'gregorian' => {
203 },
204 } },
205 1 );
206
207 has 'time_formats' => (
208 is => 'ro',
209 isa => HashRef,
210 init_arg => undef,
211 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
212 0 'gregorian' => {
213 },
214 } },
215 1 );
216
217 has 'datetime_formats' => (
218 is => 'ro',
219 isa => HashRef,
220 init_arg => undef,
221 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
222 0 'gregorian' => {
223 },
224 } },
225 1 );
226
227 has 'datetime_formats_available_formats' => (
228 is => 'ro',
229 isa => HashRef,
230 init_arg => undef,
231 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
232 0 } },
233 1 );
234
235 has 'datetime_formats_append_item' => (
236 is => 'ro',
237 isa => HashRef,
238 init_arg => undef,
239 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
240 0 } },
241 1 );
242
243 has 'datetime_formats_interval' => (
244 is => 'ro',
245 isa => HashRef,
246 init_arg => undef,
247 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
248 0 } },
249 1 );
250
251 has 'time_zone_names' => (
252 is => 'ro',
253 isa => HashRef,
254 init_arg => undef,
255 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
256 0 gmtFormat => q(GMT {0}),
257 regionFormat => q({0} Taem),
258 regionFormat => q({0} Delaet Taem),
259 regionFormat => q({0} Standad Taem),
260 'GMT' => {
261 long => {
262 'standard' => q#Grinis Min Taem#,
263 },
264 },
265 } }
266 1 );
267 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
268
269 1 1;
270
271 # vim: tabstop=4
↑ Summary Pis/Latn.pm »