Mic.pm

filter: Statementstmt 71.4% 45 / 63 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 47.8% 11 / 23 Podpod n/a totaltotal 61.9% 57 / 92 CC 3 SCAR 7.9
CC
3
Cov
67%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Mic/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Mic - Package for language Mi'kmaw
6
7 =cut
8
9 package Locale::CLDR::Locales::Mic;
10 # This file auto generated from Data\common\main\mic.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 'mic' => 'Lʼnuiʼsuti',
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 'display_name_script' => (
46 is => 'ro',
47 isa => CodeRef,
48 init_arg => undef,
49 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
50 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
51 0 my %scripts = (
52 'Latn' => 'Latin',
53
54 );
55 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
56 0 return $scripts{$_[0]};
57 }
58 0 return \%scripts;
59 }
60 0 }
61 1 );
62
63 has 'characters' => (
64 is => 'ro',
65 isa => HashRef,
66 init_arg => undef,
67 default => $^V ge v5.18.0
68 ? eval <<'EOT'
69 sub {
70 no warnings 'experimental::regex_sets';
71 return {
72 auxiliary => qr{[b c d f g h r v x z]},
73 index => ['AÁ', 'EÉ', 'I', 'Ɨ', 'J', 'K', 'L', 'M', 'N', 'OÓ', 'P', 'Q', 'S', 'T', 'UÚ', 'W', 'Y'],
74 main => qr{[aá eé i ɨ j k l m n oó p q s t uú w y ʼ]},
75 punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’ "“” ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
76 };
77 },
78 EOT
79 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
80 0 return { index => ['AÁ', 'EÉ', 'I', 'Ɨ', 'J', 'K', 'L', 'M', 'N', 'OÓ', 'P', 'Q', 'S', 'T', 'UÚ', 'W', 'Y'], };
81 },
82 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
83
84
85 has 'eras' => (
86 is => 'ro',
87 isa => HashRef,
88 init_arg => undef,
89 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
90 0 'gregorian' => {
91 },
92 } },
93 1 );
94
95 has 'date_formats' => (
96 is => 'ro',
97 isa => HashRef,
98 init_arg => undef,
99 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
100 0 'gregorian' => {
101 'full' => q{EEEE, MMMM d, y},
102 'long' => q{MMMM d, y},
103 'medium' => q{MMM d, y},
104 'short' => q{y-MM-dd},
105 },
106 } },
107 1 );
108
109 has 'time_formats' => (
110 is => 'ro',
111 isa => HashRef,
112 init_arg => undef,
113 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
114 0 'gregorian' => {
115 'full' => q{h:mm:ss a zzzz},
116 'long' => q{h:mm:ss a z},
117 'medium' => q{h:mm:ss a},
118 'short' => q{h:mm a},
119 },
120 } },
121 1 );
122
123 has 'datetime_formats' => (
124 is => 'ro',
125 isa => HashRef,
126 init_arg => undef,
127 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
128 0 'gregorian' => {
129 },
130 } },
131 1 );
132
133 has 'datetime_formats_available_formats' => (
134 is => 'ro',
135 isa => HashRef,
136 init_arg => undef,
137 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
138 0 } },
139 1 );
140
141 has 'datetime_formats_append_item' => (
142 is => 'ro',
143 isa => HashRef,
144 init_arg => undef,
145 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
146 0 } },
147 1 );
148
149 has 'datetime_formats_interval' => (
150 is => 'ro',
151 isa => HashRef,
152 init_arg => undef,
153 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
154 0 } },
155 1 );
156
157 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
158
159 1 1;
160
161 # vim: tabstop=4
↑ Summary Mic/Latn.pm »