Ar/Arab/Ae.pm

filter: Statementstmt 57.1% 44 / 77 Branchbran 0.0% 0 / 34 Conditioncond 0.0% 0 / 44 MC/DCmcdc 0.0% 0 / 29 Subroutinesub 45.4% 10 / 22 Podpod n/a totaltotal 26.2% 54 / 206 CC 34 SCAR 66.0
CC
34
Cov
28%
__ANON__
1190.0
__ANON__
2.0
__ANON__
2.0
CRAP 736.2
« Ar/Arab/Sy.pm ↑ Summary Ar/Arab/Dz.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Ar::Arab::Ae - Package for language Arabic
6
7 =cut
8
9 package Locale::CLDR::Locales::Ar::Arab::Ae;
10 # This file auto generated from Data\common\main\ar_AE.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::Ar::Arab');
27 has 'display_name_region' => (
28 is => 'ro',
29 isa => HashRef[Str],
30 init_arg => undef,
31 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 {
33 0 'CI@alt=variant' => 'ساحل العاج',
34 'TL@alt=variant' => 'التيمور الشرقية',
35
36 }
37 },
38 1 );
39
40 1 has 'default_numbering_system' => (
41 is => 'ro',
42 isa => Str,
43 init_arg => undef,
44 default => 'latn',
45 );
46
47 has 'currencies' => (
48 is => 'ro',
49 isa => HashRef,
50 init_arg => undef,
51 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
52 0 'BND' => {
53 symbol => '$',
54 },
55 } },
56 1 );
57
58
59 has 'day_period_data' => (
60 is => 'ro',
61 isa => CodeRef,
62 init_arg => undef,
63 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=34 SCAR=70.8
64 # Time in hhmm format
65 0 my ($self, $type, $time, $day_period_type) = @_;
66 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
67 SWITCH:
68 0 for ($type) {
69 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
70 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
71 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
72 && $time < 1300;
73 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1800
$time >= 1300 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1800
ABresult
0X0
100
111
74 && $time < 1800;
75 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2400
$time >= 1800 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2400
ABresult
0X0
100
111
76 && $time < 2400;
77 0 ▶ return 'morning1' if $time >= 300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 300 and $time < 600 0 0 0
Condition0%0/3
$time >= 300 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 300 and $time < 600
$time >= 300 $time < 600
Truth table0%0/3
A and B
A= $time >= 300B= $time < 600
ABresult
0X0
100
111
78 && $time < 600;
79 0 ▶ return 'morning2' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
80 && $time < 1200;
81 0 ▶ return 'night1' 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
82 && $time < 100;
83 0 ▶ return 'night2' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 300 0 0 0
Condition0%0/3
$time >= 100 and $time < 300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 300
$time >= 100 $time < 300
Truth table0%0/3
A and B
A= $time >= 100B= $time < 300
ABresult
0X0
100
111
84 && $time < 300;
85 }
86 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
87 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1300 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200 $time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
ABresult
0X0
100
111
88 && $time < 1300;
89 0 ▶ return 'afternoon2' if $time >= 1300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1300 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1300 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1300 and $time < 1800
$time >= 1300 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1800
ABresult
0X0
100
111
90 && $time < 1800;
91 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2400 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2400
$time >= 1800 $time < 2400
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2400
ABresult
0X0
100
111
92 && $time < 2400;
93 0 ▶ return 'morning1' if $time >= 300
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 300 and $time < 600 0 0 0
Condition0%0/3
$time >= 300 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 300 and $time < 600
$time >= 300 $time < 600
Truth table0%0/3
A and B
A= $time >= 300B= $time < 600
ABresult
0X0
100
111
94 && $time < 600;
95 0 ▶ return 'morning2' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
96 && $time < 1200;
97 0 ▶ return 'night1' 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
98 && $time < 100;
99 0 ▶ return 'night2' if $time >= 100
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 100 and $time < 300 0 0 0
Condition0%0/3
$time >= 100 and $time < 300
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 100 and $time < 300
$time >= 100 $time < 300
Truth table0%0/3
A and B
A= $time >= 100B= $time < 300
ABresult
0X0
100
111
100 && $time < 300;
101 }
102 0 last SWITCH;
103 }
104 }
105 0 } },
106 1 );
107
108 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
109 0 my ($orig, $self) = @_;
110 0 return $self->$orig;
111 1 };
112
113 has 'eras' => (
114 is => 'ro',
115 isa => HashRef,
116 init_arg => undef,
117 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
118 0 'gregorian' => {
119 },
120 } },
121 1 );
122
123 has 'date_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 'time_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 'gregorian' => {
139 },
140 } },
141 1 );
142
143 has 'datetime_formats' => (
144 is => 'ro',
145 isa => HashRef,
146 init_arg => undef,
147 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
148 0 'gregorian' => {
149 },
150 } },
151 1 );
152
153 has 'datetime_formats_available_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 } },
159 1 );
160
161 has 'datetime_formats_append_item' => (
162 is => 'ro',
163 isa => HashRef,
164 init_arg => undef,
165 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
166 0 } },
167 1 );
168
169 has 'datetime_formats_interval' => (
170 is => 'ro',
171 isa => HashRef,
172 init_arg => undef,
173 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
174 0 } },
175 1 );
176
177 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
178
179 1 1;
180
181 # vim: tabstop=4
« Ar/Arab/Sy.pm ↑ Summary Ar/Arab/Dz.pm »