Condition Coverage

blib/lib/Hypersonic/JIT/Util.pm
Criterion Covered Total %
condition 14 74 18.9


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 0 $Hypersonic::JIT::Util::Config{'d_fork'} && eval { do { my $pid = fork; if (defined $pid and $pid == 0) { exit 0; } ; waitpid $pid, 0 if defined $pid; 1 } }
73 0 0 0 $parallel and $class->can_fork
424 37 0 0 $class->_has_extutils_pkgconfig and "ExtUtils::PkgConfig"->exists($pkg_name)
477 0 37 259 $header and not -f "$inc_dir/$header"

or 2 conditions

line l !l condition
63 0 0 $opts{'parallel'} // 1
295 3 0 $cflags //= ""
296 3 0 $ldflags //= ""
297 2 1 $extra_includes //= ""
344 0 0 $ENV{'CC'} || $Hypersonic::JIT::Util::Config{'cc'} || 'cc'
359 0 0 $cflags //= ""
360 0 0 $ldflags //= ""
361 0 0 $extra_includes //= ""
380 0 0 $ENV{'CC'} || $Hypersonic::JIT::Util::Config{'cc'} || 'cc'
403 37 0 $opts{'test_include'} // ""
408 0 0 $alien_module->cflags // ""
409 0 0 $alien_module->libs // ""
427 0 0 $pkg_info{'cflags'} // ""
428 0 0 $pkg_info{'libs'} // ""
457 0 37 $opts{'paths'} // ["/opt/homebrew/opt/openssl\@3", "/opt/homebrew/opt/openssl", "/opt/homebrew", "/usr/local/opt/openssl\@3", "/usr/local/opt/openssl", "/usr/local", "/usr", "/opt/local"]
572 27 0 $ENV{'CC'} || $Hypersonic::JIT::Util::Config{'cc'} || 'cc'

or 3 conditions

line l !l&&r !l&&!r condition
62 0 0 0 $opts{'modules'} // @STANDALONE_MODULES
166 59 0 0 $features{'unistd'} or $features{'fcntl'}
0 0 0 $features{'unistd'} or $features{'fcntl'} or $features{'socket'}
383 0 0 0 $compile_rc != 0 or not -x $out_path
406 37 0 0 $opts{'alien'} // "Alien::\u$lib_name"
412 0 0 0 not $test_symbol or $class->can_link($cflags, $ldflags, $test_symbol, $test_include)
421 37 0 0 $opts{'pkg_config'} // $lib_name
446 0 0 0 not $test_symbol or $class->can_link($cflags, $ldflags, $test_symbol, $test_include)
470 37 0 0 $opts{'lib'} // "lib$lib_name"
495 0 0 0 not $test_symbol or $class->can_link($try_cflags, $try_ldflags, $test_symbol, $test_include)