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

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/SPVM/Builder/Util/API.pm ↑ Summary blib/lib/SPVM/Format.build »
1 package SPVM::Builder::Config::Exe;
2  
3 342 ▶use parent 'SPVM::Builder::Config::Linker';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 342 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 342 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 217 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
9 217 my $self = shift->SUPER::new(@_);
10
11 217 $self->output_type('exe');
12
13 217 return $self;
14 }
15  
16 342 1;
17  
18 =head1 Name
19  
20 SPVM::Builder::Config::Exe - Config for Executable Files
21  
22 =head1 Description
23  
24 L<SPVM::Builder::Config::Exe> creates a config to generate executable files.
25  
26 =head1 Usage
27  
28 use SPVM::Builder::Config::Exe;
29  
30 my $config = SPVM::Builder::Config::Exe->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::Exe->new(%options);
43  
44 Creates a new L<SPVM::Builder::Config::Exe> object by calling C<new> method in the super class with I<%fields>,
45 and sets C<output_type> field to C<"exe">,
46 and returns the new object.
« blib/lib/SPVM/Builder/Util/API.pm ↑ Summary blib/lib/SPVM/Format.build »