|  line  | 
 true  | 
 false  | 
 branch  | 
 
| 
16
 | 
 0  | 
 3  | 
 if ($] >= 5.008001 and $Test::Builder::Config{'useithreads'} and $INC{'threads.pm'}) { }  | 
 
| 
26
 | 
 0  | 
 0  | 
 if ($type eq 'HASH') { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($type eq 'ARRAY') { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($type eq 'SCALAR') { }  | 
 
| 
41
 | 
 0  | 
 0  | 
 if ($type eq 'HASH') { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($type eq 'ARRAY') { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($type eq 'SCALAR') { }  | 
 
| 
214
 | 
 0  | 
 1  | 
 unless $cmd  | 
 
| 
218
 | 
 0  | 
 1  | 
 if $$self{'Have_Plan'}  | 
 
| 
221
 | 
 0  | 
 1  | 
 if ($cmd eq 'no_plan') { }  | 
 
| 
 | 
 0  | 
 1  | 
 elsif ($cmd eq 'skip_all') { }  | 
 
| 
 | 
 1  | 
 0  | 
 elsif ($cmd eq 'tests') { }  | 
 
| 
222
 | 
 0  | 
 0  | 
 if $arg  | 
 
| 
229
 | 
 1  | 
 0  | 
 if ($arg) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif (not defined $arg) { }  | 
 
| 
262
 | 
 3  | 
 0  | 
 if (@_)  | 
 
| 
263
 | 
 0  | 
 3  | 
 unless $max =~ /^\+?\d+$/  | 
 
| 
269
 | 
 3  | 
 0  | 
 unless $self->no_header  | 
 
| 
302
 | 
 0  | 
 0  | 
 if $$self{'Expected_Tests'}  | 
 
| 
303
 | 
 0  | 
 0  | 
 if $$self{'No_Plan'}  | 
 
| 
320
 | 
 0  | 
 0  | 
 if $reason  | 
 
| 
325
 | 
 0  | 
 0  | 
 unless $self->no_header  | 
 
| 
345
 | 
 3  | 
 0  | 
 if (defined $pack)  | 
 
| 
377
 | 
 11  | 
 0  | 
 $test ? :  | 
 
| 
387
 | 
 0  | 
 11  | 
 if defined $name and $name =~ /^[\d\s]+$/  | 
 
| 
396
 | 
 0  | 
 11  | 
 if $in_todo  | 
 
| 
403
 | 
 0  | 
 11  | 
 if (not $test) { }  | 
 
| 
405
 | 
 0  | 
 0  | 
 $self->in_todo ? :  | 
 
| 
412
 | 
 11  | 
 0  | 
 if $self->use_numbers  | 
 
| 
414
 | 
 1  | 
 10  | 
 if (defined $name) { }  | 
 
| 
423
 | 
 0  | 
 11  | 
 if ($self->in_todo) { }  | 
 
| 
438
 | 
 0  | 
 11  | 
 unless ($test)  | 
 
| 
439
 | 
 0  | 
 0  | 
 $self->in_todo ? :  | 
 
| 
440
 | 
 0  | 
 0  | 
 if $ENV{'HARNESS_ACTIVE'}  | 
 
| 
443
 | 
 0  | 
 0  | 
 if (defined $name) { }  | 
 
| 
452
 | 
 11  | 
 0  | 
 $test ? :  | 
 
| 
462
 | 
 0  | 
 30  | 
 if ($self->_is_object($$thing))  | 
 
| 
463
 | 
 0  | 
 0  | 
 if (my $string_meth = overload::Method($$thing, $type))  | 
 
| 
475
 | 
 0  | 
 30  | 
 if ref $thing  | 
 
| 
 | 
 0  | 
 30  | 
 $self->_try(sub {
	$thing->isa('UNIVERSAL') if ref $thing;
}
) ? :  | 
 
| 
490
 | 
 0  | 
 0  | 
 unless $self->_is_dualvar($$val)  | 
 
| 
502
 | 
 0  | 
 0  | 
 if ref $val  | 
 
| 
506
 | 
 0  | 
 0  | 
 $numval ne $val ? :  | 
 
| 
 | 
 0  | 
 0  | 
 if return $numval != 0  | 
 
| 
531
 | 
 0  | 
 4  | 
 unless (defined $got and defined $expect)  | 
 
| 
536
 | 
 0  | 
 0  | 
 unless $test  | 
 
| 
549
 | 
 0  | 
 0  | 
 unless (defined $got and defined $expect)  | 
 
| 
554
 | 
 0  | 
 0  | 
 unless $test  | 
 
| 
564
 | 
 0  | 
 0  | 
 if (defined $$val) { }  | 
 
| 
565
 | 
 0  | 
 0  | 
 if ($type eq 'eq' or $type eq 'ne') { }  | 
 
| 
626
 | 
 0  | 
 0  | 
 unless (defined $got and defined $dont_expect)  | 
 
| 
631
 | 
 0  | 
 0  | 
 unless $test  | 
 
| 
642
 | 
 0  | 
 0  | 
 unless (defined $got and defined $dont_expect)  | 
 
| 
647
 | 
 0  | 
 0  | 
 unless $test  | 
 
| 
722
 | 
 0  | 
 4  | 
 $numeric_cmps{$type} ? :  | 
 
| 
727
 | 
 0  | 
 4  | 
 if $error  | 
 
| 
734
 | 
 0  | 
 4  | 
 unless ($ok)  | 
 
| 
737
 | 
 0  | 
 0  | 
 if ($type =~ /^(eq|==)$/) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($type =~ /^(ne|!=)$/) { }  | 
 
| 
753
 | 
 0  | 
 0  | 
 defined $got ? :  | 
 
| 
754
 | 
 0  | 
 0  | 
 defined $expect ? :  | 
 
| 
770
 | 
 0  | 
 0  | 
 if defined $file and defined $line  | 
 
| 
841
 | 
 0  | 
 0  | 
 if $self->use_numbers  | 
 
| 
843
 | 
 0  | 
 0  | 
 if length $why  | 
 
| 
883
 | 
 0  | 
 0  | 
 if $self->use_numbers  | 
 
| 
946
 | 
 0  | 
 0  | 
 unless defined $regex  | 
 
| 
951
 | 
 0  | 
 0  | 
 if (_is_qr($regex)) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif (($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx) { }  | 
 
| 
959
 | 
 0  | 
 0  | 
 length $opts ? :  | 
 
| 
970
 | 
 0  | 
 0  | 
 if defined &re::is_regexp  | 
 
| 
979
 | 
 0  | 
 0  | 
 unless (defined $usable_regex)  | 
 
| 
1000
 | 
 0  | 
 0  | 
 if $cmp eq '!~'  | 
 
| 
1006
 | 
 0  | 
 0  | 
 unless ($ok)  | 
 
| 
1007
 | 
 0  | 
 0  | 
 defined $this ? :  | 
 
| 
1008
 | 
 0  | 
 0  | 
 $cmp eq '=~' ? :  | 
 
| 
1055
 | 
 0  | 
 56  | 
 if $error and $opts{'die_on_fail'}  | 
 
| 
1057
 | 
 0  | 
 56  | 
 wantarray ? :  | 
 
| 
1074
 | 
 0  | 
 9  | 
 unless defined $maybe_fh  | 
 
| 
1076
 | 
 9  | 
 0  | 
 if ref $maybe_fh eq 'GLOB'  | 
 
| 
1077
 | 
 0  | 
 0  | 
 if ref \$maybe_fh eq 'GLOB'  | 
 
| 
1118
 | 
 0  | 
 37  | 
 if (defined $level)  | 
 
| 
1150
 | 
 0  | 
 11  | 
 if (defined $use_nums)  | 
 
| 
1186
 | 
 0  | 
 6  | 
 if (defined $no)  | 
 
| 
1258
 | 
 0  | 
 0  | 
 $self->in_todo ? :  | 
 
| 
1264
 | 
 0  | 
 0  | 
 if $self->no_diag  | 
 
| 
1265
 | 
 0  | 
 0  | 
 unless @msgs  | 
 
| 
1268
 | 
 0  | 
 0  | 
 if $^C  | 
 
| 
1272
 | 
 0  | 
 0  | 
 defined $_ ? :  | 
 
| 
1303
 | 
 0  | 
 0  | 
 ref $_ ? :  | 
 
| 
1308
 | 
 0  | 
 0  | 
 if $dumper->can('Sortkeys')  | 
 
| 
1337
 | 
 0  | 
 14  | 
 if $^C  | 
 
| 
1348
 | 
 0  | 
 14  | 
 unless $msg =~ /\n\z/  | 
 
| 
1385
 | 
 3  | 
 14  | 
 if (defined $fh)  | 
 
| 
1394
 | 
 3  | 
 0  | 
 if (defined $fh)  | 
 
| 
1403
 | 
 3  | 
 0  | 
 if (defined $fh)  | 
 
| 
1414
 | 
 9  | 
 0  | 
 if ($self->is_fh($file_or_fh)) { }  | 
 
| 
1418
 | 
 0  | 
 0  | 
 unless open $fh, '>', $file_or_fh  | 
 
| 
1459
 | 
 0  | 
 3  | 
 if $Opened_Testhandles  | 
 
| 
1463
 | 
 0  | 
 3  | 
 unless open $Testout, '>&STDOUT'  | 
 
| 
1464
 | 
 0  | 
 3  | 
 unless open $Testerr, '>&STDERR'  | 
 
| 
1482
 | 
 0  | 
 0  | 
 if @src_layers  | 
 
| 
1544
 | 
 0  | 
 11  | 
 unless ($$self{'Have_Plan'})  | 
 
| 
1577
 | 
 0  | 
 0  | 
 if (defined $num)  | 
 
| 
1578
 | 
 0  | 
 0  | 
 unless $$self{'Have_Plan'}  | 
 
| 
1585
 | 
 0  | 
 0  | 
 if ($num > @$test_results) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($num < @$test_results) { }  | 
 
| 
1586
 | 
 0  | 
 0  | 
 @$test_results ? :  | 
 
| 
1705
 | 
 0  | 
 11  | 
 if defined $$self{'Todo'}  | 
 
| 
1709
 | 
 0  | 
 11  | 
 if defined $todo  | 
 
| 
1728
 | 
 0  | 
 33  | 
 unless $pack  | 
 
| 
1746
 | 
 0  | 
 22  | 
 defined $$self{'Todo'} || $self->find_TODO ? :  | 
 
| 
1794
 | 
 0  | 
 0  | 
 @_ ? :  | 
 
| 
1797
 | 
 0  | 
 0  | 
 if ($self->in_todo)  | 
 
| 
1817
 | 
 0  | 
 0  | 
 unless ($$self{'Start_Todo'})  | 
 
| 
1823
 | 
 0  | 
 0  | 
 if ($$self{'Start_Todo'} and @{$$self{'Todo_Stack'};}) { }  | 
 
| 
1857
 | 
 4  | 
 33  | 
 wantarray ? :  | 
 
| 
1903
 | 
 0  | 
 9  | 
 if ($check)  | 
 
| 
1945
 | 
 0  | 
 3  | 
 if ($$self{'Original_Pid'} != $$)  | 
 
| 
1951
 | 
 0  | 
 3  | 
 unless ($$self{'Have_Plan'})  | 
 
| 
1956
 | 
 0  | 
 3  | 
 if ($$self{'Bailed_Out'})  | 
 
| 
1962
 | 
 3  | 
 0  | 
 if (@$test_results) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($$self{'Skip_All'}) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($real_exit_code) { }  | 
 
| 
1964
 | 
 0  | 
 3  | 
 if ($$self{'No_Plan'})  | 
 
| 
1965
 | 
 0  | 
 0  | 
 unless $self->no_header  | 
 
| 
1974
 | 
 0  | 
 11  | 
 unless defined $$test_results[$idx]  | 
 
| 
1982
 | 
 0  | 
 3  | 
 if ($num_extra != 0)  | 
 
| 
1983
 | 
 0  | 
 0  | 
 $$self{'Expected_Tests'} == 1 ? :  | 
 
| 
1989
 | 
 0  | 
 3  | 
 if ($num_failed)  | 
 
| 
1991
 | 
 0  | 
 0  | 
 $num_failed == 1 ? :  | 
 
| 
1993
 | 
 0  | 
 0  | 
 $num_extra == 0 ? :  | 
 
| 
2000
 | 
 0  | 
 3  | 
 if ($real_exit_code)  | 
 
| 
2005
 | 
 0  | 
 0  | 
 if _my_exit($real_exit_code)  | 
 
| 
2009
 | 
 0  | 
 3  | 
 if ($num_failed) { }  | 
 
| 
 | 
 0  | 
 3  | 
 elsif ($num_extra != 0) { }  | 
 
| 
2010
 | 
 0  | 
 0  | 
 $num_failed <= 254 ? :  | 
 
| 
2019
 | 
 3  | 
 0  | 
 if _my_exit($exit_code)  | 
 
| 
2022
 | 
 0  | 
 0  | 
 if _my_exit(0)  | 
 
| 
2028
 | 
 0  | 
 0  | 
 if _my_exit($real_exit_code)  | 
 
| 
2032
 | 
 0  | 
 0  | 
 if _my_exit(255)  | 
 
| 
2039
 | 
 3  | 
 0  | 
 if defined $Test and not $Test->no_ending  |