File Coverage

blib/lib/Module/Install/InlineModule.pm
Criterion Covered Total %
statement 12 19 63.1
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 16 25 64.0


line stmt bran cond sub pod time code
1 1     1   861 use strict; use warnings;
  1     1   2  
  1         33  
  1         4  
  1         1  
  1         50  
2             package Module::Install::InlineModule;
3             our $VERSION = '0.02';
4              
5 1     1   4 use base 'Module::Install::Base';
  1         8  
  1         659  
6 1     1   1321 use Inline::Module();
  1         3158  
  1         135  
7              
8             sub inline {
9 0     0 0   my ($self, %args) = @_;
10              
11 0           my $meta = \%args;
12 0           my $makemaker = {};
13 0           my $postamble = Inline::Module::postamble(
14             $makemaker,
15             inline => $meta,
16             );
17 0           $self->postamble($postamble);
18 0           for my $module (Inline::Module->included_modules($meta)) {
19 0           $self->include($module);
20             }
21             }
22              
23             1;