blib/lib/Module/Install/Bundle/LocalLib.pm

filter: Statementstmt 78.5% 11 / 14 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 63.6% 14 / 22 CC 2 SCAR 11.0
CC
2
Cov
69%
bundle_local_lib
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
↑ Summary
1 package Module::Install::Bundle::LocalLib;
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 1 ▶use base qw(Module::Install::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '0.00006';
7  
8 0 ▶sub bundle_local_lib {
Subroutine bundle_local_lib: not called CC=2 SCAR=17.9
Pod undocumented
9 0 my ($self, $lib) = @_;
10 0 ▶ $lib ||= 'extlib';
Condition0%0/2
$lib ||= "extlib"
l!l
00
MC/DC0%0/1
$lib ||= "extlib"
$lib
Truth table0%0/2
A
A= $lib
Aresult
11
00
11  
12 0 $self->Makefile->postamble(<<EOM);
13 bundle_local_lib: metafile
14 \t\$(NOECHO) bundledeps --extlib=$lib
15  
16 bundle_local_lib_fast: metafile
17 \t\$(NOECHO) bundledeps --notest --extlib=$lib
18 EOM
19 }
20  
21 1 1;
22  
23 __END__
↑ Summary