blib/lib/SPVM/Builder/Config/DLL.pm

filter: Statementstmt 76.9% 10 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 77.7% 14 / 18 CC 1 SCAR 2.2
CC
1
Cov
77%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/SPVM/BlessedObject/String.pm ↑ Summary blib/lib/SPVM/Builder/ObjectFileInfo.pm »
1 package SPVM::Builder::Config::DLL;
2  
3 341 ▶use parent 'SPVM::Builder::Config::Linker';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 341 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 341 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
9 0 my $self = shift->SUPER::new(@_);
10
11 0 $self->output_type('dynamic_lib');
12
13 0 return $self;
14 }
15  
16 341 1;
17  
18 =head1 Name
19  
20 SPVM::Builder::Config::DLL - Config for Dynamic Link Libraries
21  
22 =head1 Description
23  
24 L<SPVM::Builder::Config::DLL> creates a config to generate dynamic link libraries.
25  
26 =head1 Usage
27  
28 use SPVM::Builder::Config::DLL;
29  
30 my $config = SPVM::Builder::Config::DLL->new
31
32 $config;
33  
34 =head1 Super Class
35  
36 L<SPVM::Builder::Config::Linker>
37  
38 =head1 Class Methods
39  
40 =head2 new
41  
42 my $config = SPVM::Builder::Config::DLL->new(%fields);
43  
44 Creates a new L<SPVM::Builder::Config::DLL> object by calling C<new> method in the super class with I<%fields>,
45 and sets C<output_type> field to C<"dynamic_lib">,
46 and returns the new object.
« blib/lib/SPVM/BlessedObject/String.pm ↑ Summary blib/lib/SPVM/Builder/ObjectFileInfo.pm »