Branch Coverage

blib/lib/Module/Build/WithXSpp.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
28 0 0 if (defined $args{'extra_compiler_flags'})
29 0 0 if (ref $args{'extra_compiler_flags'}) { }
38 0 0 if (defined $args{'extra_linker_flags'})
39 0 0 if (ref $args{'extra_linker_flags'}) { }
53 0 0 if (not defined $$build_requires{$module} or defined $$extra_typemap_modules{$module} and $$build_requires{$module} < $$extra_typemap_modules{$module})
68 0 0 unless $self->cpp_source_dirs
86 0 0 if ($self->dist_name ne 'Module-Build-WithXSpp' and $self->auto_configure_requires)
89 0 0 unless (exists $$p{'configure_requires'}{'Module::Build::WithXSpp'})
93 0 0 unless (exists $$p{'configure_requires'}{'ExtUtils::CppGuess'})
97 0 0 if (not exists $$p{'build_requires'}{'ExtUtils::CppGuess'} and eval 'require ExtUtils::XSpp;' and defined $ExtUtils::XSpp::VERSION)
129 0 0 unless $self->cpp_source_dirs
162 0 0 if (keys %$xs_files > 1)
182 0 0 if defined $main_xs_file and -e $main_xs_file
185 0 0 if (keys %$xs_files == 1 and (values %$xs_files)[0] =~ /\Q$main_xs_file\E$/)
189 0 0 if (not $$self{'_mbwxspp_force_xs_regen'} and $main_time < $newest)
199 0 0 unless $self->early_includes
200 0 0 unless /^"/
240 0 0 unless open my $fh, '>', $outfile
255 0 0 $$extra_modules{$module} ? :
258 0 0 unless (eval "use $str;1;")
285 0 0 if (-f $out_map_file and -M $out_map_file < $newest)
307 0 0 unless $self->extra_xs_dirs
314 0 0 if -f 'typemap'
323 0 0 unless $self->extra_xs_dirs
334 0 0 if File::Basename::basename($file) eq 'typemap.xsp'
348 0 0 unless File::Basename::basename($_) eq 'typemap.xsp'
355 0 0 unless $self->extra_xs_dirs
370 0 0 unless $self->extra_xs_dirs
378 0 0 if (-e $auto_gen_file)
427 0 0 if ($d =~ /\Q$build_folder\E/ and $file_base eq 'main') { }
431 0 0 if @d
483 0 0 unless defined $file
485 0 0 if defined $age and $age < $newest