En/Latn/Mv.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/Mu.pm ↑ Summary En/Latn/Ng.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::En::Latn::Mv - Package for language English
6
7 =cut
8
9 package Locale::CLDR::Locales::En::Latn::Mv;
10 # This file auto generated from Data\common\main\en_MV.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 'currencies' => (
48 is => 'ro',
49 isa => HashRef,
50 init_arg => undef,
51 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
52 0 'MVR' => {
53 symbol => 'Rf',
54 },
55 } },
56 1 );
57
58
59 has 'day_period_data' => (
60 is => 'ro',
61 isa => CodeRef,
62 init_arg => undef,
63 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=24 SCAR=64.0
64 # Time in hhmm format
65 0 my ($self, $type, $time, $day_period_type) = @_;
66 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
67 SWITCH:
68 0 for ($type) {
69 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
70 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
71 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
72 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
73 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
74 && $time < 1800;
75 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
76 && $time < 2100;
77 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
78 && $time < 1200;
79 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
80 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
81 }
82 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
83 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
84 && $time < 1800;
85 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
86 && $time < 2100;
87 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
88 && $time < 1200;
89 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
90 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
91 }
92 0 last SWITCH;
93 }
94 }
95 0 } },
96 1 );
97
98 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
99 0 my ($orig, $self) = @_;
100 0 return $self->$orig;
101 1 };
102
103 has 'eras' => (
104 is => 'ro',
105 isa => HashRef,
106 init_arg => undef,
107 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
108 0 'gregorian' => {
109 },
110 } },
111 1 );
112
113 has 'date_formats' => (
114 is => 'ro',
115 isa => HashRef,
116 init_arg => undef,
117 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
118 0 'gregorian' => {
119 'full' => q{EEEE d MMMM y},
120 'long' => q{d MMMM y},
121 'medium' => q{dd-MM-y},
122 'short' => q{d-M-yy},
123 },
124 } },
125 1 );
126
127 has 'time_formats' => (
128 is => 'ro',
129 isa => HashRef,
130 init_arg => undef,
131 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
132 0 'gregorian' => {
133 'full' => q{HH:mm:ss zzzz},
134 'long' => q{HH:mm:ss z},
135 'medium' => q{HH:mm:ss},
136 'short' => q{HH:mm},
137 },
138 } },
139 1 );
140
141 has 'datetime_formats' => (
142 is => 'ro',
143 isa => HashRef,
144 init_arg => undef,
145 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
146 0 'gregorian' => {
147 'full' => q{{1} {0}},
148 'long' => q{{1} {0}},
149 'medium' => q{{1} {0}},
150 'short' => q{{1} {0}},
151 },
152 } },
153 1 );
154
155 has 'datetime_formats_available_formats' => (
156 is => 'ro',
157 isa => HashRef,
158 init_arg => undef,
159 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
160 0 } },
161 1 );
162
163 has 'datetime_formats_append_item' => (
164 is => 'ro',
165 isa => HashRef,
166 init_arg => undef,
167 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
168 0 } },
169 1 );
170
171 has 'datetime_formats_interval' => (
172 is => 'ro',
173 isa => HashRef,
174 init_arg => undef,
175 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
176 0 } },
177 1 );
178
179 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
180
181 1 1;
182
183 # vim: tabstop=4
« En/Latn/Mu.pm ↑ Summary En/Latn/Ng.pm »