Ken.pm

filter: Statementstmt 86.0% 37 / 43 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 78.5% 11 / 14 Podpod n/a totaltotal 80.3% 49 / 61 CC 2 SCAR 5.9
CC
2
Cov
81%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.8
↑ Summary Ken/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Ken - Package for language Kenyang
6
7 =cut
8
9 package Locale::CLDR::Locales::Ken;
10 # This file auto generated from Data\common\main\ken.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 'ken' => 'Kɛnyaŋ',
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{[l q v x z]},
55 index => ['A', 'bB', 'C', 'D', 'E', 'Ɛ', 'F', 'G', 'h', 'I', 'Ɨ', 'J', 'K', 'M', 'N', 'Ŋ', 'O', 'Ɔ', 'pP', 'R', 'S', 'T', 'U', 'Ʉ', 'W', 'yY'],
56 main => qr{[aáàǎ b c d eéèě ɛ{ɛ́}{ɛ̀}{ɛ̌} f g {gb} {gh} h i ɨ{ɨ́}{ɨ̀}{ɨ̌} j k {kp} m n {ny} ŋ oóòǒ ɔ{ɔ́}{ɔ̀}{ɔ̌} p r s t uúùǔ ʉ{ʉ́}{ʉ̀}{ʉ̌} w y]},
57 punctuation => qr{[\- ‑ , ; \: ! ? . ‘’ “”]},
58 };
59 },
60 EOT
61 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
62 0 return { index => ['A', 'bB', 'C', 'D', 'E', 'Ɛ', 'F', 'G', 'h', 'I', 'Ɨ', 'J', 'K', 'M', 'N', 'Ŋ', 'O', 'Ɔ', 'pP', 'R', 'S', 'T', 'U', 'Ʉ', 'W', 'yY'], };
63 },
64 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
65
66
67 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
68
69 1 1;
70
71 # vim: tabstop=4
↑ Summary Ken/Latn.pm »