Faker/Plugin/EnUs/CompanyTagline.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Faker/Plugin/EnUs/CompanyDescription.pm ↑ Summary Faker/Plugin/EnUs/InternetDomainName.pm »
1 package Faker::Plugin::EnUs::CompanyTagline;
2  
3 2 ▶use 5.018;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶use Venus::Class 'base';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 base 'Faker::Plugin::EnUs';
11  
12 # VERSION
13  
14 2 our $VERSION = '1.19';
15  
16 # METHODS
17  
18 7 ▶sub execute {
Subroutine execute: called CC=1 SCAR=0.0
Pod documented
19 7 my ($self, $data) = @_;
20  
21 7 return join ' ',
22 $self->faker->jargon_verb,
23 $self->faker->jargon_adjective,
24 $self->faker->jargon_noun,
25 }
26  
27 2 1;
28  
29  
30  
31 =head1 NAME
32  
33 Faker::Plugin::EnUs::CompanyTagline - Company Tagline
34  
35 =cut
36  
37 =head1 ABSTRACT
38  
39 Company Tagline for Faker
40  
41 =cut
42  
43 =head1 VERSION
44  
45 1.19
46  
47 =cut
48  
49 =head1 SYNOPSIS
50  
51 package main;
52  
53 use Faker::Plugin::EnUs::CompanyTagline;
54  
55 my $plugin = Faker::Plugin::EnUs::CompanyTagline->new;
56  
57 # bless(..., "Faker::Plugin::EnUs::CompanyTagline")
58  
59 =cut
60  
61 =head1 DESCRIPTION
62  
63 This package provides methods for generating fake data for company tagline.
64  
65 =encoding utf8
66  
67 =cut
68  
69 =head1 INHERITS
70  
71 This package inherits behaviors from:
72  
73 L<Faker::Plugin::EnUs>
74  
75 =cut
76  
77 =head1 METHODS
78  
79 This package provides the following methods:
80  
81 =cut
82  
83 =head2 execute
84  
85 execute(HashRef $data) (Str)
86  
87 The execute method returns a returns a random fake company tagline.
88  
89 I<Since C<1.10>>
90  
91 =over 4
92  
93 =item execute example 1
94  
95 package main;
96  
97 use Faker::Plugin::EnUs::CompanyTagline;
98  
99 my $plugin = Faker::Plugin::EnUs::CompanyTagline->new;
100  
101 # bless(..., "Faker::Plugin::EnUs::CompanyTagline")
102  
103 # my $result = $plugin->execute;
104  
105 # "transform revolutionary supply-chains";
106  
107 # my $result = $plugin->execute;
108  
109 # "generate front-end web-readiness";
110  
111 # my $result = $plugin->execute;
112  
113 # "iterate back-end content";
114  
115 =back
116  
117 =cut
118  
119 =head2 new
120  
121 new(HashRef $data) (Plugin)
122  
123 The new method returns a new instance of the class.
124  
125 I<Since C<1.10>>
126  
127 =over 4
128  
129 =item new example 1
130  
131 package main;
132  
133 use Faker::Plugin::EnUs::CompanyTagline;
134  
135 my $plugin = Faker::Plugin::EnUs::CompanyTagline->new;
136  
137 # bless(..., "Faker::Plugin::EnUs::CompanyTagline")
138  
139 =back
140  
141 =cut
142  
143 =head1 AUTHORS
144  
145 Awncorp, C<awncorp@cpan.org>
146  
147 =cut
148  
149 =head1 LICENSE
150  
151 Copyright (C) 2000, Al Newkirk.
152  
153 This program is free software, you can redistribute it and/or modify it under
154 the terms of the Apache license version 2.0.
155  
156 =cut
« Faker/Plugin/EnUs/CompanyDescription.pm ↑ Summary Faker/Plugin/EnUs/InternetDomainName.pm »