Branch Coverage

blib/lib/Hypersonic/JIT/Util.pm
Criterion Covered Total %
branch 38 92 41.3


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 41 18 if ($features{'stdio'})
166 0 0 if ($features{'unistd'} or $features{'fcntl'} or $features{'socket'})
184 59 0 if $features{'unistd'}
185 59 0 if $features{'fcntl'}
186 41 18 if ($features{'socket'})
202 18 41 if ($features{'threading'})
208 9 50 if ($features{'eventfd'})
214 0 59 if ($features{'time'})
218 0 59 if ($features{'signal'})
222 0 59 if ($features{'openssl'})
278 2 1 if defined $HAS_DEVEL_CHECKLIB
279 1 0 eval { do { require Devel::CheckLib; 1 } } ? :
286 1 36 if defined $HAS_EXTUTILS_PKGCONFIG
287 0 36 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 37 if (eval "require $alien_module; 1")
412 0 0 if (not $test_symbol or $class->can_link($cflags, $ldflags, $test_symbol, $test_include))
424 0 37 if ($class->_has_extutils_pkgconfig and "ExtUtils::PkgConfig"->exists($pkg_name))
433 37 0 unless ($ldflags)
436 0 37 if ($? == 0) { }
444 0 37 if ($ldflags)
446 0 0 if (not $test_symbol or $class->can_link($cflags, $ldflags, $test_symbol, $test_include))
477 259 37 if ($header and not -f "$inc_dir/$header")
484 0 111 if (-f "$lib_dir/$lib$ext")
490 0 37 if ($found_lib)
495 0 0 if (not $test_symbol or $class->can_link($try_cflags, $try_ldflags, $test_symbol, $test_include))
550 23 27 if defined $C99_SUPPORTED
575 27 0 if -f $out_path
577 27 0 $result == 0 ? :
583 50 0 $class->has_c99 ? :