Branch Coverage

blib/lib/Hypersonic/JIT/Util.pm
Criterion Covered Total %
branch 38 100 38.0


line true false branch
20 0 0 $subdir ? :
67 0 0 unless (eval "require $mod")
73 0 0 if ($parallel and $class->can_fork) { }
89 0 0 if (not defined $pid) { }
0 0 elsif ($pid == 0) { }
93 0 0 if $@
97 0 0 $@ ? :
109 0 0 if ($? != 0)
120 0 0 if ($@)
135 0 0 if ($@)
158 35 18 if ($features{'stdio'})
166 0 0 if ($features{'unistd'} or $features{'fcntl'} or $features{'socket'})
184 53 0 if $features{'unistd'}
185 53 0 if $features{'fcntl'}
186 35 18 if ($features{'socket'})
202 18 35 if ($features{'threading'})
208 9 44 if ($features{'eventfd'})
214 0 53 if ($features{'time'})
218 0 53 if ($features{'signal'})
222 0 53 if ($features{'openssl'})
278 2 1 if defined $HAS_DEVEL_CHECKLIB
279 1 0 eval { do { require Devel::CheckLib; 1 } } ? :
286 1 30 if defined $HAS_EXTUTILS_PKGCONFIG
287 0 30 eval { do { require ExtUtils::PkgConfig; 1 } } ? :
302 2 1 if ($extra_includes)
308 3 0 if ($class->_has_devel_checklib)
317 2 1 if @headers
347 0 0 if -f $out_path
383 0 0 if ($compile_rc != 0 or not -x $out_path)
384 0 0 if -f $out_path
389 0 0 if -f $out_path
407 0 31 if (eval "require $alien_module; 1")
412 0 0 if (not $test_symbol or $class->can_link($cflags, $ldflags, $test_symbol, $test_include))
433 0 31 if ($class->_has_extutils_pkgconfig)
435 0 0 if ('ExtUtils::PkgConfig'->can('exists')) { }
436 0 0 'ExtUtils::PkgConfig'->exists($pkg_name) ? :
443 0 0 $info{'cflags'} || $info{'libs'} || $info{'modversion'} ? :
448 0 0 if ($is_available)
462 31 0 unless ($ldflags)
465 0 31 if ($? == 0) { }
473 0 31 if ($ldflags)
475 0 0 if (not $test_symbol or $class->can_link($cflags, $ldflags, $test_symbol, $test_include))
506 217 31 if ($header and not -f "$inc_dir/$header")
513 0 93 if (-f "$lib_dir/$lib$ext")
519 0 31 if ($found_lib)
524 0 0 if (not $test_symbol or $class->can_link($try_cflags, $try_ldflags, $test_symbol, $test_include))
579 23 21 if defined $C99_SUPPORTED
604 21 0 if -f $out_path
606 21 0 $result == 0 ? :
612 44 0 $class->has_c99 ? :