Nl/Latn/Be.pm

filter: Statementstmt 51.2% 42 / 82 Branchbran 0.0% 0 / 48 Conditioncond 0.0% 0 / 50 MC/DCmcdc 0.0% 0 / 33 Subroutinesub 47.6% 10 / 21 Podpod n/a totaltotal 22.2% 52 / 234 CC 43 SCAR 71.6
CC
43
Cov
23%
__ANON__
1892.0
__ANON__
2.0
__ANON__
2.0
CRAP 1291.8
« Nl.pm ↑ Summary Nl/Latn/Sr.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Nl::Latn::Be - Package for language Dutch
6
7 =cut
8
9 package Locale::CLDR::Locales::Nl::Latn::Be;
10 # This file auto generated from Data\common\main\nl_BE.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::Nl::Latn');
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 '013' => 'Centraal-Amerika',
34
35 }
36 },
37 1 );
38
39 has 'day_period_data' => (
40 is => 'ro',
41 isa => CodeRef,
42 init_arg => undef,
43 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=43 SCAR=75.5
44 # Time in hhmm format
45 0 my ($self, $type, $time, $day_period_type) = @_;
46 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
47 SWITCH:
48 0 for ($type) {
49 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
50 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
51 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
52 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
53 && $time < 1800;
54 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
55 && $time < 2400;
56 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
57 && $time < 1200;
58 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
59 && $time < 600;
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 < 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
63 && $time < 1800;
64 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
65 && $time < 2400;
66 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
67 && $time < 1200;
68 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
69 && $time < 600;
70 }
71 0 last SWITCH;
72 }
73 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
74 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
75 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 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 < 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
79 && $time < 2400;
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 >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
83 && $time < 600;
84 }
85 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
86 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
87 && $time < 1800;
88 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
89 && $time < 2400;
90 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
91 && $time < 1200;
92 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
93 && $time < 600;
94 }
95 0 last SWITCH;
96 }
97 }
98 0 } },
99 1 );
100
101 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
102 0 my ($orig, $self) = @_;
103 0 return $self->$orig;
104 1 };
105
106 has 'eras' => (
107 is => 'ro',
108 isa => HashRef,
109 init_arg => undef,
110 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
111 0 'generic' => {
112 },
113 'gregorian' => {
114 },
115 } },
116 1 );
117
118 has 'date_formats' => (
119 is => 'ro',
120 isa => HashRef,
121 init_arg => undef,
122 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
123 0 'generic' => {
124 'short' => q{d/MM/yy GGGGG},
125 },
126 'gregorian' => {
127 'short' => q{d/MM/y},
128 },
129 } },
130 1 );
131
132 has 'time_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 'generic' => {
138 },
139 'gregorian' => {
140 },
141 } },
142 1 );
143
144 has 'datetime_formats' => (
145 is => 'ro',
146 isa => HashRef,
147 init_arg => undef,
148 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
149 0 'generic' => {
150 },
151 'gregorian' => {
152 },
153 } },
154 1 );
155
156 has 'datetime_formats_available_formats' => (
157 is => 'ro',
158 isa => HashRef,
159 init_arg => undef,
160 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
161 0 'generic' => {
162 MEd => q{E d/M},
163 Md => q{d/M},
164 yyyyM => q{M/y GGGGG},
165 yyyyMEd => q{E d/M/y GGGGG},
166 yyyyMd => q{d/M/y GGGGG},
167 },
168 'gregorian' => {
169 MEd => q{E d/M},
170 Md => q{d/M},
171 yM => q{M/y},
172 yMEd => q{E d/M/y},
173 yMd => q{d/M/y},
174 },
175 } },
176 1 );
177
178 has 'datetime_formats_append_item' => (
179 is => 'ro',
180 isa => HashRef,
181 init_arg => undef,
182 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
183 0 } },
184 1 );
185
186 has 'datetime_formats_interval' => (
187 is => 'ro',
188 isa => HashRef,
189 init_arg => undef,
190 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
191 0 'generic' => {
192 MEd => {
193 M => q{E d/MM – E d/MM},
194 d => q{E d/MM – E d/MM},
195 },
196 Md => {
197 M => q{d/MM – d/MM},
198 d => q{d/MM – d/MM},
199 },
200 yM => {
201 M => q{MM/y – MM/y G},
202 y => q{MM/y – MM/y G},
203 },
204 yMEd => {
205 M => q{E d/MM/y – E d/MM/y G},
206 d => q{E d/MM/y – E d/MM/y G},
207 y => q{E d/MM/y – E d/MM/y G},
208 },
209 yMd => {
210 M => q{d/MM/y – d/MM/y G},
211 d => q{d/MM/y – d/MM/y G},
212 y => q{d/MM/y – d/MM/y G},
213 },
214 },
215 'gregorian' => {
216 MEd => {
217 M => q{E d/MM – E d/MM},
218 d => q{E d/MM – E d/MM},
219 },
220 Md => {
221 M => q{d/MM – d/MM},
222 d => q{d/MM – d/MM},
223 },
224 yM => {
225 M => q{MM/y – MM/y},
226 y => q{MM/y – MM/y},
227 },
228 yMEd => {
229 M => q{E d/MM/y – E d/MM/y},
230 d => q{E d/MM/y – E d/MM/y},
231 y => q{E d/MM/y – E d/MM/y},
232 },
233 yMd => {
234 M => q{d/MM/y – d/MM/y},
235 d => q{d/MM/y – d/MM/y},
236 y => q{d/MM/y – d/MM/y},
237 },
238 },
239 } },
240 1 );
241
242 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
243
244 1 1;
245
246 # vim: tabstop=4
« Nl.pm ↑ Summary Nl/Latn/Sr.pm »