Sat/Deva.pm

filter: Statementstmt 71.8% 46 / 64 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 47.8% 11 / 23 Podpod n/a totaltotal 62.3% 58 / 93 CC 3 SCAR 7.9
CC
3
Cov
67%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Sat.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Sat::Deva - Package for language Santali
6
7 =cut
8
9 package Locale::CLDR::Locales::Sat::Deva;
10 # This file auto generated from Data\common\main\sat_Deva.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 'sat' => 'सानताड़ी',
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 'Deva' => 'देवानागारी',
53 'Olck' => 'अल चीकी',
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 'characters' => (
65 is => 'ro',
66 isa => HashRef,
67 init_arg => undef,
68 default => $^V ge v5.18.0
69 ? eval <<'EOT'
70 sub {
71 no warnings 'experimental::regex_sets';
72 return {
73 main => qr{[़ ं अ आ ई उ ए ओ क ग च ज ञ ट ड ण त द न प ब म य र ल व स ह ा ी ु े ो]},
74 numbers => qr{[\- ‑ , . % ‰ + 0० 1१ 2२ 3३ 4४ 5५ 6६ 7७ 8८ 9९]},
75 punctuation => qr{[\- ‑ , ; \: ! ? . ‘’ “” ( ) \[ \] \{ \} ॰]},
76 };
77 },
78 EOT
79 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
80 0 return {};
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 1 has 'default_numbering_system' => (
86 is => 'ro',
87 isa => Str,
88 init_arg => undef,
89 default => 'deva',
90 );
91
92 has 'eras' => (
93 is => 'ro',
94 isa => HashRef,
95 init_arg => undef,
96 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
97 0 'gregorian' => {
98 },
99 } },
100 1 );
101
102 has 'date_formats' => (
103 is => 'ro',
104 isa => HashRef,
105 init_arg => undef,
106 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
107 0 'gregorian' => {
108 'full' => q{EEEE, d MMMM y},
109 'long' => q{d MMMM y},
110 'medium' => q{d MMM y},
111 'short' => q{d/M/yy},
112 },
113 } },
114 1 );
115
116 has 'time_formats' => (
117 is => 'ro',
118 isa => HashRef,
119 init_arg => undef,
120 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
121 0 'gregorian' => {
122 'full' => q{h:mm:ss a zzzz},
123 'long' => q{h:mm:ss a z},
124 'medium' => q{h:mm:ss a},
125 'short' => q{h:mm a},
126 },
127 } },
128 1 );
129
130 has 'datetime_formats' => (
131 is => 'ro',
132 isa => HashRef,
133 init_arg => undef,
134 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
135 0 'gregorian' => {
136 },
137 } },
138 1 );
139
140 has 'datetime_formats_available_formats' => (
141 is => 'ro',
142 isa => HashRef,
143 init_arg => undef,
144 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
145 0 } },
146 1 );
147
148 has 'datetime_formats_append_item' => (
149 is => 'ro',
150 isa => HashRef,
151 init_arg => undef,
152 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
153 0 } },
154 1 );
155
156 has 'datetime_formats_interval' => (
157 is => 'ro',
158 isa => HashRef,
159 init_arg => undef,
160 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
161 0 } },
162 1 );
163
164 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
165
166 1 1;
167
168 # vim: tabstop=4
↑ Summary Sat.pm »