Github/PullRequest.pm

filter: Statementstmt 36.8% 14 / 38 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 15.3% 4 / 26 Podpod 100% 22 / 22 totaltotal 44.4% 40 / 90 CC 3 SCAR 8.9
CC
3
Cov
33%
user
6.0
assignee
6.0
url
2.0
CRAP 2.4
« Github/Team.pm ↑ Summary Github/RateLimit/Core.pm »
1 package Net::Async::Github::PullRequest;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = '0.011'; # VERSION
7  
8 2 ▶use parent qw(Net::Async::Github::Common);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 =head1 NAME
11  
12 Net::Async::Github::PullRequest
13  
14 =head1 DESCRIPTION
15  
16 Autogenerated module.
17  
18 =cut
19  
20 2 ▶use Net::Async::Github::User ();
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 =head1 METHODS
23  
24 =cut
25  
26 =head2 url
27  
28 Provides an accessor for C<url>.
29  
30 =cut
31  
32 sub url {
33 shift->{url}
34 0 ▶}
Subroutine url: not called CC=1 SCAR=6.9
Pod documented
35  
36 =head2 id
37  
38 Provides an accessor for C<id>.
39  
40 =cut
41  
42 sub id {
43 shift->{id}
44 0 ▶}
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
45  
46 =head2 node_id
47  
48 Provides an accessor for C<node_id>.
49  
50 =cut
51  
52 sub node_id {
53 shift->{node_id}
54 0 ▶}
Subroutine node_id: not called CC=1 SCAR=6.9
Pod documented
55  
56 =head2 number
57  
58 Provides an accessor for C<number>.
59  
60 =cut
61  
62 sub number {
63 shift->{number}
64 0 ▶}
Subroutine number: not called CC=1 SCAR=6.9
Pod documented
65  
66 =head2 state
67  
68 Provides an accessor for C<state>.
69  
70 =cut
71  
72 sub state {
73 shift->{state}
74 0 ▶}
Subroutine state: not called CC=1 SCAR=6.9
Pod documented
75  
76 =head2 locked
77  
78 Provides an accessor for C<locked>.
79  
80 =cut
81  
82 sub locked {
83 shift->{locked}
84 0 ▶}
Subroutine locked: not called CC=1 SCAR=6.9
Pod documented
85  
86 =head2 title
87  
88 Provides an accessor for C<title>.
89  
90 =cut
91  
92 sub title {
93 shift->{title}
94 0 ▶}
Subroutine title: not called CC=1 SCAR=6.9
Pod documented
95  
96 =head2 user
97  
98 Provides an accessor for C<user>.
99  
100 =cut
101  
102 sub user {
103 $_[0]->{user} =
104 Net::Async::Github::User->new($_[0]->{user})
105 0 ▶ unless ref $_[0]->{user};
Subroutine user: not called CC=2 SCAR=17.9
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"user"} 0 0 0
106 shift->{user}
107 0 }
108  
109 =head2 body
110  
111 Provides an accessor for C<body>.
112  
113 =cut
114  
115 sub body {
116 shift->{body}
117 0 ▶}
Subroutine body: not called CC=1 SCAR=6.9
Pod documented
118  
119 =head2 labels
120  
121 Provides an accessor for C<labels>.
122  
123 =cut
124  
125 sub labels {
126 shift->{labels}
127 0 ▶}
Subroutine labels: not called CC=1 SCAR=6.9
Pod documented
128  
129 =head2 milestone
130  
131 Provides an accessor for C<milestone>.
132  
133 =cut
134  
135 sub milestone {
136 shift->{milestone}
137 0 ▶}
Subroutine milestone: not called CC=1 SCAR=6.9
Pod documented
138  
139 =head2 created_at
140  
141 Provides an accessor for C<created_at>.
142  
143 =cut
144  
145 sub created_at {
146 shift->{created_at}
147 0 ▶}
Subroutine created_at: not called CC=1 SCAR=6.9
Pod documented
148  
149 =head2 updated_at
150  
151 Provides an accessor for C<updated_at>.
152  
153 =cut
154  
155 sub updated_at {
156 shift->{updated_at}
157 0 ▶}
Subroutine updated_at: not called CC=1 SCAR=6.9
Pod documented
158  
159 =head2 closed_at
160  
161 Provides an accessor for C<closed_at>.
162  
163 =cut
164  
165 sub closed_at {
166 shift->{closed_at}
167 0 ▶}
Subroutine closed_at: not called CC=1 SCAR=6.9
Pod documented
168  
169 =head2 merged_at
170  
171 Provides an accessor for C<merged_at>.
172  
173 =cut
174  
175 sub merged_at {
176 shift->{merged_at}
177 0 ▶}
Subroutine merged_at: not called CC=1 SCAR=6.9
Pod documented
178  
179 =head2 merge_commit_sha
180  
181 Provides an accessor for C<merge_commit_sha>.
182  
183 =cut
184  
185 sub merge_commit_sha {
186 shift->{merge_commit_sha}
187 0 ▶}
Subroutine merge_commit_sha: not called CC=1 SCAR=6.9
Pod documented
188  
189 =head2 mergeable
190  
191 Provides an accessor for C<mergeable>.
192  
193 =cut
194  
195 sub mergeable {
196 shift->{mergeable}
197 0 ▶}
Subroutine mergeable: not called CC=1 SCAR=6.9
Pod documented
198  
199 =head2 merged
200  
201 Provides an accessor for C<merged>.
202  
203 =cut
204  
205 sub merged {
206 shift->{merged}
207 0 ▶}
Subroutine merged: not called CC=1 SCAR=6.9
Pod documented
208  
209 =head2 assignee
210  
211 Provides an accessor for C<assignee>.
212  
213 =cut
214  
215 sub assignee {
216 $_[0]->{assignee} =
217 Net::Async::Github::User->new($_[0]->{assignee})
218 0 ▶ unless ref $_[0]->{assignee};
Subroutine assignee: not called CC=2 SCAR=17.9
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"assignee"} 0 0 0
219 shift->{assignee}
220 0 }
221  
222 =head2 head
223  
224 Provides an accessor for C<head>.
225  
226 =cut
227  
228 sub head {
229 shift->{head}
230 0 ▶}
Subroutine head: not called CC=1 SCAR=6.9
Pod documented
231  
232 =head2 base
233  
234 Provides an accessor for C<base>.
235  
236 =cut
237  
238 sub base {
239 shift->{base}
240 0 ▶}
Subroutine base: not called CC=1 SCAR=6.9
Pod documented
241  
242 =head2 author_association
243  
244 Provides an accessor for C<author_association>.
245  
246 =cut
247  
248 sub author_association {
249 shift->{author_association}
250 0 ▶}
Subroutine author_association: not called CC=1 SCAR=6.9
Pod documented
251  
252 2 1;
253  
« Github/Team.pm ↑ Summary Github/RateLimit/Core.pm »