Moh.pm

filter: Statementstmt 77.1% 44 / 57 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 52.3% 11 / 21 Podpod n/a totaltotal 68.2% 56 / 82 CC 2 SCAR 6.2
CC
2
Cov
74%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.9
↑ Summary Moh/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Moh - Package for language Mohawk
6
7 =cut
8
9 package Locale::CLDR::Locales::Moh;
10 # This file auto generated from Data\common\main\moh.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 'moh' => 'Kanienʼkéha',
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{[b c d f g j l m p q u v x z]},
55 index => ['A', 'E', 'H', 'I', 'K', 'N', 'O', 'R', 'S', 'T', 'W', 'Y'],
56 main => qr{[aáà {a\:}{á\:}{à\:} eéè {e\:}{é\:}{è\:} h iíì {i\:}{í\:}{ì\:} k n oóò {o\:}{ó\:}{ò\:} r s t w y ʼ]},
57 };
58 },
59 EOT
60 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
61 0 return { index => ['A', 'E', 'H', 'I', 'K', 'N', 'O', 'R', 'S', 'T', 'W', 'Y'], };
62 },
63 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
64
65
66 has 'eras' => (
67 is => 'ro',
68 isa => HashRef,
69 init_arg => undef,
70 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
71 0 'gregorian' => {
72 },
73 } },
74 1 );
75
76 has 'date_formats' => (
77 is => 'ro',
78 isa => HashRef,
79 init_arg => undef,
80 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
81 0 'gregorian' => {
82 },
83 } },
84 1 );
85
86 has 'time_formats' => (
87 is => 'ro',
88 isa => HashRef,
89 init_arg => undef,
90 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
91 0 'gregorian' => {
92 'full' => q{h:mm:ss a zzzz},
93 'long' => q{h:mm:ss a z},
94 'medium' => q{h:mm:ss a},
95 'short' => q{h:mm a},
96 },
97 } },
98 1 );
99
100 has 'datetime_formats' => (
101 is => 'ro',
102 isa => HashRef,
103 init_arg => undef,
104 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
105 0 'gregorian' => {
106 },
107 } },
108 1 );
109
110 has 'datetime_formats_available_formats' => (
111 is => 'ro',
112 isa => HashRef,
113 init_arg => undef,
114 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
115 0 } },
116 1 );
117
118 has 'datetime_formats_append_item' => (
119 is => 'ro',
120 isa => HashRef,
121 init_arg => undef,
122 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
123 0 } },
124 1 );
125
126 has 'datetime_formats_interval' => (
127 is => 'ro',
128 isa => HashRef,
129 init_arg => undef,
130 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
131 0 } },
132 1 );
133
134 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
135
136 1 1;
137
138 # vim: tabstop=4
↑ Summary Moh/Latn.pm »