Faker/Plugin/JaJp/JargonAdverb.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 50.0% 1 / 2 totaltotal 96.0% 24 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Faker/Plugin/JaJp/JargonAdjective.pm ↑ Summary Faker/Plugin/JaJp/JargonNoun.pm »
1 package Faker::Plugin::JaJp::JargonAdverb;
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::JaJp';
11  
12 # VERSION
13  
14 2 our $VERSION = '1.19';
15  
16 # METHODS
17  
18 6 ▶sub execute {
Subroutine execute: called CC=1 SCAR=0.0
Pod documented
19 6 my ($self, $data) = @_;
20  
21 6 return $self->faker->random->select(data_for_jargon_adverb());
22 }
23  
24 6 ▶sub data_for_jargon_adverb {
Subroutine data_for_jargon_adverb: called CC=1 SCAR=0.0
Pod undocumented
25 6 state $jargon_adverb = [
26 'アダプティブ',
27 '高度',
28 '改善した',
29 '同化した',
30 '自動化',
31 'バランスの取れた',
32 'ビジネス重視',
33 '一元化された',
34 '複製された',
35 '互換性',
36 '設定可能',
37 ]
38 }
39  
40 2 1;
41  
42  
43  
44 =head1 NAME
45  
46 Faker::Plugin::JaJp::JargonAdverb - Jargon Adverb
47  
48 =cut
49  
50 =head1 ABSTRACT
51  
52 Jargon Adverb for Faker
53  
54 =cut
55  
56 =head1 VERSION
57  
58 1.19
59  
60 =cut
61  
62 =head1 SYNOPSIS
63  
64 package main;
65  
66 use Faker::Plugin::JaJp::JargonAdverb;
67  
68 my $plugin = Faker::Plugin::JaJp::JargonAdverb->new;
69  
70 # bless(..., "Faker::Plugin::JaJp::JargonAdverb")
71  
72 =cut
73  
74 =head1 DESCRIPTION
75  
76 This package provides methods for generating fake data for jargon adverb.
77  
78 =encoding utf8
79  
80 =cut
81  
82 =head1 INHERITS
83  
84 This package inherits behaviors from:
85  
86 L<Faker::Plugin::JaJp>
87  
88 =cut
89  
90 =head1 METHODS
91  
92 This package provides the following methods:
93  
94 =cut
95  
96 =head2 execute
97  
98 execute(HashRef $data) (Str)
99  
100 The execute method returns a returns a random fake jargon adverb.
101  
102 I<Since C<1.10>>
103  
104 =over 4
105  
106 =item execute example 1
107  
108 package main;
109  
110 use Faker::Plugin::JaJp::JargonAdverb;
111  
112 my $plugin = Faker::Plugin::JaJp::JargonAdverb->new;
113  
114 # bless(..., "Faker::Plugin::JaJp::JargonAdverb")
115  
116 # my $result = $plugin->execute;
117  
118 # '同化した';
119  
120 # my $result = $plugin->execute;
121  
122 # '自動化';
123  
124 # my $result = $plugin->execute;
125  
126 # '互換性';
127  
128 =back
129  
130 =cut
131  
132 =head2 new
133  
134 new(HashRef $data) (Plugin)
135  
136 The new method returns a new instance of the class.
137  
138 I<Since C<1.10>>
139  
140 =over 4
141  
142 =item new example 1
143  
144 package main;
145  
146 use Faker::Plugin::JaJp::JargonAdverb;
147  
148 my $plugin = Faker::Plugin::JaJp::JargonAdverb->new;
149  
150 # bless(..., "Faker::Plugin::JaJp::JargonAdverb")
151  
152 =back
153  
154 =cut
155  
156 =head1 AUTHORS
157  
158 Awncorp, C<awncorp@cpan.org>
159  
160 =cut
161  
162 =head1 LICENSE
163  
164 Copyright (C) 2000, Al Newkirk.
165  
166 This program is free software, you can redistribute it and/or modify it under
167 the terms of the Apache license version 2.0.
168  
169 =cut
« Faker/Plugin/JaJp/JargonAdjective.pm ↑ Summary Faker/Plugin/JaJp/JargonNoun.pm »