Net/Amazon/S3/Request/Role/HTTP/Header/ACL.pm

filter: Statementstmt 100% 15 / 15 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 21 / 21 SCAR 6.9
CC
2
Cov
100%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« Net/Amazon/S3/Error/Handler/Status.pm ↑ Summary Net/Amazon/S3/Request/Role/HTTP/Method.pm »
1 package Net::Amazon::S3::Request::Role::HTTP::Header::ACL;
2 # ABSTRACT: Headers builders for ACL
3 99 $Net::Amazon::S3::Request::Role::HTTP::Header::ACL::VERSION = '0.991';
4 99 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 99 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 99 ▶use Carp ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 99 with 'Net::Amazon::S3::Role::ACL';
10  
11 around _request_headers => sub {
12 199 ▶ my ($inner, $self) = @_;
Subroutine __ANON__: called CC=2 SCAR=6.9
13  
14 return +(
15 199 ▶ $self->$inner,
Branch: 1 branch
BranchTrueFalseTotal
$self->acl ? : 131 68 199
16 $self->acl ? $self->acl->build_headers : (),
17 );
18 99 };
19  
20 99 1;
21  
22 __END__
23  
24 =pod
25  
26 =encoding UTF-8
27  
28 =head1 NAME
29  
30 Net::Amazon::S3::Request::Role::HTTP::Header::ACL - Headers builders for ACL
31  
32 =head1 VERSION
33  
34 version 0.991
35  
36 =head1 AUTHOR
37  
38 Branislav Zahradník <barney@cpan.org>
39  
40 =head1 COPYRIGHT AND LICENSE
41  
42 This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
43  
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46  
47 =cut
« Net/Amazon/S3/Error/Handler/Status.pm ↑ Summary Net/Amazon/S3/Request/Role/HTTP/Method.pm »