Condition Coverage

support/Test/Builder.pm
Criterion Covered Total %
condition 21 79 26.6


and 3 conditions

line !l l&&!r l&&r condition
18 0 11 0 $] >= 5.008 and $Config{'useithreads'}
11 0 0 $] >= 5.008 and $Config{'useithreads'} and $INC{'threads.pm'}
296 0 0 11 $max =~ /^\+?\d+$/ and $max > 0
400 39 2118 0 defined $name and $name =~ /^[\d\s]+$/
516 0 0 0 $numval != 0 and $numval ne $val
545 0 0 104 !defined($got) && !defined($expect)
563 0 0 0 !defined($got) && !defined($expect)
844 0 0 1520 defined $file and defined $line
1527 11 0 0 !$$self{'Have_Plan'} && ($$self{'Curr_Test'}, 'Somehow your tests ran without a plan!')
1599 11 0 0 not $$self{'Have_Plan'} and not $$self{'Test_Died'}

or 2 conditions

line l !l condition
132 14942 11 $Test ||= $class->create
889 0 0 $why ||= ''
934 0 0 $why ||= ''
1283 0 0 tied $maybe_fh || ''
1498 1520 2157 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
543 104 0 1488 not defined $got or not defined $expect
561 0 0 0 not defined $got or not defined $expect
619 0 0 0 not defined $got or not defined $dont_expect
621 0 0 0 defined $got || defined $dont_expect
635 0 0 0 not defined $got or not defined $dont_expect
637 0 0 0 defined $got || defined $dont_expect
718 0 0 0 ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx
1283 33 0 0 UNIVERSAL::isa($maybe_fh, 'GLOB') || UNIVERSAL::isa($maybe_fh, 'IO::Handle')
33 0 0 UNIVERSAL::isa($maybe_fh, 'GLOB') || UNIVERSAL::isa($maybe_fh, 'IO::Handle') || UNIVERSAL::can(tied $maybe_fh || '', 'TIEHANDLE')
1478 2157 0 0 $pack || $self->exported_to
2157 0 0 $pack || $self->exported_to || $self->caller($Level)
1599 0 0 11 $$self{'Original_Pid'} != $$ or not $$self{'Have_Plan'} and not $$self{'Test_Died'}
0 0 11 $$self{'Original_Pid'} != $$ or not $$self{'Have_Plan'} and not $$self{'Test_Died'} or $$self{'Bailed_Out'}