blib/lib/ExtUtils/testlib.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package ExtUtils::testlib;
2  
3 use strict;
4 use warnings;
5  
6 our $VERSION = '7.13_01';
7 $VERSION = eval $VERSION;
8  
9 use Cwd;
10 use File::Spec;
11  
12 # So the tests can chdir around and not break @INC.
13 # We use getcwd() because otherwise rel2abs will blow up under taint
14 # mode pre-5.8. We detaint is so @INC won't be tainted. This is
15 # no worse, and probably better, than just shoving an untainted,
16 # relative "blib/lib" onto @INC.
17 my $cwd;
18 BEGIN {
19 ($cwd) = getcwd() =~ /(.*)/;
20 }
21 use lib map { File::Spec->rel2abs($_, $cwd) } qw(blib/arch blib/lib);
22 1;
23 __END__