Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 20 86 23.2


and 3 conditions

line !l l&&!r l&&r condition
22 0 9 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
9 0 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'}
226 0 0 0 $error and not eval { do { $error->isa('Test::Builder::Exception') } }
599 3 3 0 $self->expected_tests and $num_tests != $self->expected_tests
706 38 0 0 $$self{'Child_Name'} and not $$self{'In_Destroy'}
721 5 33 0 defined $name and $name =~ /^[\d\s]+$/
883 0 2 0 defined $got and defined $expect
901 0 0 0 defined $got and defined $expect
978 0 0 0 defined $got and defined $dont_expect
994 0 0 0 defined $got and defined $dont_expect
1120 0 0 0 defined $file and defined $line
1403 191 12 0 $error and $opts{'die_on_fail'}
2199 0 0 0 $$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}
2325 9 0 0 not $$self{'Have_Plan'} and $$self{'Curr_Test'}

or 2 conditions

line l !l condition
355 0 9 $$self{'Indent'} ||= ''
1175 0 0 $why ||= ''
1216 0 0 $why ||= ''
2225 122 3 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
122 67 9 0 $Test ||= $class->create
188 0 0 0 $name || 'Child of ' . $self->name
786 37 0 1 $test or $self->in_todo
885 0 0 0 defined $got || defined $expect
903 0 0 0 defined $got || defined $expect
917 0 0 0 $type eq 'eq' or $type eq 'ne'
980 0 0 0 defined $got || defined $dont_expect
996 0 0 0 defined $got || defined $dont_expect
1303 0 0 0 ($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx
1428 0 0 0 eval { do { $maybe_fh->isa('IO::Handle') } } || eval { do { tied($maybe_fh)->can('TIEHANDLE') } }
2103 122 0 0 $pack || $self->caller(1) || $self->exported_to
2122 0 0 84 defined $$self{'Todo'} || $self->find_TODO