Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 16 75 21.3


and 3 conditions

line !l l&&!r l&&r condition
14 0 2 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
2 0 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'}
291 0 0 1 $max =~ /^\+?\d+$/ and $max > 0
393 0 1 0 defined $name and $name =~ /^[\d\s]+$/
504 0 0 0 $numval != 0 and $numval ne $val
531 0 0 0 defined $got and defined $expect
549 0 0 0 defined $got and defined $expect
607 0 0 0 defined $got and defined $dont_expect
623 0 0 0 defined $got and defined $dont_expect
741 0 0 0 defined $file and defined $line
1617 1 0 1 !$$self{'Have_Plan'} && ($$self{'Curr_Test'}, 'Somehow your tests ran without a plan!')
1783 0 0 2 defined $Test and not $Test->no_ending

or 2 conditions

line l !l condition
794 0 0 $why ||= ''
836 0 0 $why ||= ''
1588 0 0 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
127 5 2 0 $Test ||= $class->create
533 0 0 0 defined $got || defined $expect
551 0 0 0 defined $got || defined $expect
609 0 0 0 defined $got || defined $dont_expect
625 0 0 0 defined $got || defined $dont_expect
922 0 0 0 ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx
1029 0 0 0 eval { do { $maybe_fh->isa('IO::Handle') } } || eval { do { (tied $maybe_fh || '')->can('TIEHANDLE') } }
1568 1 0 0 $pack || $self->exported_to || $self->caller($Test::Builder::Level)
1690 1 0 1 $$self{'Have_Plan'} || $$self{'Test_Died'}
0 1 1 $$self{'Original_Pid'} != $$ or not $$self{'Have_Plan'} || $$self{'Test_Died'}
1 0 1 $$self{'Original_Pid'} != $$ or not $$self{'Have_Plan'} || $$self{'Test_Died'} or $$self{'Bailed_Out'}