En/Latn/150.pm

filter: Statementstmt 58.1% 43 / 74 Branchbran 0.0% 0 / 30 Conditioncond 0.0% 0 / 20 MC/DCmcdc 0.0% 0 / 13 Subroutinesub 45.4% 10 / 22 Podpod n/a totaltotal 33.3% 53 / 159 CC 24 SCAR 57.7
CC
24
Cov
35%
__ANON__
600.0
__ANON__
2.0
__ANON__
2.0
CRAP 320.7
« En/Latn/Tv.pm ↑ Summary En/Latn/Ke.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::En::Latn::150 - Package for language English
6
7 =cut
8
9 package Locale::CLDR::Locales::En::Latn::150;
10 # This file auto generated from Data\common\main\en_150.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 'number_currency_formats' => (
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 'pattern' => {
34 'default' => {
35 'accounting' => {
36 'positive' => '#,##0.00 ¤',
37 },
38 'standard' => {
39 'positive' => '#,##0.00 ¤',
40 },
41 },
42 },
43 },
44 } },
45 1 );
46
47 has 'day_period_data' => (
48 is => 'ro',
49 isa => CodeRef,
50 init_arg => undef,
51 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=24 SCAR=64.0
52 # Time in hhmm format
53 0 my ($self, $type, $time, $day_period_type) = @_;
54 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
55 SWITCH:
56 0 for ($type) {
57 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
58 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
59 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
60 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
61 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
62 && $time < 1800;
63 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
64 && $time < 2100;
65 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
66 && $time < 1200;
67 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
68 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
69 }
70 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
71 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
72 && $time < 1800;
73 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
74 && $time < 2100;
75 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
76 && $time < 1200;
77 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
78 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
79 }
80 0 last SWITCH;
81 }
82 }
83 0 } },
84 1 );
85
86 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
87 0 my ($orig, $self) = @_;
88 0 return $self->$orig;
89 1 };
90
91 has 'eras' => (
92 is => 'ro',
93 isa => HashRef,
94 init_arg => undef,
95 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
96 0 'gregorian' => {
97 },
98 } },
99 1 );
100
101 has 'date_formats' => (
102 is => 'ro',
103 isa => HashRef,
104 init_arg => undef,
105 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
106 0 'gregorian' => {
107 },
108 } },
109 1 );
110
111 has 'time_formats' => (
112 is => 'ro',
113 isa => HashRef,
114 init_arg => undef,
115 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
116 0 'gregorian' => {
117 'full' => q{HH:mm:ss zzzz},
118 'long' => q{HH:mm:ss z},
119 'medium' => q{HH:mm:ss},
120 'short' => q{HH:mm},
121 },
122 } },
123 1 );
124
125 has 'datetime_formats' => (
126 is => 'ro',
127 isa => HashRef,
128 init_arg => undef,
129 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
130 0 'gregorian' => {
131 },
132 } },
133 1 );
134
135 has 'datetime_formats_available_formats' => (
136 is => 'ro',
137 isa => HashRef,
138 init_arg => undef,
139 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
140 0 } },
141 1 );
142
143 has 'datetime_formats_append_item' => (
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 } },
149 1 );
150
151 has 'datetime_formats_interval' => (
152 is => 'ro',
153 isa => HashRef,
154 init_arg => undef,
155 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
156 0 } },
157 1 );
158
159 has 'time_zone_names' => (
160 is => 'ro',
161 isa => HashRef,
162 init_arg => undef,
163 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
164 0 'Europe_Central' => {
165 short => {
166 'daylight' => q#CEST#,
167 'generic' => q#CET#,
168 'standard' => q#CET#,
169 },
170 },
171 'Europe_Eastern' => {
172 short => {
173 'daylight' => q#EEST#,
174 'generic' => q#EET#,
175 'standard' => q#EET#,
176 },
177 },
178 'Europe_Western' => {
179 short => {
180 'daylight' => q#WEST#,
181 'generic' => q#WET#,
182 'standard' => q#WET#,
183 },
184 },
185 } }
186 1 );
187 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
188
189 1 1;
190
191 # vim: tabstop=4
« En/Latn/Tv.pm ↑ Summary En/Latn/Ke.pm »