En/Latn/Gg.pm

filter: Statementstmt 58.3% 42 / 72 Branchbran 0.0% 0 / 30 Conditioncond 0.0% 0 / 20 MC/DCmcdc 0.0% 0 / 13 Subroutinesub 47.6% 10 / 21 Podpod n/a totaltotal 33.3% 52 / 156 CC 24 SCAR 57.9
CC
24
Cov
34%
__ANON__
600.0
__ANON__
2.0
__ANON__
2.0
CRAP 328.0
« En/Latn/Fk.pm ↑ Summary En/Latn/Gi.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::En::Latn::Gg - Package for language English
6
7 =cut
8
9 package Locale::CLDR::Locales::En::Latn::Gg;
10 # This file auto generated from Data\common\main\en_GG.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 '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 'GBP' => {
33 display_name => {
34 'currency' => q(UK Pound),
35 'one' => q(UK pound),
36 'other' => q(UK pounds),
37 },
38 },
39 } },
40 1 );
41
42
43 has 'day_period_data' => (
44 is => 'ro',
45 isa => CodeRef,
46 init_arg => undef,
47 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=24 SCAR=64.0
48 # Time in hhmm format
49 0 my ($self, $type, $time, $day_period_type) = @_;
50 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
51 SWITCH:
52 0 for ($type) {
53 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
54 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
55 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
56 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
57 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
58 && $time < 1800;
59 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
60 && $time < 2100;
61 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
62 && $time < 1200;
63 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
64 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
65 }
66 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
67 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
68 && $time < 1800;
69 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
70 && $time < 2100;
71 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
72 && $time < 1200;
73 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
74 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
75 }
76 0 last SWITCH;
77 }
78 }
79 0 } },
80 1 );
81
82 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
83 0 my ($orig, $self) = @_;
84 0 return $self->$orig;
85 1 };
86
87 has 'eras' => (
88 is => 'ro',
89 isa => HashRef,
90 init_arg => undef,
91 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
92 0 'gregorian' => {
93 },
94 } },
95 1 );
96
97 has 'date_formats' => (
98 is => 'ro',
99 isa => HashRef,
100 init_arg => undef,
101 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
102 0 'gregorian' => {
103 },
104 } },
105 1 );
106
107 has 'time_formats' => (
108 is => 'ro',
109 isa => HashRef,
110 init_arg => undef,
111 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
112 0 'gregorian' => {
113 'full' => q{HH:mm:ss zzzz},
114 'long' => q{HH:mm:ss z},
115 'medium' => q{HH:mm:ss},
116 'short' => q{HH:mm},
117 },
118 } },
119 1 );
120
121 has 'datetime_formats' => (
122 is => 'ro',
123 isa => HashRef,
124 init_arg => undef,
125 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
126 0 'gregorian' => {
127 },
128 } },
129 1 );
130
131 has 'datetime_formats_available_formats' => (
132 is => 'ro',
133 isa => HashRef,
134 init_arg => undef,
135 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
136 0 } },
137 1 );
138
139 has 'datetime_formats_append_item' => (
140 is => 'ro',
141 isa => HashRef,
142 init_arg => undef,
143 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
144 0 } },
145 1 );
146
147 has 'datetime_formats_interval' => (
148 is => 'ro',
149 isa => HashRef,
150 init_arg => undef,
151 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
152 0 } },
153 1 );
154
155 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
156
157 1 1;
158
159 # vim: tabstop=4
« En/Latn/Fk.pm ↑ Summary En/Latn/Gi.pm »