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 CC 3 SCAR 10.3
CC
3
Cov
48%
members_url
6.0
repositories_url
6.0
name
2.0
CRAP 2.8
« Github/Common.pm ↑ Summary Github/PullRequest.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.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::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 0 ▶sub name {
Subroutine name: not called CC=1 SCAR=6.9
Pod documented
33 shift->{name}
34 0 }
35  
36 =head2 slug
37  
38 Provides an accessor for C<slug>.
39  
40 =cut
41  
42 0 ▶sub slug {
Subroutine slug: not called CC=1 SCAR=6.9
Pod documented
43 shift->{slug}
44 0 }
45  
46 =head2 description
47  
48 Provides an accessor for C<description>.
49  
50 =cut
51  
52 0 ▶sub description {
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
53 shift->{description}
54 0 }
55  
56 =head2 privacy
57  
58 Provides an accessor for C<privacy>.
59  
60 =cut
61  
62 0 ▶sub privacy {
Subroutine privacy: not called CC=1 SCAR=6.9
Pod documented
63 shift->{privacy}
64 0 }
65  
66 =head2 permission
67  
68 Provides an accessor for C<permission>.
69  
70 =cut
71  
72 0 ▶sub permission {
Subroutine permission: not called CC=1 SCAR=6.9
Pod documented
73 shift->{permission}
74 0 }
75  
76 =head2 id
77  
78 Provides an accessor for C<id>.
79  
80 =cut
81  
82 0 ▶sub id {
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
83 shift->{id}
84 0 }
85  
86 =head2 url
87  
88 Provides an accessor for C<url>.
89  
90 =cut
91  
92 0 ▶sub url {
Subroutine url: not called CC=1 SCAR=6.9
Pod documented
93 shift->{url}
94 0 }
95  
96 =head2 members_url
97  
98 Provides an accessor for C<members_url>.
99  
100 =cut
101  
102 0 ▶sub members_url {
Subroutine members_url: not called CC=2 SCAR=17.9
Pod documented
103 $_[0]->{members_url} =
104 URI::Template->new($_[0]->{members_url})
105 0 ▶ unless ref $_[0]->{members_url};
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 0 ▶sub repositories_url {
Subroutine repositories_url: not called CC=2 SCAR=17.9
Pod documented
116 $_[0]->{repositories_url} =
117 URI::Template->new($_[0]->{repositories_url})
118 0 ▶ unless ref $_[0]->{repositories_url};
Branch: 1 branch
BranchTrueFalseTotal
unless ref $_[0]{"repositories_url"} 0 0 0
119 shift->{repositories_url}
120 0 }
121  
122 2 1;
123  
« Github/Common.pm ↑ Summary Github/PullRequest.pm »