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 10 0 $] >= 5.008001 and $Test::Builder::Config{'useithreads'}
10 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 51 0 0 $self->{'Child_Name'} and not $self->{'In_Destroy'}
721 20 31 0 defined $name and $name =~ /^[\d\s]+$/
883 1 23 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 6 defined $file and defined $line
1403 281 4 0 $error and $opts{'die_on_fail'}
2199 0 0 0 $self->{'Start_Todo'} and @{$self->{'Todo_Stack'};}
2325 10 0 0 not $self->{'Have_Plan'} and $self->{'Curr_Test'}

or 2 conditions

line l !l condition
355 0 10 $self->{'Indent'} ||= ''
1175 0 0 $why ||= ''
1216 0 0 $why ||= ''
2225 159 23 $height ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
122 63 10 0 $Test ||= $class->create
188 0 0 0 $name || 'Child of ' . $self->name
786 51 0 0 $test or $self->in_todo
885 0 0 1 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 153 0 0 $pack || $self->caller(1) || $self->exported_to
2122 0 0 102 defined $self->{'Todo'} || $self->find_TODO