Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 17 95 17.8


and 3 conditions

line !l l&&!r l&&r condition
22 0 14 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
14 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 63 0 0 $$self{'Child_Name'} and not $$self{'In_Destroy'}
823 0 63 0 defined $name and $name =~ /^[\d\s]+$/
960 0 0 0 $numval != 0 && ($numval ne $val ? 1 : 0)
987 0 53 0 defined $got and defined $expect
1003 0 0 0 defined $got and defined $expect
1080 0 0 0 defined $got and defined $dont_expect
1096 0 0 0 defined $got and defined $dont_expect
1230 0 0 0 defined $file and defined $line
1525 286 0 0 $error and $opts{'die_on_fail'}
2337 0 0 0 $$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}
2463 12 2 0 not $$self{'Have_Plan'} and $$self{'Curr_Test'}

or 2 conditions

line l !l condition
445 0 14 $$self{'Indent'} ||= ''
1292 0 0 $why ||= ''
1333 0 0 $why ||= ''
2363 225 56 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
122 83 14 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 60 0 3 $test or $self->in_todo
989 0 0 0 defined $got || defined $expect
1005 0 0 0 defined $got || defined $expect
1019 0 0 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 225 0 0 $pack || $self->caller(1) || $self->exported_to
2260 0 0 162 defined $$self{'Todo'} || $self->find_TODO