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
377 30 16 26 $_ =~ /^#/ and not $opts{$cfg_var}
440 1 1 3 defined $cfg_name and -f $cfg_name
444 2 0 0 -f $cfg_name and -s _
448 2 0 0 -f $cfg_name and -s _
654 3562 345 38 $seen and /^\s*,"(.+)"/
687 2537 34 17 /^(\s+),NULL/ and $seen
705 8 0 0 -e $plb and '???'
782 3 0 1 keys %conf == 1 and exists $conf{''}
0 0 1 keys %conf == 1 and exists $conf{''} and not @target
869 250 44 5 $declaration_seen and /^\s+,"(?:(?:DEVEL|MAINT)(\d+)?)|(RC\d+)"/
1355 9 2 122 $diff and not $days
11 18 104 $diff and not $days and not $hour

or 2 conditions

line l !l condition
185 28 0 $win32_maker ||= "nmake"
833 3 0 readline DOTPATCH || ''
871 1 0 $patchnum || $1 || $2 || '?????'
1203 0 30 shift() || 0
1207 0 30 $ENV{'PATHEXT'} || ''
1255 0 0 $Config::Config{'path_sep'} || '|'
1256 0 0 $ENV{$dclp_env} || ''
1283 0 0 pop @parts || ''
1371 0 0 $p2u_opt{'myusage'} || "Usage: $0 [options]\n"

or 3 conditions

line l !l&&r !l&&!r condition
305 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'}
310 2 0 0 $opts{'USE_MULTI'} or $opts{'USE_ITHREADS'}
339 14 14 0 $is_nmake || $is_gmake
405 0 0 0 $dir ||= $cwd
442 2 0 0 $0 =~ m[^(.*)/] || 'File::Spec'->curdir
486 0 0 70 not $cc or $cc eq "g++"
0 0 70 not $cc or $cc eq "g++" or $cc eq "clang"
591 1156 104 0 $error{$msg} ||= $indx++
622 23 1 0 $error{$fail} ||= $indx++
639 82 0 0 shift() || cwd()
827 5 7 0 $ddir ||= "File::Spec"->curdir
868 44 5 250 $declaration_seen ||= /local_patches\[\]/
892 20 0 0 $ddir ||= "File::Spec"->curdir
1147 14 0 0 $ddir ||= "File::Spec"->curdir
1257 0 0 0 $Config::Config{'exe_ext'} || $Config::Config{'_exe'}
1398 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'))
1418 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: /