File Coverage

inc/mm-test.pl
Criterion Covered Total %
statement 23 23 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 30 30 100.0


line stmt bran cond sub pod time code
1 1     1   5640 use strict;
  1         4  
  1         42  
2 1     1   5 use warnings;
  1         2  
  1         61  
3 1     1   527 use lib 'lib';
  1         945  
  1         6  
4 1     1   597 use FFI::Build;
  1         3  
  1         4  
5 1     1   5 use lib 'inc';
  1         1  
  1         4  
6 1     1   464 use My::Config;
  1         3  
  1         30  
7 1     1   6 use My::ShareConfig;
  1         1  
  1         67140  
8              
9 1         104883 my $config = My::Config->new;
10              
11             FFI::Build->new(
12             'test',
13             source => ['t/ffi/*.c'],
14             verbose => 1,
15 1         6 alien => [$config->build_config->get('alien')->{class}],
16             cflags => ['-Iinclude'],
17             dir => 't/ffi',
18             platform => $config->platform,
19             )->build;
20