Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 12 72 16.6


and 3 conditions

line !l l&&!r l&&r condition
16 0 1 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
1 0 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'}
387 0 1 0 defined $name and $name =~ /^[\d\s]+$/
531 0 0 0 defined $got and defined $expect
549 0 0 0 defined $got and defined $expect
626 0 0 0 defined $got and defined $dont_expect
642 0 0 0 defined $got and defined $dont_expect
770 0 0 0 defined $file and defined $line
1055 4 0 0 $error and $opts{'die_on_fail'}
1823 0 0 0 $$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}
1883 1 0 0 !$$self{'Have_Plan'} && ($$self{'Curr_Test'}, 'Somehow your tests ran without a plan!')
2039 0 0 1 defined $Test and not $Test->no_ending

or 2 conditions

line l !l condition
822 0 0 $why ||= ''
865 0 0 $why ||= ''
1849 10 1 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
116 2 1 0 $Test ||= $class->create
533 0 0 0 defined $got || defined $expect
551 0 0 0 defined $got || defined $expect
565 0 0 0 $type eq 'eq' or $type eq 'ne'
628 0 0 0 defined $got || defined $dont_expect
644 0 0 0 defined $got || defined $dont_expect
951 0 0 0 ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx
1081 0 0 0 eval { do { $maybe_fh->isa('IO::Handle') } } || eval { do { (tied $maybe_fh || '')->can('TIEHANDLE') } }
1727 10 0 0 $pack || $self->caller(1) || $self->exported_to
1746 0 0 9 defined $$self{'Todo'} || $self->find_TODO