Kcg.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 Kcg/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Kcg - Package for language Tyap
6
7 =cut
8
9 package Locale::CLDR::Locales::Kcg;
10 # This file auto generated from Data\common\main\kcg.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 'kcg' => 'Katab',
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 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'],
55 main => qr{[a{a̱} b {ch} {chy} d e f g {gb} {gh} {ghw} {ghy} i{i̱} j {jhy} k {kh} {kp} l m n {ng} {ny} o p r s {sh} {shy} t {ts} u v w y z]},
56 };
57 },
58 EOT
59 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
60 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'], };
61 },
62 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
63
64
65 has 'currencies' => (
66 is => 'ro',
67 isa => HashRef,
68 init_arg => undef,
69 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
70 0 'NGN' => {
71 symbol => '₦',
72 display_name => {
73 'currency' => q(Nera),
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 'Juw',
90 'Swi',
91 'Tsa',
92 'Nya',
93 'Tsw',
94 'Ata',
95 'Ana',
96 'Ari',
97 'Aku',
98 'Swa',
99 'Man',
100 'Mas'
101 ],
102 leap => [
103
104 ],
105 },
106 wide => {
107 nonleap => [
108 'Zwat Juwung',
109 'Zwat Swiyang',
110 'Zwat Tsat',
111 'Zwat Nyai',
112 'Zwat Tswon',
113 'Zwat Ataah',
114 'Zwat Anatat',
115 'Zwat Arinai',
116 'Zwat Akubunyung',
117 'Zwat Swag',
118 'Zwat Mangjuwang',
119 'Zwat Swag-Ma-Suyang'
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 => 'Tan',
139 tue => 'Tal',
140 wed => 'Lar',
141 thu => 'Lam',
142 fri => 'Jum',
143 sat => 'Asa',
144 sun => 'Lad'
145 },
146 wide => {
147 mon => 'Tanii',
148 tue => 'Talata',
149 wed => 'Larba',
150 thu => 'Lamit',
151 fri => 'Juma',
152 sat => 'Asabat',
153 sun => 'Ladi'
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 'generic' => {
166 },
167 'gregorian' => {
168 abbreviated => {
169 '0' => 'GM',
170 '1' => 'M'
171 },
172 wide => {
173 '0' => 'Gabanin Miladi',
174 '1' => 'Miladi'
175 },
176 },
177 } },
178 1 );
179
180 has 'date_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 'generic' => {
186 'full' => q{EEEE, G y MMMM dd},
187 'long' => q{G y MMMM d},
188 'medium' => q{G y MMM d},
189 'short' => q{GGGGG yy/MM/dd},
190 },
191 'gregorian' => {
192 'full' => q{EEEE, y MMMM dd},
193 'long' => q{y MMMM d},
194 'medium' => q{y MMM d},
195 'short' => q{yy/MM/dd},
196 },
197 } },
198 1 );
199
200 has 'time_formats' => (
201 is => 'ro',
202 isa => HashRef,
203 init_arg => undef,
204 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
205 0 'generic' => {
206 },
207 'gregorian' => {
208 'full' => q{HH:mm:ss zzzz},
209 'long' => q{HH:mm:ss z},
210 'medium' => q{HH:mm:ss},
211 'short' => q{HH:mm},
212 },
213 } },
214 1 );
215
216 has 'datetime_formats' => (
217 is => 'ro',
218 isa => HashRef,
219 init_arg => undef,
220 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
221 0 'generic' => {
222 },
223 'gregorian' => {
224 },
225 } },
226 1 );
227
228 has 'datetime_formats_available_formats' => (
229 is => 'ro',
230 isa => HashRef,
231 init_arg => undef,
232 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
233 0 } },
234 1 );
235
236 has 'datetime_formats_append_item' => (
237 is => 'ro',
238 isa => HashRef,
239 init_arg => undef,
240 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
241 0 } },
242 1 );
243
244 has 'datetime_formats_interval' => (
245 is => 'ro',
246 isa => HashRef,
247 init_arg => undef,
248 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
249 0 } },
250 1 );
251
252 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
253
254 1 1;
255
256 # vim: tabstop=4
↑ Summary Kcg/Latn.pm »