Branch Coverage

blib/lib/Module/Build/FFI.pm
Criterion Covered Total %
branch 2 58 3.4


line true false branch
37 0 0 unless ref $self->ffi_source_dir
40 0 0 unless ref $self->ffi_libtest_dir
53 0 0 if (-d $self->ffi_source_dir->[0] and not $have_compiler)
59 0 0 if (-d $self->ffi_libtest_dir->[0] and not $self->ffi_libtest_optional and not $have_compiler)
79 0 0 unless -d $dir
80 0 0 if scalar map({bsd_glob("$dir/*.$_");} @cpp_extensions)
84 0 0 $cpp ? :
95 0 0 ref $self->ffi_include_dir ? :
104 0 1 unless &dist_share('Module-Build-FFI')
113 0 0 ref $self->ffi_include_dir ? :
117 0 0 ref $self->include_dirs ? :
0 0 if defined $self->include_dirs
146 0 0 -e $obj_name ? :
153 0 0 if $filename =~ /\.(cpp|cxx|cc|\c\+\+)$/
155 0 0 if ($obj_time < $source_time)
164 0 0 unless $compile_count > 0
166 0 0 if ($^O ne 'MSWin32') { }
182 0 0 if (not $cc =~ /cl(.exe)?$/i) { }
194 0 0 if $?
202 0 2 if ($^O eq 'darwin') { }
213 0 0 $^O eq 'msys' ? :
0 0 $^O eq 'cygwin' ? :
222 0 0 unless -d $dirs[0]
237 0 0 unless ($have_compiler)
253 0 0 unless -d $dirs[0]
266 0 0 unless ($self->ffi_have_compiler)
272 0 0 unless $self->module_name
276 0 0 unless -d $arch_dir
280 0 0 if ($^O eq 'MSWin32' and $Module::Build::FFI::Config{'dlext'} eq 'xs.dll')