line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Faker::Plugin::JaJp::PersonLastKanaName; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
39752
|
use 5.018; |
|
2
|
|
|
|
|
8
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
11
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
48
|
|
6
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
55
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
12
|
use Venus::Class 'base'; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
12
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
base 'Faker::Plugin::JaJp'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = '1.19'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# METHODS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub execute { |
19
|
6
|
|
|
6
|
1
|
1130
|
my ($self, $data) = @_; |
20
|
|
|
|
|
|
|
|
21
|
6
|
|
|
|
|
20
|
return $self->faker->random->select(data_for_last_name()); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub data_for_last_name { |
25
|
6
|
|
|
6
|
0
|
42
|
state $last_name = [ |
26
|
|
|
|
|
|
|
'アオタ', |
27
|
|
|
|
|
|
|
'アオヤマ', |
28
|
|
|
|
|
|
|
'イシダ', |
29
|
|
|
|
|
|
|
'イダカ', |
30
|
|
|
|
|
|
|
'イトウ', |
31
|
|
|
|
|
|
|
'ウノ', |
32
|
|
|
|
|
|
|
'エコダ', |
33
|
|
|
|
|
|
|
'オオガキ', |
34
|
|
|
|
|
|
|
'カノウ', |
35
|
|
|
|
|
|
|
'カノウ', |
36
|
|
|
|
|
|
|
'キジマ', |
37
|
|
|
|
|
|
|
'キムラ', |
38
|
|
|
|
|
|
|
'キリヤマ', |
39
|
|
|
|
|
|
|
'クドウ', |
40
|
|
|
|
|
|
|
'コイズミ', |
41
|
|
|
|
|
|
|
'コバヤシ', |
42
|
|
|
|
|
|
|
'コンドウ', |
43
|
|
|
|
|
|
|
'サイトウ', |
44
|
|
|
|
|
|
|
'サカモト', |
45
|
|
|
|
|
|
|
'ササキ', |
46
|
|
|
|
|
|
|
'サトウ', |
47
|
|
|
|
|
|
|
'ササダ', |
48
|
|
|
|
|
|
|
'スズキ', |
49
|
|
|
|
|
|
|
'スギヤマ', |
50
|
|
|
|
|
|
|
'タカハシ', |
51
|
|
|
|
|
|
|
'タナカ', |
52
|
|
|
|
|
|
|
'タナベ', |
53
|
|
|
|
|
|
|
'ツダ', |
54
|
|
|
|
|
|
|
'ナカジマ', |
55
|
|
|
|
|
|
|
'ナカムラ', |
56
|
|
|
|
|
|
|
'ナギサ', |
57
|
|
|
|
|
|
|
'ナカツガワ', |
58
|
|
|
|
|
|
|
'ニシノソノ', |
59
|
|
|
|
|
|
|
'ノムラ', |
60
|
|
|
|
|
|
|
'ハラダ', |
61
|
|
|
|
|
|
|
'ハマダ', |
62
|
|
|
|
|
|
|
'ヒロカワ', |
63
|
|
|
|
|
|
|
'フジモト', |
64
|
|
|
|
|
|
|
'マツモト', |
65
|
|
|
|
|
|
|
'ミヤケ', |
66
|
|
|
|
|
|
|
'ミヤザワ', |
67
|
|
|
|
|
|
|
'ムラヤマ', |
68
|
|
|
|
|
|
|
'ヤマギシ', |
69
|
|
|
|
|
|
|
'ヤマグチ', |
70
|
|
|
|
|
|
|
'ヤマダ', |
71
|
|
|
|
|
|
|
'ヤマモト', |
72
|
|
|
|
|
|
|
'ヨシダ', |
73
|
|
|
|
|
|
|
'ヨシモト', |
74
|
|
|
|
|
|
|
'ワカマツ', |
75
|
|
|
|
|
|
|
'ワタナベ', |
76
|
|
|
|
|
|
|
] |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
1; |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 NAME |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Faker::Plugin::JaJp::PersonLastKanaName - Person Last Kana Name |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 ABSTRACT |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Person Last Kana Name for Faker |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=cut |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 VERSION |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
1.19 |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 SYNOPSIS |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
package main; |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonLastKanaName; |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonLastKanaName->new; |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonLastKanaName") |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head1 DESCRIPTION |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
This package provides methods for generating fake data for person last kana name. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=encoding utf8 |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=cut |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head1 INHERITS |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
This package inherits behaviors from: |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
L |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=cut |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head1 METHODS |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
This package provides the following methods: |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=cut |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head2 execute |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
execute(HashRef $data) (Str) |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
The execute method returns a returns a random fake person last kana name. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
I> |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=over 4 |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=item execute example 1 |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
package main; |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonLastKanaName; |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonLastKanaName->new; |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonLastKanaName") |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
# 'サイトウ'; |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
# 'ササダ'; |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
# 'ヤマギシ'; |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=back |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=cut |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 new |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
new(HashRef $data) (Plugin) |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
The new method returns a new instance of the class. |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
I> |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=over 4 |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=item new example 1 |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
package main; |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonLastKanaName; |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonLastKanaName->new; |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonLastKanaName") |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=back |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
=cut |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=head1 AUTHORS |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
Awncorp, C |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=cut |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=head1 LICENSE |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
Copyright (C) 2000, Al Newkirk. |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
This program is free software, you can redistribute it and/or modify it under |
206
|
|
|
|
|
|
|
the terms of the Apache license version 2.0. |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=cut |