Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 12 75 16.0


and 3 conditions

line !l l&&!r l&&r condition
22 0 3 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
3 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 1 0 defined $name and $name =~ /^[\d\s]+$/
656 0 0 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 4 0 0 $error and $opts{'die_on_fail'}
1945 0 0 0 $$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}
2069 1 2 0 not $$self{'Have_Plan'} and $$self{'Curr_Test'}
2163 0 0 3 defined $Test and not $Test->no_ending

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
122 8 3 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 3 0 0 $pack || $self->caller(1) || $self->exported_to
1868 0 0 2 defined $$self{'Todo'} || $self->find_TODO