Cho.pm

filter: Statementstmt 75.4% 40 / 53 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 61.1% 11 / 18 Podpod n/a totaltotal 67.5% 52 / 77 CC 3 SCAR 8.1
CC
3
Cov
69%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.3
↑ Summary Cho/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Cho - Package for language Choctaw
6
7 =cut
8
9 package Locale::CLDR::Locales::Cho;
10 # This file auto generated from Data\common\main\cho.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 'cho' => 'Chahta',
35 'en' => 'English',
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 'US' => 'United States',
71
72 }
73 },
74 1 );
75
76 has 'display_name_code_patterns' => (
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 'language' => 'Anumpa: {0}',
83
84 }
85 },
86 1 );
87
88 has 'characters' => (
89 is => 'ro',
90 isa => HashRef,
91 init_arg => undef,
92 default => $^V ge v5.18.0
93 ? eval <<'EOT'
94 sub {
95 no warnings 'experimental::regex_sets';
96 return {
97 auxiliary => qr{[cč d g j q r š x z]},
98 index => ['A{A̱}', 'B', '{CH}', 'E', 'F', 'H', '{HL}', 'I{I̱}', 'K', 'L', 'M', 'N', 'O{O̱}', 'P', 'S', '{SH}', 'T', 'U', 'V', 'Ʋ', 'W', 'Z'],
99 main => qr{[a{a̱} b {ch} e f h {hl} i{i̱} k l m n o{o̱} p s {sh} t u v ʋ w y]},
100 punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’ "“” ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
101 };
102 },
103 EOT
104 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
105 0 return { index => ['A{A̱}', 'B', '{CH}', 'E', 'F', 'H', '{HL}', 'I{I̱}', 'K', 'L', 'M', 'N', 'O{O̱}', 'P', 'S', '{SH}', 'T', 'U', 'V', 'Ʋ', 'W', 'Z'], };
106 },
107 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
108
109
110 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
111
112 1 1;
113
114 # vim: tabstop=4
↑ Summary Cho/Latn.pm »