blib/lib/Acme/Nothing.pm

filter: Statementstmt 100% 18 / 18 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 96.0% 24 / 25 CC 2 SCAR 3.0
CC
2
Cov
95%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
↑ Summary
1 package Acme::Nothing;
2 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 $Acme::Nothing::VERSION = '0.03';
4 }
5 # ABSTRACT: No more module loading!
6  
7 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 open my $fh, '<', \$Acme::Nothing::VERSION;
12 1 close $fh;
13  
14 1 ▶@INC = sub {
Subroutine __ANON__: called CC=2 SCAR=7.1
15 1 $INC{ $_[1] } = $_[1];
16 1 ▶ open my $fh, '<', \!$[ or die;
Branch: 1 branch
BranchTrueFalseTotal
or die 1 0 1
17 1 return $fh;
18 1 };
19  
20 1 Internals::SvREADONLY( $_, 1 ) for @INC;
21 1 Internals::SvREADONLY( @INC, 1 );
22  
23 1 () = .0
24  
25 __END__
↑ Summary