Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 19 75 25.3


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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