Ar/Arab/Il.pm

filter: Statementstmt 57.5% 42 / 73 Branchbran 0.0% 0 / 34 Conditioncond 0.0% 0 / 44 MC/DCmcdc 0.0% 0 / 29 Subroutinesub 50.0% 10 / 20 Podpod n/a totaltotal 26.0% 52 / 200 CC 34 SCAR 66.4
CC
34
Cov
28%
__ANON__
1190.0
__ANON__
2.0
__ANON__
2.0
CRAP 763.9
« Ar.pm ↑ Summary Ar/Arab/Iq.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Ar::Arab::Il - Package for language Arabic
6
7 =cut
8
9 package Locale::CLDR::Locales::Ar::Arab::Il;
10 # This file auto generated from Data\common\main\ar_IL.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 1 has 'default_numbering_system' => (
28 is => 'ro',
29 isa => Str,
30 init_arg => undef,
31 default => 'arab',
32 );
33
34 has 'day_period_data' => (
35 is => 'ro',
36 isa => CodeRef,
37 init_arg => undef,
38 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=34 SCAR=70.8
39 # Time in hhmm format
40 0 my ($self, $type, $time, $day_period_type) = @_;
41 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
42 SWITCH:
43 0 for ($type) {
44 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
45 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
46 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
47 && $time < 1300;
48 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
49 && $time < 1800;
50 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
51 && $time < 2400;
52 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
53 && $time < 600;
54 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
55 && $time < 1200;
56 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
57 && $time < 100;
58 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
59 && $time < 300;
60 }
61 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
62 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
63 && $time < 1300;
64 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
65 && $time < 1800;
66 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
67 && $time < 2400;
68 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
69 && $time < 600;
70 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
71 && $time < 1200;
72 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
73 && $time < 100;
74 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
75 && $time < 300;
76 }
77 0 last SWITCH;
78 }
79 }
80 0 } },
81 1 );
82
83 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
84 0 my ($orig, $self) = @_;
85 0 return $self->$orig;
86 1 };
87
88 has 'eras' => (
89 is => 'ro',
90 isa => HashRef,
91 init_arg => undef,
92 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
93 0 'gregorian' => {
94 },
95 } },
96 1 );
97
98 has 'date_formats' => (
99 is => 'ro',
100 isa => HashRef,
101 init_arg => undef,
102 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
103 0 'gregorian' => {
104 },
105 } },
106 1 );
107
108 has 'time_formats' => (
109 is => 'ro',
110 isa => HashRef,
111 init_arg => undef,
112 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
113 0 'gregorian' => {
114 'full' => q{H:mm:ss zzzz},
115 'long' => q{H:mm:ss z},
116 'medium' => q{H:mm:ss},
117 'short' => q{H:mm},
118 },
119 } },
120 1 );
121
122 has 'datetime_formats' => (
123 is => 'ro',
124 isa => HashRef,
125 init_arg => undef,
126 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
127 0 'gregorian' => {
128 },
129 } },
130 1 );
131
132 has 'datetime_formats_available_formats' => (
133 is => 'ro',
134 isa => HashRef,
135 init_arg => undef,
136 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
137 0 } },
138 1 );
139
140 has 'datetime_formats_append_item' => (
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_interval' => (
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 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
157
158 1 1;
159
160 # vim: tabstop=4
« Ar.pm ↑ Summary Ar/Arab/Iq.pm »