line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Faker::Plugin::JaJp::PersonFirstNameAscii; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
21597
|
use 5.018; |
|
2
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
11
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
42
|
|
6
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
81
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
15
|
use Venus::Class 'base'; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
23
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
base 'Faker::Plugin::JaJp'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = '1.17'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# METHODS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub execute { |
19
|
5
|
|
|
5
|
1
|
1347
|
my ($self, $data) = @_; |
20
|
|
|
|
|
|
|
|
21
|
5
|
|
|
|
|
19
|
return $self->faker->random->select(data_for_first_name_ascii()); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub data_for_first_name_ascii { |
25
|
5
|
|
|
5
|
0
|
35
|
state $first_name_ascii = [ |
26
|
|
|
|
|
|
|
'akira', |
27
|
|
|
|
|
|
|
'atsushi', |
28
|
|
|
|
|
|
|
'osamu', |
29
|
|
|
|
|
|
|
'akemi', |
30
|
|
|
|
|
|
|
'asuka', |
31
|
|
|
|
|
|
|
'kazuya', |
32
|
|
|
|
|
|
|
'kyosuke', |
33
|
|
|
|
|
|
|
'kenichi', |
34
|
|
|
|
|
|
|
'kaori', |
35
|
|
|
|
|
|
|
'kana', |
36
|
|
|
|
|
|
|
'kumiko', |
37
|
|
|
|
|
|
|
'shuhei', |
38
|
|
|
|
|
|
|
'shota', |
39
|
|
|
|
|
|
|
'jun', |
40
|
|
|
|
|
|
|
'soutaro', |
41
|
|
|
|
|
|
|
'sayuri', |
42
|
|
|
|
|
|
|
'satomi', |
43
|
|
|
|
|
|
|
'taichi', |
44
|
|
|
|
|
|
|
'taro', |
45
|
|
|
|
|
|
|
'takuma', |
46
|
|
|
|
|
|
|
'tsubasa', |
47
|
|
|
|
|
|
|
'tomoya', |
48
|
|
|
|
|
|
|
'chiyo', |
49
|
|
|
|
|
|
|
'naoki', |
50
|
|
|
|
|
|
|
'naoto', |
51
|
|
|
|
|
|
|
'naoko', |
52
|
|
|
|
|
|
|
'nanami', |
53
|
|
|
|
|
|
|
'hideki', |
54
|
|
|
|
|
|
|
'hiroshi', |
55
|
|
|
|
|
|
|
'hanako', |
56
|
|
|
|
|
|
|
'haruka', |
57
|
|
|
|
|
|
|
'manabu', |
58
|
|
|
|
|
|
|
'mitsuru', |
59
|
|
|
|
|
|
|
'minoru', |
60
|
|
|
|
|
|
|
'maaya', |
61
|
|
|
|
|
|
|
'mai', |
62
|
|
|
|
|
|
|
'mikako', |
63
|
|
|
|
|
|
|
'miki', |
64
|
|
|
|
|
|
|
'momoko', |
65
|
|
|
|
|
|
|
'yuki', |
66
|
|
|
|
|
|
|
'yuta', |
67
|
|
|
|
|
|
|
'yasuhiro', |
68
|
|
|
|
|
|
|
'youichi', |
69
|
|
|
|
|
|
|
'yosuke', |
70
|
|
|
|
|
|
|
'yui', |
71
|
|
|
|
|
|
|
'yumiko', |
72
|
|
|
|
|
|
|
'yoko', |
73
|
|
|
|
|
|
|
'ryosuke', |
74
|
|
|
|
|
|
|
'ryohei', |
75
|
|
|
|
|
|
|
'rei', |
76
|
|
|
|
|
|
|
'rika', |
77
|
|
|
|
|
|
|
] |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
1; |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head1 NAME |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
Faker::Plugin::JaJp::PersonFirstNameAscii - Person First Name Ascii |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 ABSTRACT |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Person First Name Ascii for Faker |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 VERSION |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
1.17 |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 SYNOPSIS |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
package main; |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonFirstNameAscii; |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonFirstNameAscii->new; |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonFirstNameAscii") |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head1 DESCRIPTION |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
This package provides methods for generating fake data for person first name ascii. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=encoding utf8 |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head1 INHERITS |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
This package inherits behaviors from: |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
L |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head1 METHODS |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
This package provides the following methods: |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=head2 execute |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
execute(HashRef $data) (Str) |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
The execute method returns a returns a random fake person first name ascii. |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
I> |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=over 4 |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=item execute example 1 |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
package main; |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonFirstNameAscii; |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonFirstNameAscii->new; |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonFirstNameAscii") |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
# 'taichi'; |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
# 'tomoya'; |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
# 'yosuke'; |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=back |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=cut |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=head2 new |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
new(HashRef $data) (Plugin) |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
The new method returns a new instance of the class. |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
I> |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=over 4 |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
=item new example 1 |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
package main; |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonFirstNameAscii; |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonFirstNameAscii->new; |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonFirstNameAscii") |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=back |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=cut |