blib/lib/URI/s3.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 2 totaltotal 93.1% 27 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package URI::s3;
2 2 ▶use 5.008001;
Subroutine BEGIN: called CC=1 SCAR=0.0
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 2 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 ▶use parent qw/URI::_server/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 our $VERSION = version->declare('v0.2');
10  
11 1 ▶sub bucket { shift->host }
Subroutine bucket: called CC=1 SCAR=0.0
Pod undocumented
12  
13 1 ▶sub key {
Subroutine key: called CC=1 SCAR=0.0
Pod undocumented
14 1 my $self = shift;
15 1 (my $key = $self->path) =~ s!^/!!;
16 1 return $key;
17 }
18  
19 2 1;
20 __END__
↑ Summary