Ms/Arab/Bn.pm

filter: Statementstmt 50.0% 44 / 88 Branchbran 0.0% 0 / 52 Conditioncond 0.0% 0 / 62 MC/DCmcdc 0.0% 0 / 41 Subroutinesub 43.4% 10 / 23 Podpod n/a totaltotal 20.3% 54 / 266 CC 49 SCAR 74.3
CC
49
Cov
22%
__ANON__
2450.0
__ANON__
2.0
__ANON__
2.0
CRAP 1691.3
« Ms/Latn/Id.pm ↑ Summary Ms/Latn/Sg.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Ms::Arab::Bn - Package for language Malay
6
7 =cut
8
9 package Locale::CLDR::Locales::Ms::Arab::Bn;
10 # This file auto generated from Data\common\main\ms_Arab_BN.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::Ms::Arab');
27 has 'number_symbols' => (
28 is => 'ro',
29 isa => HashRef,
30 init_arg => undef,
31 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 'latn' => {
33 'decimal' => q(,),
34 'group' => q(.),
35 },
36 } }
37 1 );
38
39 has 'number_currency_formats' => (
40 is => 'ro',
41 isa => HashRef,
42 init_arg => undef,
43 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
44 0 'latn' => {
45 'pattern' => {
46 'default' => {
47 'standard' => {
48 'positive' => '¤ #,##0.00',
49 },
50 },
51 },
52 },
53 } },
54 1 );
55
56 has 'currencies' => (
57 is => 'ro',
58 isa => HashRef,
59 init_arg => undef,
60 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
61 0 'BND' => {
62 symbol => '$',
63 },
64 } },
65 1 );
66
67
68 has 'day_period_data' => (
69 is => 'ro',
70 isa => CodeRef,
71 init_arg => undef,
72 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=49 SCAR=78.0
73 # Time in hhmm format
74 0 my ($self, $type, $time, $day_period_type) = @_;
75 0 ▶ $day_period_type //= 'default';
Condition0%0/2
$day_period_type //= "default"
l!l
00
MC/DC0%0/1
$day_period_type //= "default"
$day_period_type
Truth table0%0/2
A
A= $day_period_type
Aresult
11
00
76 SWITCH:
77 0 for ($type) {
78 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
79 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
80 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1400 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200 $time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
ABresult
0X0
100
111
81 && $time < 1400;
82 0 ▶ return 'evening1' if $time >= 1400
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1400 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1400 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
ABresult
0X0
100
111
83 && $time < 1900;
84 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 100 0 0 0
Condition0%0/3
$time >= 0 and $time < 100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0 $time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
ABresult
0X0
100
111
85 && $time < 100;
86 0 ▶ return 'morning2' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 1200 0 0 0
Condition0%0/3
$time >= 100 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100 $time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
ABresult
0X0
100
111
87 && $time < 1200;
88 0 ▶ return 'night1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
89 && $time < 2400;
90 }
91 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
92 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1400 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200 $time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
ABresult
0X0
100
111
93 && $time < 1400;
94 0 ▶ return 'evening1' if $time >= 1400
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1400 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1400 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
ABresult
0X0
100
111
95 && $time < 1900;
96 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 100 0 0 0
Condition0%0/3
$time >= 0 and $time < 100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0 $time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
ABresult
0X0
100
111
97 && $time < 100;
98 0 ▶ return 'morning2' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 1200 0 0 0
Condition0%0/3
$time >= 100 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100 $time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
ABresult
0X0
100
111
99 && $time < 1200;
100 0 ▶ return 'night1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
101 && $time < 2400;
102 }
103 0 last SWITCH;
104 }
105 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
106 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
107 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1400 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200 $time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
ABresult
0X0
100
111
108 && $time < 1400;
109 0 ▶ return 'evening1' if $time >= 1400
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1400 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1400 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
ABresult
0X0
100
111
110 && $time < 1900;
111 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 100 0 0 0
Condition0%0/3
$time >= 0 and $time < 100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0 $time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
ABresult
0X0
100
111
112 && $time < 100;
113 0 ▶ return 'morning2' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 1200 0 0 0
Condition0%0/3
$time >= 100 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100 $time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
ABresult
0X0
100
111
114 && $time < 1200;
115 0 ▶ return 'night1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
116 && $time < 2400;
117 }
118 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
119 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1400 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200 $time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
ABresult
0X0
100
111
120 && $time < 1400;
121 0 ▶ return 'evening1' if $time >= 1400
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1400 and $time < 1900 0 0 0
Condition0%0/3
$time >= 1400 and $time < 1900
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400 $time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
ABresult
0X0
100
111
122 && $time < 1900;
123 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 100 0 0 0
Condition0%0/3
$time >= 0 and $time < 100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0 $time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
ABresult
0X0
100
111
124 && $time < 100;
125 0 ▶ return 'morning2' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 1200 0 0 0
Condition0%0/3
$time >= 100 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100 $time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
ABresult
0X0
100
111
126 && $time < 1200;
127 0 ▶ return 'night1' if $time >= 1900
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1900 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1900 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
ABresult
0X0
100
111
128 && $time < 2400;
129 }
130 0 last SWITCH;
131 }
132 }
133 0 } },
134 1 );
135
136 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
137 0 my ($orig, $self) = @_;
138 0 return $self->$orig;
139 1 };
140
141 has 'eras' => (
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 'generic' => {
147 },
148 'gregorian' => {
149 },
150 } },
151 1 );
152
153 has 'date_formats' => (
154 is => 'ro',
155 isa => HashRef,
156 init_arg => undef,
157 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
158 0 'generic' => {
159 'full' => q{dd MMMM y G},
160 },
161 'gregorian' => {
162 'full' => q{dd MMMM y},
163 },
164 } },
165 1 );
166
167 has 'time_formats' => (
168 is => 'ro',
169 isa => HashRef,
170 init_arg => undef,
171 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
172 0 'generic' => {
173 },
174 'gregorian' => {
175 },
176 } },
177 1 );
178
179 has 'datetime_formats' => (
180 is => 'ro',
181 isa => HashRef,
182 init_arg => undef,
183 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
184 0 'generic' => {
185 },
186 'gregorian' => {
187 },
188 } },
189 1 );
190
191 has 'datetime_formats_available_formats' => (
192 is => 'ro',
193 isa => HashRef,
194 init_arg => undef,
195 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
196 0 } },
197 1 );
198
199 has 'datetime_formats_append_item' => (
200 is => 'ro',
201 isa => HashRef,
202 init_arg => undef,
203 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
204 0 } },
205 1 );
206
207 has 'datetime_formats_interval' => (
208 is => 'ro',
209 isa => HashRef,
210 init_arg => undef,
211 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
212 0 } },
213 1 );
214
215 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
216
217 1 1;
218
219 # vim: tabstop=4
« Ms/Latn/Id.pm ↑ Summary Ms/Latn/Sg.pm »