line |
!l |
l&&!r |
l&&r |
condition |
64
|
0 |
0 |
124 |
$epkg and not $todo |
233
|
0 |
0 |
0 |
$ok and $chub->count |
|
0 |
0 |
0 |
$ok and $chub->count and not $chub->no_ending |
|
0 |
0 |
0 |
$ok and $chub->count and not $chub->no_ending and not $chub->ended |
245
|
0 |
0 |
0 |
$count and $num_extra != 0 |
262
|
0 |
0 |
0 |
not $passed || $failed and $count |
|
0 |
0 |
0 |
not $passed || $failed and $count and not $num_extra |
272
|
0 |
0 |
0 |
$plan and $plan eq 'SKIP' |
294
|
0 |
0 |
0 |
$code and &reftype($code) eq 'CODE' |
314
|
0 |
0 |
0 |
not $ok and $err =~ /Label not found for "last T2_SUBTEST_WRAPPER"/ |
|
0 |
0 |
0 |
&blessed($err) and &blessed($err) eq 'Test::Builder::Exception' |
323
|
0 |
0 |
0 |
$start_pid != $$ and not $INC{'Test/Sync/IPC.pm'} |
345
|
0 |
0 |
0 |
not $count and !defined($plan) || "$plan" ne 'SKIP' |
400
|
0 |
0 |
1 |
$format and $format->isa('Test2::Formatter::TAP') |
531
|
0 |
0 |
0 |
$count and defined $num_tests |
|
0 |
0 |
0 |
$count and defined $num_tests and $count != $num_tests |
541
|
0 |
0 |
0 |
$self->expected_tests and $num_tests != $self->expected_tests |
546
|
0 |
0 |
0 |
$ctx->hub->plan and $ctx->hub->plan eq 'NO PLAN' |
561
|
0 |
0 |
0 |
$plan and not $plan =~ /\D/ |
562
|
0 |
0 |
0 |
$plan and $plan eq 'NO PLAN' |
579
|
0 |
0 |
0 |
@call and $call[0] |
585
|
0 |
0 |
0 |
$begin and $ctx->hub->meta('Test::Builder', {})->{'parent'} |
617
|
123 |
0 |
0 |
0 + $name and $name =~ /^[\d\s]+$/ |
673
|
0 |
0 |
0 |
$ENV{'HARNESS_ACTIVE'} and $dfh |
730
|
0 |
0 |
0 |
$numval != 0 && ($numval ne $val ? 1 : 0) |
741
|
0 |
0 |
0 |
defined $got and defined $expect |
760
|
0 |
0 |
0 |
defined $got and defined $expect |
826
|
0 |
0 |
0 |
defined $got and defined $dont_expect |
844
|
0 |
0 |
0 |
defined $got and defined $dont_expect |
932
|
0 |
0 |
0 |
($got eq $expect || $got == $expect) && ((defined $got xor defined $expect) || length $got != length $expect) |
973
|
0 |
0 |
0 |
defined $file and defined $line |
1153
|
0 |
0 |
1 |
$format and $format->can('no_numbers') |
|
0 |
0 |
1 |
$format and $format->can('no_numbers') and $format->can('set_no_numbers') |
1171
|
0 |
0 |
1 |
$format and $format->can($set) |
1244
|
0 |
0 |
0 |
$format and $format->isa('Test2::Formatter::TAP') |
1258
|
0 |
0 |
0 |
$format and $format->isa('Test2::Formatter::TAP') |
1272
|
0 |
0 |
0 |
$format and $format->isa('Test::Builder::Formatter') |
1325
|
0 |
0 |
1 |
$format and $format->isa('Test2::Formatter::TAP') |
1439
|
0 |
0 |
0 |
$meta and @$meta |
1458
|
0 |
0 |
0 |
$meta and @$meta |
1485
|
0 |
0 |
0 |
$hub == $active_hub and $e->isa('Test2::Event::Ok') |
1547
|
0 |
0 |
0 |
$error and $opts{'die_on_fail'} |
1579
|
1 |
0 |
0 |
not $hub->plan and $hub->count |
1601
|
1 |
0 |
0 |
$real_exit_code and not $count |
1607
|
0 |
1 |
0 |
$plan and "$plan" eq 'SKIP' |
1648
|
1 |
0 |
0 |
not $passed || $failed and $count |
|
1 |
0 |
0 |
not $passed || $failed and $count and not $num_extra |
line |
l |
!l&&r |
!l&&!r |
condition |
21
|
0 |
0 |
1 |
Test2::API::test2_init_done() or Test2::API::test2_load_done() |
77
|
0 |
0 |
0 |
$result->{'reason'} ||= $todo |
143
|
0 |
0 |
0 |
$self->{'Hub'} || $ctx->hub |
161
|
0 |
0 |
0 |
$name ||= 'Child of ' . $self->name |
262
|
0 |
0 |
0 |
$passed || $failed |
297
|
0 |
0 |
0 |
$name ||= 'Child of ' . $self->name |
314
|
0 |
0 |
0 |
not $ok and $err =~ /Label not found for "last T2_SUBTEST_WRAPPER"/ or &blessed($err) and &blessed($err) eq 'Test::Builder::Exception' |
345
|
0 |
0 |
0 |
!defined($plan) || "$plan" ne 'SKIP' |
397
|
0 |
1 |
0 |
$self->{'Orig_Handles'} ||= do {
my $format = $ctx->hub->format;
my $out;
if ($format and $format->isa('Test2::Formatter::TAP')) {
$out = $format->handles;
};
$out ? [@$out] : []
} |
532
|
0 |
0 |
0 |
not $plan or $plan eq 'NO PLAN' |
743
|
0 |
0 |
0 |
defined $got || defined $expect |
762
|
0 |
0 |
0 |
defined $got || defined $expect |
778
|
0 |
0 |
0 |
$type eq 'eq' or $type eq 'ne' |
828
|
0 |
0 |
0 |
defined $got || defined $dont_expect |
846
|
0 |
0 |
0 |
defined $got || defined $dont_expect |
1053
|
0 |
0 |
0 |
($re, $opts) = $regex =~ m[^ /(.*)/ (\w*) $ ]sx or (undef, $re, $opts) = $regex =~ /^ m([^\w\s]) (.+) \1 (\w*) $/sx |
1134
|
0 |
0 |
0 |
eval {
do {
$maybe_fh->isa('IO::Handle')
}
} || eval {
do {
tied($maybe_fh)->can('TIEHANDLE')
}
} |
1419
|
0 |
0 |
0 |
$ctx->trace->package || $self->exported_to |
|
0 |
0 |
0 |
$pack ||= $ctx->trace->package || $self->exported_to |
1441
|
0 |
0 |
0 |
$pack ||= $ctx->trace->package |
1490
|
0 |
0 |
0 |
$result->{'reason'} ||= $message |
1576
|
1 |
0 |
0 |
$plan or $count |
|
1 |
0 |
0 |
$plan or $count or $failed |
1586
|
0 |
0 |
0 |
$$new ||= $real_exit_code |
1593
|
0 |
0 |
0 |
$$new ||= $exit_code |
1603
|
0 |
0 |
0 |
$$new ||= $real_exit_code |
1619
|
0 |
0 |
0 |
$$new ||= $real_exit_code |
1648
|
1 |
0 |
0 |
$passed || $failed |
1665
|
0 |
0 |
1 |
$$new ||= $exit_code |