Condition Coverage

inc/Test/Builder.pm
Criterion Covered Total %
condition 15 86 17.4


and 3 conditions

line !l l&&!r l&&r condition
22 0 4 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
4 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 0 0 0 $self->expected_tests and $num_tests != $self->expected_tests
706 1 0 0 $$self{'Child_Name'} and not $$self{'In_Destroy'}
721 0 1 0 defined $name and $name =~ /^[\d\s]+$/
883 0 0 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 4 0 0 $error and $opts{'die_on_fail'}
2199 0 0 0 $$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}
2325 1 3 0 not $$self{'Have_Plan'} and $$self{'Curr_Test'}

or 2 conditions

line l !l condition
355 0 4 $$self{'Indent'} ||= ''
1175 0 0 $why ||= ''
1216 0 0 $why ||= ''
2225 11 1 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
122 8 4 0 $Test ||= $class->create
188 0 0 0 $name || 'Child of ' . $self->name
786 0 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 11 0 0 $pack || $self->caller(1) || $self->exported_to
2122 0 0 10 defined $$self{'Todo'} || $self->find_TODO