File Coverage

blib/lib/SPVM/Resource/Libpng.config
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             # Copyright (c) 2023 Yuki Kimoto
2             # MIT License
3              
4 1     1   23376 use strict;
  1         4  
  1         42  
5 1     1   8 use warnings;
  1         3  
  1         35  
6              
7 1     1   8 use SPVM::Builder::Config;
  1         3  
  1         79  
8             my $config = SPVM::Builder::Config->new_c99(file => __FILE__);
9              
10             my @source_files = qw(
11             png.c
12             pngerror.c
13             pngget.c
14             pngmem.c
15             pngpread.c
16             pngread.c
17             pngrio.c
18             pngrtran.c
19             pngrutil.c
20             pngset.c
21             pngtest.c
22             pngtrans.c
23             pngwio.c
24             pngwrite.c
25             pngwtran.c
26             pngwutil.c
27             );
28              
29             $config->add_source_file(@source_files);
30              
31             $config;