En/Latn/Ie.pm

filter: Statementstmt 47.7% 43 / 90 Branchbran 0.0% 0 / 60 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 45.4% 10 / 22 Podpod n/a totaltotal 22.5% 53 / 235 CC 45 SCAR 72.5
CC
45
Cov
23%
__ANON__
2070.0
__ANON__
2.0
__ANON__
2.0
CRAP 1411.8
« En/Latn/Bz.pm ↑ Summary En/Latn/Sg.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::En::Latn::Ie - Package for language English
6
7 =cut
8
9 package Locale::CLDR::Locales::En::Latn::Ie;
10 # This file auto generated from Data\common\main\en_IE.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::En::Latn::001');
27 has 'day_period_data' => (
28 is => 'ro',
29 isa => CodeRef,
30 init_arg => undef,
31 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=45 SCAR=76.4
32 # Time in hhmm format
33 0 my ($self, $type, $time, $day_period_type) = @_;
34 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
35 SWITCH:
36 0 for ($type) {
37 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
38 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
39 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
40 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
41 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
42 && $time < 1800;
43 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
44 && $time < 2100;
45 0 ▶ return 'morning1' 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
46 && $time < 1200;
47 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
48 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
49 }
50 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
51 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
52 && $time < 1800;
53 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
54 && $time < 2100;
55 0 ▶ return 'morning1' 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
56 && $time < 1200;
57 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
58 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
59 }
60 0 last SWITCH;
61 }
62 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
63 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
64 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
65 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
66 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
67 && $time < 1800;
68 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
69 && $time < 2100;
70 0 ▶ return 'morning1' 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 >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
73 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
74 }
75 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
76 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
77 && $time < 1800;
78 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
79 && $time < 2100;
80 0 ▶ return 'morning1' 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
81 && $time < 1200;
82 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
83 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
84 }
85 0 last SWITCH;
86 }
87 }
88 0 } },
89 1 );
90
91 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
92 0 my ($orig, $self) = @_;
93 0 return $self->$orig;
94 1 };
95
96 has 'day_periods' => (
97 is => 'ro',
98 isa => HashRef,
99 init_arg => undef,
100 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
101 0 'gregorian' => {
102 'format' => {
103 'wide' => {
104 'am' => q{a.m.},
105 'pm' => q{p.m.},
106 },
107 },
108 },
109 } },
110 1 );
111
112 has 'eras' => (
113 is => 'ro',
114 isa => HashRef,
115 init_arg => undef,
116 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
117 0 'generic' => {
118 },
119 'gregorian' => {
120 },
121 } },
122 1 );
123
124 has 'date_formats' => (
125 is => 'ro',
126 isa => HashRef,
127 init_arg => undef,
128 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
129 0 'generic' => {
130 'full' => q{EEEE d MMMM y G},
131 },
132 'gregorian' => {
133 'full' => q{EEEE d MMMM y},
134 },
135 } },
136 1 );
137
138 has 'time_formats' => (
139 is => 'ro',
140 isa => HashRef,
141 init_arg => undef,
142 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
143 0 'generic' => {
144 },
145 'gregorian' => {
146 'full' => q{HH:mm:ss zzzz},
147 'long' => q{HH:mm:ss z},
148 'medium' => q{HH:mm:ss},
149 'short' => q{HH:mm},
150 },
151 } },
152 1 );
153
154 has 'datetime_formats' => (
155 is => 'ro',
156 isa => HashRef,
157 init_arg => undef,
158 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
159 0 'generic' => {
160 },
161 'gregorian' => {
162 },
163 } },
164 1 );
165
166 has 'datetime_formats_available_formats' => (
167 is => 'ro',
168 isa => HashRef,
169 init_arg => undef,
170 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
171 0 'generic' => {
172 Md => q{d/M},
173 yyyyMEd => q{E, d/M/y G},
174 yyyyMMMEd => q{E d MMM y G},
175 yyyyMd => q{d/M/y G},
176 },
177 'gregorian' => {
178 MEd => q{E, d/M},
179 Md => q{d/M},
180 yMEd => q{E, d/M/y},
181 yMMMEd => q{E d MMM y},
182 yMd => q{d/M/y},
183 },
184 } },
185 1 );
186
187 has 'datetime_formats_append_item' => (
188 is => 'ro',
189 isa => HashRef,
190 init_arg => undef,
191 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
192 0 } },
193 1 );
194
195 has 'datetime_formats_interval' => (
196 is => 'ro',
197 isa => HashRef,
198 init_arg => undef,
199 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
200 0 'generic' => {
201 yM => {
202 M => q{MM/y – MM/y G},
203 y => q{MM/y – MM/y G},
204 },
205 yMEd => {
206 M => q{E dd/MM/y – E dd/MM/y G},
207 d => q{E dd/MM/y – E dd/MM/y G},
208 y => q{E dd/MM/y – E dd/MM/y G},
209 },
210 yMMMEd => {
211 M => q{E d MMM – E d MMM y G},
212 d => q{E d – E d MMM y G},
213 y => q{E d MMM y – E d MMM y G},
214 },
215 yMd => {
216 M => q{dd/MM/y – dd/MM/y G},
217 d => q{dd/MM/y – dd/MM/y G},
218 y => q{dd/MM/y – dd/MM/y G},
219 },
220 },
221 'gregorian' => {
222 yMEd => {
223 M => q{E dd/MM/y – E dd/MM/y},
224 d => q{E dd/MM/y – E dd/MM/y},
225 y => q{E dd/MM/y – E dd/MM/y},
226 },
227 yMMMEd => {
228 M => q{E d MMM – E d MMM y},
229 d => q{E d – E d MMM y},
230 y => q{E d MMM y – E d MMM y},
231 },
232 },
233 } },
234 1 );
235
236 has 'time_zone_names' => (
237 is => 'ro',
238 isa => HashRef,
239 init_arg => undef,
240 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
241 0 'Europe/Dublin' => {
242 short => {
243 'daylight' => q#IST#,
244 },
245 },
246 } }
247 1 );
248 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
249
250 1 1;
251
252 # vim: tabstop=4
« En/Latn/Bz.pm ↑ Summary En/Latn/Sg.pm »