Github/Repository.pm

filter: Statementstmt 15.0% 20 / 133 Branchbran 0.0% 0 / 100 Conditioncond 0.0% 0 / 9 MC/DCmcdc 0.0% 0 / 6 Subroutinesub 8.3% 6 / 72 Podpod 100% 66 / 66 totaltotal 23.8% 92 / 386 CC 54 SCAR 18.7
CC
54
Cov
8%
pushed_at
20.0
created_at
20.0
updated_at
20.0
CRAP 6.5
« Github.pm ↑ Summary Github/User.pm »
1 package Net::Async::Github::Repository;
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.013'; # 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::Repository
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 2 ▶use URI::Template ();
Subroutine BEGIN: called CC=1 SCAR=0.0
22 2 ▶use Time::Moment ();
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 =head1 METHODS
25  
26 =cut
27  
28 =head2 id
29  
30 Provides an accessor for C<id>.
31  
32 =cut
33  
34 0 ▶sub id {
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
35 shift->{id}
36 0 }
37  
38 =head2 owner
39  
40 Provides an accessor for C<owner>.
41  
42 =cut
43  
44 0 ▶sub owner {
Subroutine owner: not called CC=2 SCAR=17.9
Pod documented
45 $_[0]->{owner} =
46 Net::Async::Github::User->new($_[0]->{owner})
47 0 ▶ unless ref $_[0]->{owner};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"owner"} 0 0 0
48 shift->{owner}
49 0 }
50  
51 =head2 name
52  
53 Provides an accessor for C<name>.
54  
55 =cut
56  
57 0 ▶sub name {
Subroutine name: not called CC=1 SCAR=6.9
Pod documented
58 shift->{name}
59 0 }
60  
61 =head2 full_name
62  
63 Provides an accessor for C<full_name>.
64  
65 =cut
66  
67 0 ▶sub full_name {
Subroutine full_name: not called CC=1 SCAR=6.9
Pod documented
68 shift->{full_name}
69 0 }
70  
71 =head2 description
72  
73 Provides an accessor for C<description>.
74  
75 =cut
76  
77 0 ▶sub description {
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
78 shift->{description}
79 0 }
80  
81 =head2 private
82  
83 Provides an accessor for C<private>.
84  
85 =cut
86  
87 0 ▶sub private {
Subroutine private: not called CC=1 SCAR=6.9
Pod documented
88 shift->{private}
89 0 }
90  
91 =head2 fork
92  
93 Provides an accessor for C<fork>.
94  
95 =cut
96  
97 0 ▶sub fork {
Subroutine fork: not called CC=1 SCAR=6.9
Pod documented
98 shift->{fork}
99 0 }
100  
101 =head2 url
102  
103 Provides an accessor for C<url>.
104  
105 =cut
106  
107 0 ▶sub url {
Subroutine url: not called CC=2 SCAR=17.9
Pod documented
108 $_[0]->{url} =
109 URI::Template->new($_[0]->{url})
110 0 ▶ unless ref $_[0]->{url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"url"} 0 0 0
111 shift->{url}
112 0 }
113  
114 =head2 html_url
115  
116 Provides an accessor for C<html_url>.
117  
118 =cut
119  
120 0 ▶sub html_url {
Subroutine html_url: not called CC=2 SCAR=17.9
Pod documented
121 $_[0]->{html_url} =
122 URI::Template->new($_[0]->{html_url})
123 0 ▶ unless ref $_[0]->{html_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"html_url"} 0 0 0
124 shift->{html_url}
125 0 }
126  
127 =head2 archive_url
128  
129 Provides an accessor for C<archive_url>.
130  
131 =cut
132  
133 0 ▶sub archive_url {
Subroutine archive_url: not called CC=2 SCAR=17.9
Pod documented
134 $_[0]->{archive_url} =
135 URI::Template->new($_[0]->{archive_url})
136 0 ▶ unless ref $_[0]->{archive_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"archive_url"} 0 0 0
137 shift->{archive_url}
138 0 }
139  
140 =head2 assignees_url
141  
142 Provides an accessor for C<assignees_url>.
143  
144 =cut
145  
146 0 ▶sub assignees_url {
Subroutine assignees_url: not called CC=2 SCAR=17.9
Pod documented
147 $_[0]->{assignees_url} =
148 URI::Template->new($_[0]->{assignees_url})
149 0 ▶ unless ref $_[0]->{assignees_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"assignees_url"} 0 0 0
150 shift->{assignees_url}
151 0 }
152  
153 =head2 blobs_url
154  
155 Provides an accessor for C<blobs_url>.
156  
157 =cut
158  
159 0 ▶sub blobs_url {
Subroutine blobs_url: not called CC=2 SCAR=17.9
Pod documented
160 $_[0]->{blobs_url} =
161 URI::Template->new($_[0]->{blobs_url})
162 0 ▶ unless ref $_[0]->{blobs_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"blobs_url"} 0 0 0
163 shift->{blobs_url}
164 0 }
165  
166 =head2 branches_url
167  
168 Provides an accessor for C<branches_url>.
169  
170 =cut
171  
172 0 ▶sub branches_url {
Subroutine branches_url: not called CC=2 SCAR=17.9
Pod documented
173 $_[0]->{branches_url} =
174 URI::Template->new($_[0]->{branches_url})
175 0 ▶ unless ref $_[0]->{branches_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"branches_url"} 0 0 0
176 shift->{branches_url}
177 0 }
178  
179 =head2 clone_url
180  
181 Provides an accessor for C<clone_url>.
182  
183 =cut
184  
185 0 ▶sub clone_url {
Subroutine clone_url: not called CC=2 SCAR=17.9
Pod documented
186 $_[0]->{clone_url} =
187 URI::Template->new($_[0]->{clone_url})
188 0 ▶ unless ref $_[0]->{clone_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"clone_url"} 0 0 0
189 shift->{clone_url}
190 0 }
191  
192 =head2 collaborators_url
193  
194 Provides an accessor for C<collaborators_url>.
195  
196 =cut
197  
198 0 ▶sub collaborators_url {
Subroutine collaborators_url: not called CC=2 SCAR=17.9
Pod documented
199 $_[0]->{collaborators_url} =
200 URI::Template->new($_[0]->{collaborators_url})
201 0 ▶ unless ref $_[0]->{collaborators_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"collaborators_url"} 0 0 0
202 shift->{collaborators_url}
203 0 }
204  
205 =head2 comments_url
206  
207 Provides an accessor for C<comments_url>.
208  
209 =cut
210  
211 0 ▶sub comments_url {
Subroutine comments_url: not called CC=2 SCAR=17.9
Pod documented
212 $_[0]->{comments_url} =
213 URI::Template->new($_[0]->{comments_url})
214 0 ▶ unless ref $_[0]->{comments_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"comments_url"} 0 0 0
215 shift->{comments_url}
216 0 }
217  
218 =head2 commits_url
219  
220 Provides an accessor for C<commits_url>.
221  
222 =cut
223  
224 0 ▶sub commits_url {
Subroutine commits_url: not called CC=2 SCAR=17.9
Pod documented
225 $_[0]->{commits_url} =
226 URI::Template->new($_[0]->{commits_url})
227 0 ▶ unless ref $_[0]->{commits_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"commits_url"} 0 0 0
228 shift->{commits_url}
229 0 }
230  
231 =head2 compare_url
232  
233 Provides an accessor for C<compare_url>.
234  
235 =cut
236  
237 0 ▶sub compare_url {
Subroutine compare_url: not called CC=2 SCAR=17.9
Pod documented
238 $_[0]->{compare_url} =
239 URI::Template->new($_[0]->{compare_url})
240 0 ▶ unless ref $_[0]->{compare_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"compare_url"} 0 0 0
241 shift->{compare_url}
242 0 }
243  
244 =head2 contents_url
245  
246 Provides an accessor for C<contents_url>.
247  
248 =cut
249  
250 0 ▶sub contents_url {
Subroutine contents_url: not called CC=2 SCAR=17.9
Pod documented
251 $_[0]->{contents_url} =
252 URI::Template->new($_[0]->{contents_url})
253 0 ▶ unless ref $_[0]->{contents_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"contents_url"} 0 0 0
254 shift->{contents_url}
255 0 }
256  
257 =head2 contributors_url
258  
259 Provides an accessor for C<contributors_url>.
260  
261 =cut
262  
263 0 ▶sub contributors_url {
Subroutine contributors_url: not called CC=2 SCAR=17.9
Pod documented
264 $_[0]->{contributors_url} =
265 URI::Template->new($_[0]->{contributors_url})
266 0 ▶ unless ref $_[0]->{contributors_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"contributors_url"} 0 0 0
267 shift->{contributors_url}
268 0 }
269  
270 =head2 deployments_url
271  
272 Provides an accessor for C<deployments_url>.
273  
274 =cut
275  
276 0 ▶sub deployments_url {
Subroutine deployments_url: not called CC=2 SCAR=17.9
Pod documented
277 $_[0]->{deployments_url} =
278 URI::Template->new($_[0]->{deployments_url})
279 0 ▶ unless ref $_[0]->{deployments_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"deployments_url"} 0 0 0
280 shift->{deployments_url}
281 0 }
282  
283 =head2 downloads_url
284  
285 Provides an accessor for C<downloads_url>.
286  
287 =cut
288  
289 0 ▶sub downloads_url {
Subroutine downloads_url: not called CC=2 SCAR=17.9
Pod documented
290 $_[0]->{downloads_url} =
291 URI::Template->new($_[0]->{downloads_url})
292 0 ▶ unless ref $_[0]->{downloads_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"downloads_url"} 0 0 0
293 shift->{downloads_url}
294 0 }
295  
296 =head2 events_url
297  
298 Provides an accessor for C<events_url>.
299  
300 =cut
301  
302 0 ▶sub events_url {
Subroutine events_url: not called CC=2 SCAR=17.9
Pod documented
303 $_[0]->{events_url} =
304 URI::Template->new($_[0]->{events_url})
305 0 ▶ unless ref $_[0]->{events_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"events_url"} 0 0 0
306 shift->{events_url}
307 0 }
308  
309 =head2 forks_url
310  
311 Provides an accessor for C<forks_url>.
312  
313 =cut
314  
315 0 ▶sub forks_url {
Subroutine forks_url: not called CC=2 SCAR=17.9
Pod documented
316 $_[0]->{forks_url} =
317 URI::Template->new($_[0]->{forks_url})
318 0 ▶ unless ref $_[0]->{forks_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"forks_url"} 0 0 0
319 shift->{forks_url}
320 0 }
321  
322 =head2 git_commits_url
323  
324 Provides an accessor for C<git_commits_url>.
325  
326 =cut
327  
328 0 ▶sub git_commits_url {
Subroutine git_commits_url: not called CC=2 SCAR=17.9
Pod documented
329 $_[0]->{git_commits_url} =
330 URI::Template->new($_[0]->{git_commits_url})
331 0 ▶ unless ref $_[0]->{git_commits_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"git_commits_url"} 0 0 0
332 shift->{git_commits_url}
333 0 }
334  
335 =head2 git_refs_url
336  
337 Provides an accessor for C<git_refs_url>.
338  
339 =cut
340  
341 0 ▶sub git_refs_url {
Subroutine git_refs_url: not called CC=2 SCAR=17.9
Pod documented
342 $_[0]->{git_refs_url} =
343 URI::Template->new($_[0]->{git_refs_url})
344 0 ▶ unless ref $_[0]->{git_refs_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"git_refs_url"} 0 0 0
345 shift->{git_refs_url}
346 0 }
347  
348 =head2 git_tags_url
349  
350 Provides an accessor for C<git_tags_url>.
351  
352 =cut
353  
354 0 ▶sub git_tags_url {
Subroutine git_tags_url: not called CC=2 SCAR=17.9
Pod documented
355 $_[0]->{git_tags_url} =
356 URI::Template->new($_[0]->{git_tags_url})
357 0 ▶ unless ref $_[0]->{git_tags_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"git_tags_url"} 0 0 0
358 shift->{git_tags_url}
359 0 }
360  
361 =head2 git_url
362  
363 Provides an accessor for C<git_url>.
364  
365 =cut
366  
367 0 ▶sub git_url {
Subroutine git_url: not called CC=2 SCAR=17.9
Pod documented
368 $_[0]->{git_url} =
369 URI::Template->new($_[0]->{git_url})
370 0 ▶ unless ref $_[0]->{git_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"git_url"} 0 0 0
371 shift->{git_url}
372 0 }
373  
374 =head2 hooks_url
375  
376 Provides an accessor for C<hooks_url>.
377  
378 =cut
379  
380 0 ▶sub hooks_url {
Subroutine hooks_url: not called CC=2 SCAR=17.9
Pod documented
381 $_[0]->{hooks_url} =
382 URI::Template->new($_[0]->{hooks_url})
383 0 ▶ unless ref $_[0]->{hooks_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"hooks_url"} 0 0 0
384 shift->{hooks_url}
385 0 }
386  
387 =head2 issue_comment_url
388  
389 Provides an accessor for C<issue_comment_url>.
390  
391 =cut
392  
393 0 ▶sub issue_comment_url {
Subroutine issue_comment_url: not called CC=2 SCAR=17.9
Pod documented
394 $_[0]->{issue_comment_url} =
395 URI::Template->new($_[0]->{issue_comment_url})
396 0 ▶ unless ref $_[0]->{issue_comment_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"issue_comment_url"} 0 0 0
397 shift->{issue_comment_url}
398 0 }
399  
400 =head2 issue_events_url
401  
402 Provides an accessor for C<issue_events_url>.
403  
404 =cut
405  
406 0 ▶sub issue_events_url {
Subroutine issue_events_url: not called CC=2 SCAR=17.9
Pod documented
407 $_[0]->{issue_events_url} =
408 URI::Template->new($_[0]->{issue_events_url})
409 0 ▶ unless ref $_[0]->{issue_events_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"issue_events_url"} 0 0 0
410 shift->{issue_events_url}
411 0 }
412  
413 =head2 issues_url
414  
415 Provides an accessor for C<issues_url>.
416  
417 =cut
418  
419 0 ▶sub issues_url {
Subroutine issues_url: not called CC=2 SCAR=17.9
Pod documented
420 $_[0]->{issues_url} =
421 URI::Template->new($_[0]->{issues_url})
422 0 ▶ unless ref $_[0]->{issues_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"issues_url"} 0 0 0
423 shift->{issues_url}
424 0 }
425  
426 =head2 keys_url
427  
428 Provides an accessor for C<keys_url>.
429  
430 =cut
431  
432 0 ▶sub keys_url {
Subroutine keys_url: not called CC=2 SCAR=17.9
Pod documented
433 $_[0]->{keys_url} =
434 URI::Template->new($_[0]->{keys_url})
435 0 ▶ unless ref $_[0]->{keys_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"keys_url"} 0 0 0
436 shift->{keys_url}
437 0 }
438  
439 =head2 labels_url
440  
441 Provides an accessor for C<labels_url>.
442  
443 =cut
444  
445 0 ▶sub labels_url {
Subroutine labels_url: not called CC=2 SCAR=17.9
Pod documented
446 $_[0]->{labels_url} =
447 URI::Template->new($_[0]->{labels_url})
448 0 ▶ unless ref $_[0]->{labels_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"labels_url"} 0 0 0
449 shift->{labels_url}
450 0 }
451  
452 =head2 languages_url
453  
454 Provides an accessor for C<languages_url>.
455  
456 =cut
457  
458 0 ▶sub languages_url {
Subroutine languages_url: not called CC=2 SCAR=17.9
Pod documented
459 $_[0]->{languages_url} =
460 URI::Template->new($_[0]->{languages_url})
461 0 ▶ unless ref $_[0]->{languages_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"languages_url"} 0 0 0
462 shift->{languages_url}
463 0 }
464  
465 =head2 merges_url
466  
467 Provides an accessor for C<merges_url>.
468  
469 =cut
470  
471 0 ▶sub merges_url {
Subroutine merges_url: not called CC=2 SCAR=17.9
Pod documented
472 $_[0]->{merges_url} =
473 URI::Template->new($_[0]->{merges_url})
474 0 ▶ unless ref $_[0]->{merges_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"merges_url"} 0 0 0
475 shift->{merges_url}
476 0 }
477  
478 =head2 milestones_url
479  
480 Provides an accessor for C<milestones_url>.
481  
482 =cut
483  
484 0 ▶sub milestones_url {
Subroutine milestones_url: not called CC=2 SCAR=17.9
Pod documented
485 $_[0]->{milestones_url} =
486 URI::Template->new($_[0]->{milestones_url})
487 0 ▶ unless ref $_[0]->{milestones_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"milestones_url"} 0 0 0
488 shift->{milestones_url}
489 0 }
490  
491 =head2 mirror_url
492  
493 Provides an accessor for C<mirror_url>.
494  
495 =cut
496  
497 0 ▶sub mirror_url {
Subroutine mirror_url: not called CC=2 SCAR=17.9
Pod documented
498 $_[0]->{mirror_url} =
499 URI::Template->new($_[0]->{mirror_url})
500 0 ▶ unless ref $_[0]->{mirror_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"mirror_url"} 0 0 0
501 shift->{mirror_url}
502 0 }
503  
504 =head2 notifications_url
505  
506 Provides an accessor for C<notifications_url>.
507  
508 =cut
509  
510 0 ▶sub notifications_url {
Subroutine notifications_url: not called CC=2 SCAR=17.9
Pod documented
511 $_[0]->{notifications_url} =
512 URI::Template->new($_[0]->{notifications_url})
513 0 ▶ unless ref $_[0]->{notifications_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"notifications_url"} 0 0 0
514 shift->{notifications_url}
515 0 }
516  
517 =head2 pulls_url
518  
519 Provides an accessor for C<pulls_url>.
520  
521 =cut
522  
523 0 ▶sub pulls_url {
Subroutine pulls_url: not called CC=2 SCAR=17.9
Pod documented
524 $_[0]->{pulls_url} =
525 URI::Template->new($_[0]->{pulls_url})
526 0 ▶ unless ref $_[0]->{pulls_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"pulls_url"} 0 0 0
527 shift->{pulls_url}
528 0 }
529  
530 =head2 releases_url
531  
532 Provides an accessor for C<releases_url>.
533  
534 =cut
535  
536 0 ▶sub releases_url {
Subroutine releases_url: not called CC=2 SCAR=17.9
Pod documented
537 $_[0]->{releases_url} =
538 URI::Template->new($_[0]->{releases_url})
539 0 ▶ unless ref $_[0]->{releases_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"releases_url"} 0 0 0
540 shift->{releases_url}
541 0 }
542  
543 =head2 ssh_url
544  
545 Provides an accessor for C<ssh_url>.
546  
547 =cut
548  
549 0 ▶sub ssh_url {
Subroutine ssh_url: not called CC=2 SCAR=17.9
Pod documented
550 $_[0]->{ssh_url} =
551 URI::Template->new($_[0]->{ssh_url})
552 0 ▶ unless ref $_[0]->{ssh_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"ssh_url"} 0 0 0
553 shift->{ssh_url}
554 0 }
555  
556 =head2 stargazers_url
557  
558 Provides an accessor for C<stargazers_url>.
559  
560 =cut
561  
562 0 ▶sub stargazers_url {
Subroutine stargazers_url: not called CC=2 SCAR=17.9
Pod documented
563 $_[0]->{stargazers_url} =
564 URI::Template->new($_[0]->{stargazers_url})
565 0 ▶ unless ref $_[0]->{stargazers_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"stargazers_url"} 0 0 0
566 shift->{stargazers_url}
567 0 }
568  
569 =head2 statuses_url
570  
571 Provides an accessor for C<statuses_url>.
572  
573 =cut
574  
575 0 ▶sub statuses_url {
Subroutine statuses_url: not called CC=2 SCAR=17.9
Pod documented
576 $_[0]->{statuses_url} =
577 URI::Template->new($_[0]->{statuses_url})
578 0 ▶ unless ref $_[0]->{statuses_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"statuses_url"} 0 0 0
579 shift->{statuses_url}
580 0 }
581  
582 =head2 subscribers_url
583  
584 Provides an accessor for C<subscribers_url>.
585  
586 =cut
587  
588 0 ▶sub subscribers_url {
Subroutine subscribers_url: not called CC=2 SCAR=17.9
Pod documented
589 $_[0]->{subscribers_url} =
590 URI::Template->new($_[0]->{subscribers_url})
591 0 ▶ unless ref $_[0]->{subscribers_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"subscribers_url"} 0 0 0
592 shift->{subscribers_url}
593 0 }
594  
595 =head2 subscription_url
596  
597 Provides an accessor for C<subscription_url>.
598  
599 =cut
600  
601 0 ▶sub subscription_url {
Subroutine subscription_url: not called CC=2 SCAR=17.9
Pod documented
602 $_[0]->{subscription_url} =
603 URI::Template->new($_[0]->{subscription_url})
604 0 ▶ unless ref $_[0]->{subscription_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"subscription_url"} 0 0 0
605 shift->{subscription_url}
606 0 }
607  
608 =head2 svn_url
609  
610 Provides an accessor for C<svn_url>.
611  
612 =cut
613  
614 0 ▶sub svn_url {
Subroutine svn_url: not called CC=2 SCAR=17.9
Pod documented
615 $_[0]->{svn_url} =
616 URI::Template->new($_[0]->{svn_url})
617 0 ▶ unless ref $_[0]->{svn_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"svn_url"} 0 0 0
618 shift->{svn_url}
619 0 }
620  
621 =head2 tags_url
622  
623 Provides an accessor for C<tags_url>.
624  
625 =cut
626  
627 0 ▶sub tags_url {
Subroutine tags_url: not called CC=2 SCAR=17.9
Pod documented
628 $_[0]->{tags_url} =
629 URI::Template->new($_[0]->{tags_url})
630 0 ▶ unless ref $_[0]->{tags_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"tags_url"} 0 0 0
631 shift->{tags_url}
632 0 }
633  
634 =head2 teams_url
635  
636 Provides an accessor for C<teams_url>.
637  
638 =cut
639  
640 0 ▶sub teams_url {
Subroutine teams_url: not called CC=2 SCAR=17.9
Pod documented
641 $_[0]->{teams_url} =
642 URI::Template->new($_[0]->{teams_url})
643 0 ▶ unless ref $_[0]->{teams_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"teams_url"} 0 0 0
644 shift->{teams_url}
645 0 }
646  
647 =head2 trees_url
648  
649 Provides an accessor for C<trees_url>.
650  
651 =cut
652  
653 0 ▶sub trees_url {
Subroutine trees_url: not called CC=2 SCAR=17.9
Pod documented
654 $_[0]->{trees_url} =
655 URI::Template->new($_[0]->{trees_url})
656 0 ▶ unless ref $_[0]->{trees_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"trees_url"} 0 0 0
657 shift->{trees_url}
658 0 }
659  
660 =head2 homepage
661  
662 Provides an accessor for C<homepage>.
663  
664 =cut
665  
666 0 ▶sub homepage {
Subroutine homepage: not called CC=1 SCAR=6.9
Pod documented
667 shift->{homepage}
668 0 }
669  
670 =head2 language
671  
672 Provides an accessor for C<language>.
673  
674 =cut
675  
676 0 ▶sub language {
Subroutine language: not called CC=1 SCAR=6.9
Pod documented
677 shift->{language}
678 0 }
679  
680 =head2 forks_count
681  
682 Provides an accessor for C<forks_count>.
683  
684 =cut
685  
686 0 ▶sub forks_count {
Subroutine forks_count: not called CC=1 SCAR=6.9
Pod documented
687 shift->{forks_count}
688 0 }
689  
690 =head2 stargazers_count
691  
692 Provides an accessor for C<stargazers_count>.
693  
694 =cut
695  
696 0 ▶sub stargazers_count {
Subroutine stargazers_count: not called CC=1 SCAR=6.9
Pod documented
697 shift->{stargazers_count}
698 0 }
699  
700 =head2 watchers_count
701  
702 Provides an accessor for C<watchers_count>.
703  
704 =cut
705  
706 0 ▶sub watchers_count {
Subroutine watchers_count: not called CC=1 SCAR=6.9
Pod documented
707 shift->{watchers_count}
708 0 }
709  
710 =head2 size
711  
712 Provides an accessor for C<size>.
713  
714 =cut
715  
716 0 ▶sub size {
Subroutine size: not called CC=1 SCAR=6.9
Pod documented
717 shift->{size}
718 0 }
719  
720 =head2 default_branch
721  
722 Provides an accessor for C<default_branch>.
723  
724 =cut
725  
726 0 ▶sub default_branch {
Subroutine default_branch: not called CC=1 SCAR=6.9
Pod documented
727 shift->{default_branch}
728 0 }
729  
730 =head2 open_issues_count
731  
732 Provides an accessor for C<open_issues_count>.
733  
734 =cut
735  
736 0 ▶sub open_issues_count {
Subroutine open_issues_count: not called CC=1 SCAR=6.9
Pod documented
737 shift->{open_issues_count}
738 0 }
739  
740 =head2 has_issues
741  
742 Provides an accessor for C<has_issues>.
743  
744 =cut
745  
746 0 ▶sub has_issues {
Subroutine has_issues: not called CC=1 SCAR=6.9
Pod documented
747 shift->{has_issues}
748 0 }
749  
750 =head2 has_wiki
751  
752 Provides an accessor for C<has_wiki>.
753  
754 =cut
755  
756 0 ▶sub has_wiki {
Subroutine has_wiki: not called CC=1 SCAR=6.9
Pod documented
757 shift->{has_wiki}
758 0 }
759  
760 =head2 has_pages
761  
762 Provides an accessor for C<has_pages>.
763  
764 =cut
765  
766 0 ▶sub has_pages {
Subroutine has_pages: not called CC=1 SCAR=6.9
Pod documented
767 shift->{has_pages}
768 0 }
769  
770 =head2 has_downloads
771  
772 Provides an accessor for C<has_downloads>.
773  
774 =cut
775  
776 0 ▶sub has_downloads {
Subroutine has_downloads: not called CC=1 SCAR=6.9
Pod documented
777 shift->{has_downloads}
778 0 }
779  
780 =head2 pushed_at
781  
782 Provides an accessor for C<pushed_at>.
783  
784 =cut
785  
786 0 ▶sub pushed_at {
Subroutine pushed_at: not called CC=4 SCAR=30.0
Pod documented
787 $_[0]->{pushed_at} =
788 (defined($_[0]->{pushed_at}) && length($_[0]->{pushed_at}) ? Time::Moment->from_string($_[0]->{pushed_at}) : undef)
789 0 ▶ unless ref $_[0]->{pushed_at};
Branch: 2 branches
BranchTrueFalseTotal
unless ref $_[0]{"pushed_at"} 0 0 0
defined $_[0]{'pushed_at'} && length $_[0]{'pushed_at'} ? : 0 0 0
Condition0%0/3
defined $_[0]{"pushed_at"} and length $_[0]{"pushed_at"}
!ll&&!rl&&r
000
MC/DC0%0/2
defined $_[0]{"pushed_at"} and length $_[0]{"pushed_at"}
defined $_[0]{"pushed_at"} length $_[0]{"pushed_at"}
Truth table0%0/3
A and B
A= defined $_[0]{"pushed_at"}B= length $_[0]{"pushed_at"}
ABresult
0X0
100
111
790 shift->{pushed_at}
791 0 }
792  
793 =head2 created_at
794  
795 Provides an accessor for C<created_at>.
796  
797 =cut
798  
799 0 ▶sub created_at {
Subroutine created_at: not called CC=4 SCAR=30.0
Pod documented
800 $_[0]->{created_at} =
801 (defined($_[0]->{created_at}) && length($_[0]->{created_at}) ? Time::Moment->from_string($_[0]->{created_at}) : undef)
802 0 ▶ unless ref $_[0]->{created_at};
Branch: 2 branches
BranchTrueFalseTotal
unless ref $_[0]{"created_at"} 0 0 0
defined $_[0]{'created_at'} && length $_[0]{'created_at'} ? : 0 0 0
Condition0%0/3
defined $_[0]{"created_at"} and length $_[0]{"created_at"}
!ll&&!rl&&r
000
MC/DC0%0/2
defined $_[0]{"created_at"} and length $_[0]{"created_at"}
defined $_[0]{"created_at"} length $_[0]{"created_at"}
Truth table0%0/3
A and B
A= defined $_[0]{"created_at"}B= length $_[0]{"created_at"}
ABresult
0X0
100
111
803 shift->{created_at}
804 0 }
805  
806 =head2 updated_at
807  
808 Provides an accessor for C<updated_at>.
809  
810 =cut
811  
812 0 ▶sub updated_at {
Subroutine updated_at: not called CC=4 SCAR=30.0
Pod documented
813 $_[0]->{updated_at} =
814 (defined($_[0]->{updated_at}) && length($_[0]->{updated_at}) ? Time::Moment->from_string($_[0]->{updated_at}) : undef)
815 0 ▶ unless ref $_[0]->{updated_at};
Branch: 2 branches
BranchTrueFalseTotal
unless ref $_[0]{"updated_at"} 0 0 0
defined $_[0]{'updated_at'} && length $_[0]{'updated_at'} ? : 0 0 0
Condition0%0/3
defined $_[0]{"updated_at"} and length $_[0]{"updated_at"}
!ll&&!rl&&r
000
MC/DC0%0/2
defined $_[0]{"updated_at"} and length $_[0]{"updated_at"}
defined $_[0]{"updated_at"} length $_[0]{"updated_at"}
Truth table0%0/3
A and B
A= defined $_[0]{"updated_at"}B= length $_[0]{"updated_at"}
ABresult
0X0
100
111
816 shift->{updated_at}
817 0 }
818  
819 =head2 permissions
820  
821 Provides an accessor for C<permissions>.
822  
823 =cut
824  
825 0 ▶sub permissions {
Subroutine permissions: not called CC=1 SCAR=6.9
Pod documented
826 shift->{permissions}
827 0 }
828  
829 2 1;
830  
« Github.pm ↑ Summary Github/User.pm »