Branch Coverage

blib/lib/Test2/Util.pm
Criterion Covered Total %
branch 24 50 48.0


line true false branch
13 247 0 eval {
43 0 247 $^O eq 'MSWin32' ? :
47 0 247 unless $] >= 5.008001
48 247 0 unless $Test2::Util::Config{'useithreads'}
51 0 0 if ($] == 5.01 and $Test2::Util::Config{'ccname'} eq 'gcc' and $Test2::Util::Config{'gccversion'})
53 0 0 if $parts[0] > 4 or $parts[0] == 4 and $parts[1] >= 8
57 0 0 if $INC{'Devel/Cover.pm'}
62 27 0 if $Test2::Util::Config{'d_fork'}
63 0 0 unless $^O eq 'NetWare'
64 0 0 unless $Test2::Util::Config{'useithreads'}
65 0 0 unless $Test2::Util::Config{'ccflags'} =~ /-DPERL_IMPLICIT_SYS/
72 0 247 _can_thread() ? :
76 12 27 if defined $can_fork
80 27 0 $can_fork ? :
85 7 17 if defined $can_really_fork
89 17 0 $can_really_fork ? :
100 1 1 unless eval {
102 0 2 $die ? :
114 11 207 unless eval {
171 247 0 if (_check_for_sig_sys($Test2::Util::Config{'sig_name'})) { }
188 1 1199 if not defined $fileno && length $fileno or $fileno < 0
190 0 1199 unless open my $out, '>&' . $fileno
239 37 0 if rename $from, $to
244 70 0 if unlink $file
271 36 0 if defined $blocked