Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 20 75 26.6


and 3 conditions

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

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
122 48 5 0 $Test ||= $class->create
658 0 0 1 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 70 0 0 $pack || $self->caller(1) || $self->exported_to
1868 0 0 46 defined $$self{'Todo'} || $self->find_TODO