Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 29 95 30.5


and 3 conditions

line !l l&&!r l&&r condition
22 0 32 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
32 0 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'}
275 0 0 0 $error and not eval { do { $error->isa('Test::Builder::Exception') } }
406 0 0 0 $self->parent and $$ == $$self{'Original_Pid'}
701 0 0 0 $self->expected_tests and $num_tests != $self->expected_tests
808 628 0 0 $$self{'Child_Name'} and not $$self{'In_Destroy'}
823 186 442 0 defined $name and $name =~ /^[\d\s]+$/
960 0 0 0 $numval != 0 && ($numval ne $val ? 1 : 0)
987 12 572 0 defined $got and defined $expect
1003 0 0 0 defined $got and defined $expect
1080 0 3 0 defined $got and defined $dont_expect
1096 0 0 0 defined $got and defined $dont_expect
1230 0 0 18 defined $file and defined $line
1525 2710 64 0 $error and $opts{'die_on_fail'}
2337 0 0 0 $$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}
2463 32 0 0 not $$self{'Have_Plan'} and $$self{'Curr_Test'}

or 2 conditions

line l !l condition
445 0 32 $$self{'Indent'} ||= ''
1292 0 0 $why ||= ''
1333 0 0 $why ||= ''
2363 1914 608 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
122 713 32 0 $Test ||= $class->create
217 0 0 0 $name || 'Child of ' . $self->name
312 0 0 0 $$self{'Have_Plan'} || $$self{'No_Plan'} || $$self{'Skip_All'}
888 593 32 3 $test or $self->in_todo
989 2 1 11 defined $got || defined $expect
1005 0 0 0 defined $got || defined $expect
1019 59 3 0 $type eq 'eq' or $type eq 'ne'
1082 0 0 0 defined $got || defined $dont_expect
1098 0 0 0 defined $got || defined $dont_expect
1420 0 0 0 ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx
1550 0 0 0 eval { do { $maybe_fh->isa('IO::Handle') } } || eval { do { tied($maybe_fh)->can('TIEHANDLE') } }
2239 1896 0 0 $pack || $self->caller(1) || $self->exported_to
2260 232 74 1194 defined $$self{'Todo'} || $self->find_TODO