De/Latn/Lu.pm

filter: Statementstmt 57.3% 43 / 75 Branchbran 0.0% 0 / 32 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 45.4% 10 / 22 Podpod n/a totaltotal 27.6% 53 / 192 CC 31 SCAR 63.8
CC
31
Cov
30%
__ANON__
992.0
__ANON__
2.0
__ANON__
2.0
CRAP 592.0
« De/Latn/It.pm ↑ Summary De/Latn/Li.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::De::Latn::Lu - Package for language German
6
7 =cut
8
9 package Locale::CLDR::Locales::De::Latn::Lu;
10 # This file auto generated from Data\common\main\de_LU.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::De::Latn');
27 has 'currencies' => (
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 'LUF' => {
33 symbol => 'F',
34 },
35 } },
36 1 );
37
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=31 SCAR=69.0
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 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 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 < 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
53 && $time < 1300;
54 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
55 && $time < 1800;
56 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
57 && $time < 2400;
58 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 1000 0 0 0
Condition0%0/3
$time >= 500 and $time < 1000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 1000
$time >= 500 $time < 1000
Truth table0%0/3
A and B
A= $time >= 500B= $time < 1000
ABresult
0X0
100
111
59 && $time < 1000;
60 0 ▶ return 'morning2' if $time >= 1000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1000 and $time < 1200 0 0 0
Condition0%0/3
$time >= 1000 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1000 and $time < 1200
$time >= 1000 $time < 1200
Truth table0%0/3
A and B
A= $time >= 1000B= $time < 1200
ABresult
0X0
100
111
61 && $time < 1200;
62 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
63 && $time < 500;
64 }
65 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
66 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
67 && $time < 1300;
68 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
69 && $time < 1800;
70 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
71 && $time < 2400;
72 0 ▶ return 'morning1' if $time >= 500
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 500 and $time < 1000 0 0 0
Condition0%0/3
$time >= 500 and $time < 1000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 500 and $time < 1000
$time >= 500 $time < 1000
Truth table0%0/3
A and B
A= $time >= 500B= $time < 1000
ABresult
0X0
100
111
73 && $time < 1000;
74 0 ▶ return 'morning2' if $time >= 1000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1000 and $time < 1200 0 0 0
Condition0%0/3
$time >= 1000 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1000 and $time < 1200
$time >= 1000 $time < 1200
Truth table0%0/3
A and B
A= $time >= 1000B= $time < 1200
ABresult
0X0
100
111
75 && $time < 1200;
76 0 ▶ return 'night1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 500 0 0 0
Condition0%0/3
$time >= 0 and $time < 500
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 500
$time >= 0 $time < 500
Truth table0%0/3
A and B
A= $time >= 0B= $time < 500
ABresult
0X0
100
111
77 && $time < 500;
78 }
79 0 last SWITCH;
80 }
81 }
82 0 } },
83 1 );
84
85 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
86 0 my ($orig, $self) = @_;
87 0 return $self->$orig;
88 1 };
89
90 has 'day_periods' => (
91 is => 'ro',
92 isa => HashRef,
93 init_arg => undef,
94 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
95 0 'gregorian' => {
96 'format' => {
97 'narrow' => {
98 'am' => q{vorm.},
99 'pm' => q{nachm.},
100 },
101 },
102 },
103 } },
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 'gregorian' => {
112 },
113 } },
114 1 );
115
116 has 'date_formats' => (
117 is => 'ro',
118 isa => HashRef,
119 init_arg => undef,
120 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
121 0 'gregorian' => {
122 },
123 } },
124 1 );
125
126 has 'time_formats' => (
127 is => 'ro',
128 isa => HashRef,
129 init_arg => undef,
130 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
131 0 'gregorian' => {
132 },
133 } },
134 1 );
135
136 has 'datetime_formats' => (
137 is => 'ro',
138 isa => HashRef,
139 init_arg => undef,
140 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
141 0 'gregorian' => {
142 },
143 } },
144 1 );
145
146 has 'datetime_formats_available_formats' => (
147 is => 'ro',
148 isa => HashRef,
149 init_arg => undef,
150 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
151 0 'gregorian' => {
152 h => q{h a},
153 },
154 } },
155 1 );
156
157 has 'datetime_formats_append_item' => (
158 is => 'ro',
159 isa => HashRef,
160 init_arg => undef,
161 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
162 0 } },
163 1 );
164
165 has 'datetime_formats_interval' => (
166 is => 'ro',
167 isa => HashRef,
168 init_arg => undef,
169 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
170 0 } },
171 1 );
172
173 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
174
175 1 1;
176
177 # vim: tabstop=4
« De/Latn/It.pm ↑ Summary De/Latn/Li.pm »