File Coverage

blib/lib/ExtUtils/Typemaps/Misc.pm
Criterion Covered Total %
statement 21 28 75.0
branch n/a
condition n/a
subroutine 7 8 87.5
pod 1 1 100.0
total 29 37 78.3


line stmt bran cond sub pod time code
1             package ExtUtils::Typemaps::Misc;
2             $ExtUtils::Typemaps::Misc::VERSION = '0.004';
3 1     1   246341 use strict;
  1         3  
  1         44  
4 1     1   6 use warnings;
  1         2  
  1         97  
5              
6 1     1   8 use parent 'ExtUtils::Typemaps';
  1         3  
  1         9  
7              
8 1     1   82974 use ExtUtils::Typemaps::IntObj;
  1         6  
  1         42  
9 1     1   568 use ExtUtils::Typemaps::OpaqueObj;
  1         4  
  1         42  
10 1     1   576 use ExtUtils::Typemaps::Slurp;
  1         4  
  1         39  
11 1     1   546 use ExtUtils::Typemaps::PackedVal;
  1         3  
  1         172  
12              
13             sub new {
14 0     0 1   my $class = shift;
15              
16 0           my $self = $class->SUPER::new(@_);
17              
18 0           $self->merge(typemap => ExtUtils::Typemaps::IntObj->new);
19 0           $self->merge(typemap => ExtUtils::Typemaps::OpaqueObj->new);
20 0           $self->merge(typemap => ExtUtils::Typemaps::Slurp->new);
21 0           $self->merge(typemap => ExtUtils::Typemaps::PackedVal->new);
22              
23 0           return $self;
24             }
25              
26             1;
27              
28             # ABSTRACT: A collection of miscelaneous typemap templates
29              
30             __END__