Condition Coverage

support/Test/Builder.pm
Criterion Covered Total %
condition 25 75 33.3


and 3 conditions

line !l l&&!r l&&r condition
18 0 14 0 $] >= 5.008 and $Test::Builder::Config{'useithreads'}
14 0 0 $] >= 5.008 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'}
296 0 0 13 $max =~ /^\+?\d+$/ and $max > 0
400 14976 20230 0 defined $name and $name =~ /^[\d\s]+$/
516 0 0 0 $numval != 0 and $numval ne $val
543 104 0 34407 defined $got and defined $expect
561 0 0 0 defined $got and defined $expect
619 0 0 0 defined $got and defined $dont_expect
635 0 0 0 defined $got and defined $dont_expect
844 0 0 34441 defined $file and defined $line
1528 13 0 1 !$self->{'Have_Plan'} && ($self->{'Curr_Test'}, 'Somehow your tests ran without a plan!')
1692 0 0 14 defined $Test and not $Test->no_ending

or 2 conditions

line l !l condition
889 80 0 $why ||= ''
934 0 0 $why ||= ''
1498 34441 35206 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
132 48096 14 0 $Test ||= $class->create
545 0 0 104 defined $got || defined $expect
563 0 0 0 defined $got || defined $expect
621 0 0 0 defined $got || defined $dont_expect
637 0 0 0 defined $got || defined $dont_expect
718 0 0 0 ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx
1283 42 0 0 UNIVERSAL::isa($maybe_fh, 'GLOB') || UNIVERSAL::isa($maybe_fh, 'IO::Handle') || UNIVERSAL::can(tied $maybe_fh || '', 'TIEHANDLE')
1478 35206 0 0 $pack || $self->exported_to || $self->caller($Test::Builder::Level)
1599 13 0 1 $self->{'Have_Plan'} || $self->{'Test_Died'}
0 1 13 $self->{'Original_Pid'} != $$ or not $self->{'Have_Plan'} || $self->{'Test_Died'}
1 0 13 $self->{'Original_Pid'} != $$ or not $self->{'Have_Plan'} || $self->{'Test_Died'} or $self->{'Bailed_Out'}