lib/ExtUtils/MM_BeOS.pm

filter: Statementstmt 75.0% 18 / 24 Branchbran n/a Conditioncond 0.0% 0 / 9 MC/DCmcdc 0.0% 0 / 5 Subroutinesub 66.6% 4 / 6 Podpod 100% 2 / 2 totaltotal 52.1% 24 / 46 CC 5 SCAR 27.5
CC
5
Cov
55%
init_linker
30.0
os_flavor
2.0
BEGIN
1.0
CRAP 15.6
« lib/ExtUtils/MM_OS390.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 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 =head1 NAME
7  
8 ExtUtils::MM_BeOS - methods to override UN*X behaviour in ExtUtils::MakeMaker
9  
10 =head1 SYNOPSIS
11  
12 use ExtUtils::MM_BeOS; # Done internally by ExtUtils::MakeMaker if needed
13  
14 =head1 DESCRIPTION
15  
16 See L<ExtUtils::MM_Unix> for a documentation of the methods provided
17 there. This package overrides the implementation of these methods, not
18 the semantics.
19  
20 =over 4
21  
22 =cut
23  
24 1 ▶use ExtUtils::MakeMaker::Config;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 ▶use File::Spec;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 1 require ExtUtils::MM_Any;
27 1 require ExtUtils::MM_Unix;
28  
29 1 our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
30 1 our $VERSION = '7.78';
31 1 $VERSION =~ tr/_//d;
32  
33  
34 =item os_flavor
35  
36 BeOS is BeOS.
37  
38 =cut
39  
40 0 ▶sub os_flavor {
Subroutine os_flavor: not called CC=1 SCAR=6.9
Pod documented
41 0 return('BeOS');
42 }
43  
44 =item init_linker
45  
46 libperl.a equivalent to be linked to dynamic extensions.
47  
48 =cut
49  
50 0 ▶sub init_linker {
Subroutine init_linker: not called CC=5 SCAR=34.0
Pod documented
51 0 my($self) = shift;
52  
53 $self->{PERL_ARCHIVE} ||=
54 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
55 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
56 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
57 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
58 }
59  
60 =back
61  
62 =cut
63  
64 1 1;
65 __END__
« lib/ExtUtils/MM_OS390.pm ↑ Summary lib/ExtUtils/MM_NW5.pm »