RestApi/CalendarApi3/Colors.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 66.6% 4 / 6 totaltotal 73.3% 22 / 30 CC 1 SCAR 2.5
CC
1
Cov
76%
calendar_colors
2.0
event_colors
2.0
BEGIN
1.0
CRAP 1.3
« RestApi/DriveApi3/Reply.pm ↑ Summary RestApi/DriveApi3/About.pm »
1 package Google::RestApi::CalendarApi3::Colors;
2  
3 2 our $VERSION = '2.2.5';
4  
5 2 ▶use Google::RestApi::Setup;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
8 3 my $class = shift;
9 3 state $check = signature(
10 bless => !!0,
11 named => [
12 calendar_api => HasApi,
13 ],
14 );
15 3 return bless $check->(@_), $class;
16 }
17  
18 1 ▶sub api {
Subroutine api: called CC=1 SCAR=0.0
Pod undocumented
19 1 my $self = shift;
20 1 return $self->calendar_api()->api(uri => 'colors', @_);
21 }
22  
23 1 ▶sub get {
Subroutine get: called CC=1 SCAR=0.0
Pod documented
24 1 my $self = shift;
25 1 return $self->api();
26 }
27  
28 0 ▶sub calendar_colors {
Subroutine calendar_colors: not called CC=1 SCAR=6.9
Pod documented
29 0 my $self = shift;
30 0 return $self->get()->{calendar};
31 }
32  
33 0 ▶sub event_colors {
Subroutine event_colors: not called CC=1 SCAR=6.9
Pod documented
34 0 my $self = shift;
35 0 return $self->get()->{event};
36 }
37  
38 1 ▶sub calendar_api { shift->{calendar_api}; }
Subroutine calendar_api: called CC=1 SCAR=0.0
Pod documented
39  
40 2 1;
41  
42 __END__
« RestApi/DriveApi3/Reply.pm ↑ Summary RestApi/DriveApi3/About.pm »