Shn.pm

filter: Statementstmt 76.4% 39 / 51 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 64.7% 11 / 17 Podpod n/a totaltotal 68.9% 51 / 74 CC 3 SCAR 8.2
CC
3
Cov
70%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.3
↑ Summary Shn/Mymr.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Shn - Package for language Shan
6
7 =cut
8
9 package Locale::CLDR::Locales::Shn;
10 # This file auto generated from Data\common\main\shn.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 'shn' => 'တႆး',
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 'Mymr' => 'မျၢၼ်ႇမႃႇ',
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 'display_name_region' => (
64 is => 'ro',
65 isa => HashRef[Str],
66 init_arg => undef,
67 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
68 {
69 0 'MM' => 'မျၢၼ်ႇမႃႇ (မိူင်းမၢၼ်ႈ)',
70 'TH' => 'မိူင်းထႆး',
71
72 }
73 },
74 1 );
75
76 has 'characters' => (
77 is => 'ro',
78 isa => HashRef,
79 init_arg => undef,
80 default => $^V ge v5.18.0
81 ? eval <<'EOT'
82 sub {
83 no warnings 'experimental::regex_sets';
84 return {
85 auxiliary => qr{[ꩡ ꩦ ꩧ ꩨ ꩩ ꩮ]},
86 index => ['ၵ', 'ၶ', 'ၷ', 'ꧠ', 'င', 'ၸ', 'ꩡ', 'ꧡ', 'ꧢ', 'ၺ', 'ꩦ', 'ꩧ', 'ꩨ', 'ꩩ', 'တ', 'ထ', 'ၻ', 'ၼ', 'ပ', 'ၽ', 'ၾ', 'ၿ', 'ꧤ', 'မ', 'ယ', 'ရ', 'လ', 'ဝ', 'ႀ', 'သ', 'ႁ', 'ꩮ', 'ဢ'],
87 main => qr{[​း ႞ ႟ ၵ ၶ ၷ င ၸ ၺ ꧣ တ ထ ၻ ၼ ပ ၽ ၾ ၿ ꧤ မ ယ ျ ရ ြ လ ဝ ွ ႂ ႀ သ ႁ ဢ ႃ ိ ီ ု ူ ေ ႄ ꧥ ် ႇ ႈ ႉ ႊ]},
88 numbers => qr{[႐ ႑ ႒ ႓ ႔ ႕ ႖ ႗ ႘ ႙]},
89 punctuation => qr{[၊ ။ ‘’ “”]},
90 };
91 },
92 EOT
93 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
94 0 return { index => ['ၵ', 'ၶ', 'ၷ', 'ꧠ', 'င', 'ၸ', 'ꩡ', 'ꧡ', 'ꧢ', 'ၺ', 'ꩦ', 'ꩧ', 'ꩨ', 'ꩩ', 'တ', 'ထ', 'ၻ', 'ၼ', 'ပ', 'ၽ', 'ၾ', 'ၿ', 'ꧤ', 'မ', 'ယ', 'ရ', 'လ', 'ဝ', 'ႀ', 'သ', 'ႁ', 'ꩮ', 'ဢ'], };
95 },
96 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
97
98
99 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
100
101 1 1;
102
103 # vim: tabstop=4
↑ Summary Shn/Mymr.pm »