line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
274837
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
32
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
26
|
|
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
6
|
use SPVM::Builder::Config; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
91
|
|
5
|
|
|
|
|
|
|
my $config = SPVM::Builder::Config->new_gnu99(file => __FILE__); |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# C souce files |
8
|
|
|
|
|
|
|
my @source_files = qw( |
9
|
|
|
|
|
|
|
adler32.c |
10
|
|
|
|
|
|
|
compress.c |
11
|
|
|
|
|
|
|
crc32.c |
12
|
|
|
|
|
|
|
deflate.c |
13
|
|
|
|
|
|
|
gzclose.c |
14
|
|
|
|
|
|
|
gzlib.c |
15
|
|
|
|
|
|
|
gzread.c |
16
|
|
|
|
|
|
|
gzwrite.c |
17
|
|
|
|
|
|
|
infback.c |
18
|
|
|
|
|
|
|
inffast.c |
19
|
|
|
|
|
|
|
inflate.c |
20
|
|
|
|
|
|
|
inftrees.c |
21
|
|
|
|
|
|
|
trees.c |
22
|
|
|
|
|
|
|
uncompr.c |
23
|
|
|
|
|
|
|
zutil.c |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
$config->add_source_file(@source_files); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
my @ccflags = qw(-D_GNU_SOURCE); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
$config->add_ccflag(@ccflags); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
$config; |