File Coverage

blib/lib/Faker/Plugin/EnUs/JargonNoun.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 1 2 50.0
total 21 22 95.4


line stmt bran cond sub pod time code
1             package Faker::Plugin::EnUs::JargonNoun;
2              
3 3     3   22344 use 5.018;
  3         11  
4              
5 3     3   18 use strict;
  3         7  
  3         68  
6 3     3   16 use warnings;
  3         8  
  3         78  
7              
8 3     3   16 use Venus::Class 'base';
  3         7  
  3         18  
9              
10             base 'Faker::Plugin::EnUs';
11              
12             # VERSION
13              
14             our $VERSION = '1.18';
15              
16             # METHODS
17              
18             sub execute {
19 13     13 1 1111 my ($self, $data) = @_;
20              
21 13         45 return $self->faker->random->select(data_for_jargon_noun());
22             }
23              
24             sub data_for_jargon_noun {
25 13     13 0 95 state $jargon_noun = [
26             'synergies',
27             'web-readiness',
28             'paradigms',
29             'markets',
30             'partnerships',
31             'infrastructures',
32             'platforms',
33             'initiatives',
34             'channels',
35             'eyeballs',
36             'communities',
37             'ROI',
38             'solutions',
39             'e-tailers',
40             'e-services',
41             'action-items',
42             'portals',
43             'niches',
44             'technologies',
45             'content',
46             'vortals',
47             'supply-chains',
48             'convergence',
49             'relationships',
50             'architectures',
51             'interfaces',
52             'e-markets',
53             'e-commerce',
54             'systems',
55             'bandwidth',
56             'infomediaries',
57             'models',
58             'mindshare',
59             'deliverables',
60             'users',
61             'schemas',
62             'networks',
63             'applications',
64             'metrics',
65             'e-business',
66             'functionalities',
67             'experiences',
68             'webservices',
69             'methodologies',
70             ]
71             }
72              
73             1;
74              
75              
76              
77             =head1 NAME
78              
79             Faker::Plugin::EnUs::JargonNoun - Jargon Noun
80              
81             =cut
82              
83             =head1 ABSTRACT
84              
85             Jargon Noun for Faker
86              
87             =cut
88              
89             =head1 VERSION
90              
91             1.18
92              
93             =cut
94              
95             =head1 SYNOPSIS
96              
97             package main;
98              
99             use Faker::Plugin::EnUs::JargonNoun;
100              
101             my $plugin = Faker::Plugin::EnUs::JargonNoun->new;
102              
103             # bless(..., "Faker::Plugin::EnUs::JargonNoun")
104              
105             =cut
106              
107             =head1 DESCRIPTION
108              
109             This package provides methods for generating fake data for jargon noun.
110              
111             =encoding utf8
112              
113             =cut
114              
115             =head1 INHERITS
116              
117             This package inherits behaviors from:
118              
119             L
120              
121             =cut
122              
123             =head1 METHODS
124              
125             This package provides the following methods:
126              
127             =cut
128              
129             =head2 execute
130              
131             execute(HashRef $data) (Str)
132              
133             The execute method returns a returns a random fake jargon noun.
134              
135             I>
136              
137             =over 4
138              
139             =item execute example 1
140              
141             package main;
142              
143             use Faker::Plugin::EnUs::JargonNoun;
144              
145             my $plugin = Faker::Plugin::EnUs::JargonNoun->new;
146              
147             # bless(..., "Faker::Plugin::EnUs::JargonNoun")
148              
149             # my $result = $plugin->execute;
150              
151             # "action-items";
152              
153             # my $result = $plugin->execute;
154              
155             # "technologies";
156              
157             # my $result = $plugin->execute;
158              
159             # "applications";
160              
161             =back
162              
163             =cut
164              
165             =head2 new
166              
167             new(HashRef $data) (Plugin)
168              
169             The new method returns a new instance of the class.
170              
171             I>
172              
173             =over 4
174              
175             =item new example 1
176              
177             package main;
178              
179             use Faker::Plugin::EnUs::JargonNoun;
180              
181             my $plugin = Faker::Plugin::EnUs::JargonNoun->new;
182              
183             # bless(..., "Faker::Plugin::EnUs::JargonNoun")
184              
185             =back
186              
187             =cut
188              
189             =head1 AUTHORS
190              
191             Awncorp, C
192              
193             =cut
194              
195             =head1 LICENSE
196              
197             Copyright (C) 2000, Al Newkirk.
198              
199             This program is free software, you can redistribute it and/or modify it under
200             the terms of the Apache license version 2.0.
201              
202             =cut