APIClient/Response.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 92.8% 13 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
« APIClient/Transport.pm ↑ Summary APIClient/Utils/HTTPRequest.pm »
1 package cPanel::APIClient::Response;
2  
3 # Copyright 2020 cPanel, L. L. C.
4 # All rights reserved.
5 # http://cpanel.net
6 #
7 # This is free software; you can redistribute it and/or modify it under the
8 # same terms as Perl itself. See L<perlartistic>.
9  
10 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 5 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
14 5 my ( $class, $struct_hr ) = @_;
15  
16 5 my %self = %$struct_hr;
17  
18 5 return bless \%self, $class;
19 }
20  
21 3 1;
« APIClient/Transport.pm ↑ Summary APIClient/Utils/HTTPRequest.pm »