Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 13 75 17.3


and 3 conditions

line !l l&&!r l&&r condition
22 0 2 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
2 0 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'}
404 0 0 0 $self->expected_tests and $num_tests != $self->expected_tests
512 0 3 0 defined $name and $name =~ /^[\d\s]+$/
656 0 2 0 defined $got and defined $expect
674 0 0 0 defined $got and defined $expect
751 0 0 0 defined $got and defined $dont_expect
767 0 0 0 defined $got and defined $dont_expect
895 0 0 0 defined $file and defined $line
1176 18 0 0 $error and $opts{'die_on_fail'}
1945 0 0 0 $$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}
2069 2 0 0 not $$self{'Have_Plan'} and $$self{'Curr_Test'}
2163 0 0 2 defined $Test and not $Test->no_ending

or 2 conditions

line l !l condition
947 0 0 $why ||= ''
988 0 0 $why ||= ''
1971 9 2 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
122 5 2 0 $Test ||= $class->create
658 0 0 0 defined $got || defined $expect
676 0 0 0 defined $got || defined $expect
690 0 0 0 $type eq 'eq' or $type eq 'ne'
753 0 0 0 defined $got || defined $dont_expect
769 0 0 0 defined $got || defined $dont_expect
1072 0 0 0 ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx
1202 0 0 0 eval { do { $maybe_fh->isa('IO::Handle') } } || eval { do { (tied $maybe_fh || '')->can('TIEHANDLE') } }
1849 9 0 0 $pack || $self->caller(1) || $self->exported_to
1868 0 0 6 defined $$self{'Todo'} || $self->find_TODO