File Coverage

blib/lib/SPVM/Resource/Re2/V2022_06_01.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 1     1   199953 use strict;
  1         2  
  1         26  
2 1     1   5 use warnings;
  1         1  
  1         20  
3 1     1   5 use SPVM::Builder::Config;
  1         2  
  1         73  
4              
5             my $config = SPVM::Builder::Config->new_cpp11(file => __FILE__);
6              
7             $config->ext('cc');
8              
9             my @source_files = qw(
10             util/strutil.cc
11             util/rune.cc
12             util/pcre.cc
13             re2/dfa.cc
14             re2/prefilter_tree.cc
15             re2/stringpiece.cc
16             re2/bitstate.cc
17             re2/unicode_casefold.cc
18             re2/simplify.cc
19             re2/filtered_re2.cc
20             re2/onepass.cc
21             re2/re2.cc
22             re2/parse.cc
23             re2/set.cc
24             re2/prog.cc
25             re2/prefilter.cc
26             re2/mimics_pcre.cc
27             re2/regexp.cc
28             re2/nfa.cc
29             re2/tostring.cc
30             re2/perl_groups.cc
31             re2/unicode_groups.cc
32             re2/compile.cc
33             );
34              
35             $config->add_source_files(@source_files);
36              
37             $config->add_libs('pthread');
38              
39             $config;