lib/Shell/Amazon/S3/Utils.pm

filter: Statementstmt 63.6% 7 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 60.0% 9 / 15 SCAR 0.5
CC
1
Cov
64%
classsuffix
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« script/psh3ll.pl ↑ Summary
1 package Shell::Amazon::S3::Utils;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 sub classsuffix {
6 0 ▶ my ( $class, $class_name ) = @_;
Subroutine classsuffix: not called CC=1 SCAR=6.9
Pod undocumented
7 0 my @parts = split '::', lc $class_name;
8 0 my $suffix = pop @parts;
9 0 return $suffix;
10 }
11  
12 1 1;
« script/psh3ll.pl ↑ Summary