Github/Team.pm

filter: Statementstmt 56.0% 14 / 25 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 30.7% 4 / 13 Podpod 100% 9 / 9 totaltotal 52.9% 27 / 51 SCAR 14.5
CC
3
Cov
48%
members_url
6.0
repositories_url
6.0
name
2.0
CRAP 4.2
« Github/PullRequest.pm ↑ Summary Github/Common.pm »
1 package Net::Async::Github::Team;
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.010'; # 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::Team
13  
14 =head1 DESCRIPTION
15  
16 Autogenerated module.
17  
18 =cut
19  
20 2 ▶use URI::Template ();
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 =head1 METHODS
23  
24 =cut
25  
26 =head2 name
27  
28 Provides an accessor for C<name>.
29  
30 =cut
31  
32 sub name {
33 shift->{name}
34 0 ▶}
Subroutine name: not called CC=1 SCAR=6.9
Pod documented
35  
36 =head2 slug
37  
38 Provides an accessor for C<slug>.
39  
40 =cut
41  
42 sub slug {
43 shift->{slug}
44 0 ▶}
Subroutine slug: not called CC=1 SCAR=6.9
Pod documented
45  
46 =head2 description
47  
48 Provides an accessor for C<description>.
49  
50 =cut
51  
52 sub description {
53 shift->{description}
54 0 ▶}
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
55  
56 =head2 privacy
57  
58 Provides an accessor for C<privacy>.
59  
60 =cut
61  
62 sub privacy {
63 shift->{privacy}
64 0 ▶}
Subroutine privacy: not called CC=1 SCAR=6.9
Pod documented
65  
66 =head2 permission
67  
68 Provides an accessor for C<permission>.
69  
70 =cut
71  
72 sub permission {
73 shift->{permission}
74 0 ▶}
Subroutine permission: not called CC=1 SCAR=6.9
Pod documented
75  
76 =head2 id
77  
78 Provides an accessor for C<id>.
79  
80 =cut
81  
82 sub id {
83 shift->{id}
84 0 ▶}
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
85  
86 =head2 url
87  
88 Provides an accessor for C<url>.
89  
90 =cut
91  
92 sub url {
93 shift->{url}
94 0 ▶}
Subroutine url: not called CC=1 SCAR=6.9
Pod documented
95  
96 =head2 members_url
97  
98 Provides an accessor for C<members_url>.
99  
100 =cut
101  
102 sub members_url {
103 $_[0]->{members_url} =
104 URI::Template->new($_[0]->{members_url})
105 0 ▶ unless ref $_[0]->{members_url};
Subroutine members_url: not called CC=2 SCAR=17.9
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"members_url"} 0 0 0
106 shift->{members_url}
107 0 }
108  
109 =head2 repositories_url
110  
111 Provides an accessor for C<repositories_url>.
112  
113 =cut
114  
115 sub repositories_url {
116 $_[0]->{repositories_url} =
117 URI::Template->new($_[0]->{repositories_url})
118 0 ▶ unless ref $_[0]->{repositories_url};
Subroutine repositories_url: not called CC=2 SCAR=17.9
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"repositories_url"} 0 0 0
119 shift->{repositories_url}
120 0 }
121  
122 2 1;
123  
« Github/PullRequest.pm ↑ Summary Github/Common.pm »