Linker/Unixy.pm

filter: Statementstmt 90.9% 20 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 88.8% 24 / 27 CC 1 SCAR 0.0
CC
1
Cov
91%
linker_flags
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Compiler.pm ↑ Summary
1 package ExtUtils::Builder::Linker::Unixy;
2 3 $ExtUtils::Builder::Linker::Unixy::VERSION = '0.038';
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use parent 'ExtUtils::Builder::Linker';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 5 ▶sub linker_flags {
Subroutine linker_flags: called CC=1 SCAR=0.1
Pod undocumented
9 5 my ($self, $from, $to, %opts) = @_;
10 5 my @ret;
11 0 push @ret, map { $self->new_argument(ranking => $_->{ranking}, value => [ "-L$_->{value}" ]) } @{ $self->{library_dirs} };
12 0 push @ret, map { $self->new_argument(ranking => $_->{ranking}, value => [ "-l$_->{value}" ]) } @{ $self->{libraries} };
13 5 push @ret, $self->new_argument(ranking => 50, value => [ '-o' => $to, @{$from} ]);
14 5 return @ret;
15 }
16  
17 3 1;
18  
« Compiler.pm ↑ Summary