lib/ExtUtils/MM_BeOS.pm

filter: Statementstmt 70.0% 14 / 20 Branchbran n/a Conditioncond 0.0% 0 / 9 MC/DCmcdc 0.0% 0 / 5 Subroutinesub 60.0% 3 / 5 Podpod 100% 2 / 2 totaltotal 46.3% 19 / 41 CC 5 SCAR 28.5
CC
5
Cov
48%
init_linker
30.0
os_flavor
2.0
BEGIN
1.0
CRAP 17.2
« blib/lib/ExtUtils/Command/MM.pm ↑ Summary lib/ExtUtils/MM_NW5.pm »
1 package ExtUtils::MM_BeOS;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 ExtUtils::MM_BeOS - methods to override UN*X behaviour in ExtUtils::MakeMaker
8  
9 =head1 SYNOPSIS
10  
11 use ExtUtils::MM_BeOS; # Done internally by ExtUtils::MakeMaker if needed
12  
13 =head1 DESCRIPTION
14  
15 See ExtUtils::MM_Unix for a documentation of the methods provided
16 there. This package overrides the implementation of these methods, not
17 the semantics.
18  
19 =over 4
20  
21 =cut
22  
23 1 ▶use ExtUtils::MakeMaker::Config;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use File::Spec;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 require ExtUtils::MM_Any;
26 1 require ExtUtils::MM_Unix;
27  
28 1 our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
29 1 our $VERSION = '7.13_01';
30 1 $VERSION = eval $VERSION;
31  
32  
33 =item os_flavor
34  
35 BeOS is BeOS.
36  
37 =cut
38  
39 sub os_flavor {
40 0 ▶ return('BeOS');
Subroutine os_flavor: not called CC=1 SCAR=6.9
Pod documented
41 }
42  
43 =item init_linker
44  
45 libperl.a equivalent to be linked to dynamic extensions.
46  
47 =cut
48  
49 sub init_linker {
50 0 ▶ my($self) = shift;
Subroutine init_linker: not called CC=5 SCAR=34.0
Pod documented
51  
52 $self->{PERL_ARCHIVE} ||=
53 0 ▶ File::Spec->catdir('$(PERL_INC)',$Config{libperl});
Condition0%0/3
$self->{"PERL_ARCHIVE"} ||= "File::Spec"->catdir("\$(PERL_INC)", $ExtUtils::MM_BeOS::Config{"libperl"})
l!l&&r!l&&!r
000
MC/DC0%0/2
$self->{"PERL_ARCHIVE"} ||= "File::Spec"->catdir("\$(PERL_INC)", $ExtUtils::MM_BeOS::Config{"libperl"})
$self->{"PERL_ARCHIVE"} "File::Spec"->catdir("\$(PERL_INC)", $ExtUtils::MM_BeOS::Config{"libperl"})
Truth table0%0/3
A ||= B
A= $self->{"PERL_ARCHIVE"}B= "File::Spec"->catdir("\$(PERL_INC)", $ExtUtils::MM_BeOS::Config{"libperl"})
ABresult
1X1
011
000
54 0 ▶ $self->{PERL_ARCHIVEDEP} ||= '';
Condition0%0/2
$self->{"PERL_ARCHIVEDEP"} ||= ""
l!l
00
MC/DC0%0/1
$self->{"PERL_ARCHIVEDEP"} ||= ""
$self->{"PERL_ARCHIVEDEP"}
Truth table0%0/2
A
A= $self->{"PERL_ARCHIVEDEP"}
Aresult
11
00
55 0 ▶ $self->{PERL_ARCHIVE_AFTER} ||= '';
Condition0%0/2
$self->{"PERL_ARCHIVE_AFTER"} ||= ""
l!l
00
MC/DC0%0/1
$self->{"PERL_ARCHIVE_AFTER"} ||= ""
$self->{"PERL_ARCHIVE_AFTER"}
Truth table0%0/2
A
A= $self->{"PERL_ARCHIVE_AFTER"}
Aresult
11
00
56 0 ▶ $self->{EXPORT_LIST} ||= '';
Condition0%0/2
$self->{"EXPORT_LIST"} ||= ""
l!l
00
MC/DC0%0/1
$self->{"EXPORT_LIST"} ||= ""
$self->{"EXPORT_LIST"}
Truth table0%0/2
A
A= $self->{"EXPORT_LIST"}
Aresult
11
00
57 }
58  
59 =back
60  
61 1;
62 __END__
« blib/lib/ExtUtils/Command/MM.pm ↑ Summary lib/ExtUtils/MM_NW5.pm »