Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 14 72 19.4


and 3 conditions

line !l l&&!r l&&r condition
16 0 5 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
5 0 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'}
387 0 7 0 defined $name and $name =~ /^[\d\s]+$/
531 0 5 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 43 0 0 $error and $opts{'die_on_fail'}
1823 0 0 0 $$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}
1883 3 0 2 !$$self{'Have_Plan'} && ($$self{'Curr_Test'}, 'Somehow your tests ran without a plan!')
2039 0 0 5 defined $Test and not $Test->no_ending

or 2 conditions

line l !l condition
822 0 0 $why ||= ''
865 0 0 $why ||= ''
1849 22 5 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
116 15 5 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 22 0 0 $pack || $self->caller(1) || $self->exported_to
1746 0 0 15 defined $$self{'Todo'} || $self->find_TODO