/usr/local/lib/perl5/5.44.0/SelectSaver.pm

filter: Statementstmt 50.0% 5 / 10 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 1 totaltotal 41.1% 7 / 17 CC 3 SCAR 19.0
CC
3
Cov
42%
new
12.0
DESTROY
2.0
BEGIN
1.0
CRAP 6.7
« /usr/local/lib/perl5/5.44.0/Digest/base.pm ↑ Summary /usr/local/lib/perl5/site_perl/5.44.0/Moo/Object.pm »
1 package SelectSaver 1.03;
2  
3 7 ▶use v5.40;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 7 ▶use Symbol 'qualify';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 0 ▶sub new ($class, $filehandle = undef) {
Subroutine new: not called CC=3 SCAR=24.8
Pod undocumented
8 0 my $fh = select;
9 0 ▶ select qualify $filehandle, caller if defined $filehandle;
Branch: 1 branch
BranchTrueFalseTotal
if defined $filehandle 0 0 0
10 0 return bless \$fh, $class;
11 }
12  
13 0 ▶sub DESTROY ($self) { select $$self }
Subroutine DESTROY: not called CC=1 SCAR=6.9
14  
15 __END__
« /usr/local/lib/perl5/5.44.0/Digest/base.pm ↑ Summary /usr/local/lib/perl5/site_perl/5.44.0/Moo/Object.pm »