Bss.pm

filter: Statementstmt 73.6% 42 / 57 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 55.0% 11 / 20 Podpod n/a totaltotal 65.0% 54 / 83 CC 3 SCAR 8.0
CC
3
Cov
68%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Bss/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Bss - Package for language Akoose
6
7 =cut
8
9 package Locale::CLDR::Locales::Bss;
10 # This file auto generated from Data\common\main\bss.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 'bss' => 'Akoose',
35 'en' => 'Akáálé',
36 'fr' => 'Frɛnsé',
37
38 );
39 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
40 0 return $languages{$_[0]};
41 }
42 0 return \%languages;
43 }
44 0 },
45 1 );
46
47 has 'display_name_script' => (
48 is => 'ro',
49 isa => CodeRef,
50 init_arg => undef,
51 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
52 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
53 0 my %scripts = (
54 'Latn' => 'Akoose',
55
56 );
57 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
58 0 return $scripts{$_[0]};
59 }
60 0 return \%scripts;
61 }
62 0 }
63 1 );
64
65 has 'display_name_region' => (
66 is => 'ro',
67 isa => HashRef[Str],
68 init_arg => undef,
69 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
70 {
71 0 'CM' => 'Kamerûn',
72
73 }
74 },
75 1 );
76
77 has 'display_name_key' => (
78 is => 'ro',
79 isa => HashRef[Str],
80 init_arg => undef,
81 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
82 {
83 0 'currency' => 'mɔné',
84
85 }
86 },
87 1 );
88
89 has 'characters' => (
90 is => 'ro',
91 isa => HashRef,
92 init_arg => undef,
93 default => $^V ge v5.18.0
94 ? eval <<'EOT'
95 sub {
96 no warnings 'experimental::regex_sets';
97 return {
98 auxiliary => qr{[f q r v x]},
99 index => ['A', 'B', 'C', 'D', 'E', 'Ə', 'Ɛ', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'Ŋ', 'O', 'Ɔ', 'P', 'S', 'T', 'U', 'W', 'Y', 'Z'],
100 main => qr{[aáâǎā b c d eéêěē ə{ə́}{ə̂}{ə̌}{ə̄} ɛ{ɛ́}{ɛ̂}{ɛ̌}{ɛ̄} g h iíîǐī j k l mḿ nń ŋ oóôǒō ɔ{ɔ́}{ɔ̂}{ɔ̌}{ɔ̄} p s t uúûǔū w y z ʼ]},
101 punctuation => qr{[, ; \: ! ? . ' "]},
102 };
103 },
104 EOT
105 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
106 0 return { index => ['A', 'B', 'C', 'D', 'E', 'Ə', 'Ɛ', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'Ŋ', 'O', 'Ɔ', 'P', 'S', 'T', 'U', 'W', 'Y', 'Z'], };
107 },
108 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
109
110
111 has 'listPatterns' => (
112 is => 'ro',
113 isa => HashRef,
114 init_arg => undef,
115 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
116 0 end => q({0} {1}),
117 } }
118 1 );
119
120 has 'currencies' => (
121 is => 'ro',
122 isa => HashRef,
123 init_arg => undef,
124 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
125 0 'XAF' => {
126 display_name => {
127 'currency' => q(Frânke CFA),
128 },
129 },
130 } },
131 1 );
132
133
134 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
135
136 1 1;
137
138 # vim: tabstop=4
↑ Summary Bss/Latn.pm »