Condition Coverage

blib/lib/Test/Smoke/Util.pm
Criterion Covered Total %
condition 59 108 54.6


and 3 conditions

line !l l&&!r l&&r condition
405 30 16 26 $_ =~ /^#/ and not $opts{$cfg_var}
468 1 1 3 defined $cfg_name and -f $cfg_name
472 2 0 0 -f $cfg_name and -s _
476 2 0 0 -f $cfg_name and -s _
682 3562 345 38 $seen and /^\s*,"(.+)"/
715 2537 34 17 /^(\s+),NULL/ and $seen
733 8 0 0 -e $plb and '???'
810 3 0 1 keys %conf == 1 and exists $conf{''}
0 0 1 keys %conf == 1 and exists $conf{''} and not @target
897 250 44 5 $declaration_seen and /^\s+,"(?:(?:DEVEL|MAINT)(\d+)?)|(RC\d+)"/
1384 9 2 122 $diff and not $days
11 18 104 $diff and not $days and not $hour

or 2 conditions

line l !l condition
187 28 0 $win32_maker ||= "nmake"
861 3 0 readline DOTPATCH || ''
899 1 0 $patchnum || $1 || $2 || '?????'
1231 0 30 shift() || 0
1235 0 30 $ENV{'PATHEXT'} || ''
1284 0 0 $Config::Config{'path_sep'} || '|'
1285 0 0 $ENV{$dclp_env} || ''
1312 0 0 pop @parts || ''
1400 0 0 $p2u_opt{'myusage'} || "Usage: $0 [options]\n"

or 3 conditions

line l !l&&r !l&&!r condition
323 24 0 2 $opts{'USE_MULTI'} or $opts{'USE_ITHREADS'}
0 0 2 $opts{'USE_MULTI'} or $opts{'USE_ITHREADS'} or $opts{'USE_IMP_SYS'}
328 2 0 0 $opts{'USE_MULTI'} or $opts{'USE_ITHREADS'}
362 14 14 0 $is_nmake || $is_gmake
433 0 0 0 $dir ||= $cwd
470 2 0 0 $0 =~ m[^(.*)/] || 'File::Spec'->curdir
514 0 0 70 not $cc or $cc eq "g++"
0 0 70 not $cc or $cc eq "g++" or $cc eq "clang"
619 1156 104 0 $error{$msg} ||= $indx++
650 23 1 0 $error{$fail} ||= $indx++
667 82 0 0 shift() || cwd()
855 5 7 0 $ddir ||= "File::Spec"->curdir
896 44 5 250 $declaration_seen ||= /local_patches\[\]/
920 20 0 0 $ddir ||= "File::Spec"->curdir
1175 14 0 0 $ddir ||= "File::Spec"->curdir
1286 0 0 0 $Config::Config{'exe_ext'} || $Config::Config{'_exe'}
1427 2 2 14 $config->has_arg('-Uuseperlio', '-Dusethreads') || $config->has_arg('-Uuseperlio', '-Duseithreads') || $^O eq 'MSWin32' && ($config->has_arg('-Duseithreads', '-Dusemymalloc') && !$config->has_arg('-Uuseimpsys') || $config->has_arg('-Dusethreads', '-Dusemymalloc') && !$config->has_arg('-Uuseimpsys'))
1447 1 1 12 /^ *$/ || /^\t/ || m[^PERL=./perl\s+./runtests choose] || /^\s+AutoSplitting/ || m[^\./miniperl ] || /^\s*autosplit_lib/ || m[^\s*PATH=\S+\s+./miniperl] || /^\s+Making / || /^make\[[12]/ || m[make( TEST_ARGS=)? (_test|TESTFILE=|lib/\w+.pm)] || /^make:.*Error\s+\d/ || m[^\s+make\s+lib/] || /^ *cd t &&/ || /^if \(true/ || /^else \\/ || /^fi$/ || m[^lib/ftmp-security....File::Temp::_gettemp: Parent directory \((\.|/tmp/)\) is not safe] || m[^File::Temp::_gettemp: Parent directory \((\.|/tmp/)\) is not safe] || /^ok$/ || m[^[-a-zA-Z0-9_/.]+\s*\.*\s*(ok|skipped|skipping test on this platform)$] || /^(xlc|cc_r) -c / || /^sh mv-if-diff\b/ || /File \S+ not changed/ || /^(not\s+)?ok\s+\d+\s+[-#]\s+(?i:skip\S*[: ])/i || /^dllwrap: no export definition file provided/ || /^dllwrap: creating one. but that may not be what you want/ || /^(GNUm|M)akefile:\d+: warning: overriding commands for target `perlmain.o'/ || /^(GNUm|M)akefile:\d+: warning: ignoring old commands for target `perlmain.o'/ || /^\s+CCCMD\s+=\s+/ || /^Extracting .*with variable substitutions/ || m[cc\s+-o\s+perl.*perlmain.o\s+lib/auto/DynaLoader/DynaLoader\.a\s+libperl\.a] || /^\S+ is up to date/ || /^( )?### / || m(^(?:\.\.[/\\])?[\w/\\-]+\.*ok$) || m(^(?:\.\.[/\\])?[\w/\\-]+\.*ok\s+\d+(\.\d+)?\s*m?s$) || m(^(?:\.\.[/\\])?[\w/\\-]+\.*ok,\s+\d+/\d+\s+skipped:) || m(^(?:\.\.[/\\])?[\w/\\-]+\.*skipped[: ]) || /^\t?x?copy / || /\d+\s+[Ff]ile\(s\) copied/ || m([/\\](?:mini)?perl\.exe ) || /^\t?cd / || /^\b[ng]make\b/ || m[^\s+\d+/\d+ skipped: ] || /^\s+all skipped: / || /^\s*pl2bat\.bat [\w\\]+/ || /^Making / || /^Skip / || /^Creating library file: libExtTest\.dll\.a/ || /^cc: warning 983: /