line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Faker::Plugin::SoftwareName; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
41436
|
use 5.018; |
|
2
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
16
|
use strict; |
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
47
|
|
6
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
78
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
12
|
use Venus::Class 'base'; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
19
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
base 'Faker::Plugin'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = '1.19'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# METHODS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub execute { |
19
|
6
|
|
|
6
|
1
|
2595
|
my ($self, $data) = @_; |
20
|
|
|
|
|
|
|
|
21
|
6
|
|
|
|
|
25
|
return $self->faker->random->select(data_for_software_name()); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub data_for_software_name { |
25
|
6
|
|
|
6
|
0
|
41
|
state $software_name = [ |
26
|
|
|
|
|
|
|
'Redhold', |
27
|
|
|
|
|
|
|
'Treeflex', |
28
|
|
|
|
|
|
|
'Trippledex', |
29
|
|
|
|
|
|
|
'Kanlam', |
30
|
|
|
|
|
|
|
'Bigtax', |
31
|
|
|
|
|
|
|
'Daltfresh', |
32
|
|
|
|
|
|
|
'Toughjoyfax', |
33
|
|
|
|
|
|
|
'Mat lam tam', |
34
|
|
|
|
|
|
|
'Otcom', |
35
|
|
|
|
|
|
|
'Tres-zap', |
36
|
|
|
|
|
|
|
'Y-solowarm', |
37
|
|
|
|
|
|
|
'Tresom', |
38
|
|
|
|
|
|
|
'Voltsillam', |
39
|
|
|
|
|
|
|
'Biodex', |
40
|
|
|
|
|
|
|
'Greenlam', |
41
|
|
|
|
|
|
|
'Viva', |
42
|
|
|
|
|
|
|
'Matsoft', |
43
|
|
|
|
|
|
|
'Temp', |
44
|
|
|
|
|
|
|
'Zoolab', |
45
|
|
|
|
|
|
|
'Subin', |
46
|
|
|
|
|
|
|
'Rank', |
47
|
|
|
|
|
|
|
'Job', |
48
|
|
|
|
|
|
|
'Stringtough', |
49
|
|
|
|
|
|
|
'Tin', |
50
|
|
|
|
|
|
|
'It', |
51
|
|
|
|
|
|
|
'Home ing', |
52
|
|
|
|
|
|
|
'Zamit', |
53
|
|
|
|
|
|
|
'Sonsing', |
54
|
|
|
|
|
|
|
'Konklab', |
55
|
|
|
|
|
|
|
'Alpha', |
56
|
|
|
|
|
|
|
'Latlux', |
57
|
|
|
|
|
|
|
'Voyatouch', |
58
|
|
|
|
|
|
|
'Alphazap', |
59
|
|
|
|
|
|
|
'Holdlamis', |
60
|
|
|
|
|
|
|
'Zaam-dox', |
61
|
|
|
|
|
|
|
'Sub-ex', |
62
|
|
|
|
|
|
|
'Quo lux', |
63
|
|
|
|
|
|
|
'Bamity', |
64
|
|
|
|
|
|
|
'Ventosanzap', |
65
|
|
|
|
|
|
|
'Lotstring', |
66
|
|
|
|
|
|
|
'Hatity', |
67
|
|
|
|
|
|
|
'Tempsoft', |
68
|
|
|
|
|
|
|
'Overhold', |
69
|
|
|
|
|
|
|
'Fixflex', |
70
|
|
|
|
|
|
|
'Konklux', |
71
|
|
|
|
|
|
|
'Zontrax', |
72
|
|
|
|
|
|
|
'Tampflex', |
73
|
|
|
|
|
|
|
'Span', |
74
|
|
|
|
|
|
|
'Namfix', |
75
|
|
|
|
|
|
|
'Transcof', |
76
|
|
|
|
|
|
|
'Stim', |
77
|
|
|
|
|
|
|
'Fix san', |
78
|
|
|
|
|
|
|
'Sonair', |
79
|
|
|
|
|
|
|
'Stronghold', |
80
|
|
|
|
|
|
|
'Fintone', |
81
|
|
|
|
|
|
|
'Y-find', |
82
|
|
|
|
|
|
|
'Opela', |
83
|
|
|
|
|
|
|
'Lotlux', |
84
|
|
|
|
|
|
|
'Ronstring', |
85
|
|
|
|
|
|
|
'Zathin', |
86
|
|
|
|
|
|
|
'Duobam', |
87
|
|
|
|
|
|
|
'Keylex', |
88
|
|
|
|
|
|
|
] |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
1; |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 NAME |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Faker::Plugin::SoftwareName - Software Name |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 ABSTRACT |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Software Name for Faker |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=cut |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 VERSION |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
1.19 |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head1 SYNOPSIS |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
package main; |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
use Faker::Plugin::SoftwareName; |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::SoftwareName->new; |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::SoftwareName") |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=cut |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head1 DESCRIPTION |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
This package provides methods for generating fake data for software name. |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=encoding utf8 |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=cut |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head1 INHERITS |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
This package inherits behaviors from: |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
L |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=cut |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head1 METHODS |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
This package provides the following methods: |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=cut |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head2 execute |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
execute(HashRef $data) (Str) |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
The execute method returns a returns a random fake software name. |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
I> |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=over 4 |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=item execute example 1 |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
package main; |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
use Faker::Plugin::SoftwareName; |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::SoftwareName->new; |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::SoftwareName") |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
# "Job"; |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
# "Zamit"; |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
# "Stronghold"; |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=back |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=cut |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=head2 new |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
new(HashRef $data) (Plugin) |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
The new method returns a new instance of the class. |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
I> |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=over 4 |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
=item new example 1 |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
package main; |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
use Faker::Plugin::SoftwareName; |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::SoftwareName->new; |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::SoftwareName") |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=back |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
=cut |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
=head1 AUTHORS |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
Awncorp, C |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=cut |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
=head1 LICENSE |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
Copyright (C) 2000, Al Newkirk. |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
This program is free software, you can redistribute it and/or modify it under |
218
|
|
|
|
|
|
|
the terms of the Apache license version 2.0. |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
=cut |