| blib/lib/Test2/API.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 52 | 81 | 64.2 | 
| line | l | !l | condition | 
|---|---|---|---|
| 264 | 0 | 89 | ($!, $@, $?) = ($errno, $eval_error, $child_error) and return bless({%$current, '_is_canon', undef, 'errno', $errno, 'eval_error', $eval_error, 'child_error', $child_error, '_is_spawn', [$pkg, $file, $line, $sub]}, 'Test2::API::Context') | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 250 | 0 | 1 | 17 | $level >= 0 and not $pkg | 
| 254 | 1 | 2210 | 0 | not $end_phase and !$current || $depth <= $current->{'_depth'} + $params{'wrapped'} | 
| 89 | 1081 | 1040 | not $end_phase and !$current || $depth <= $current->{'_depth'} + $params{'wrapped'} and caller $depth + 1 | |
| 258 | 1080 | 91 | 0 | $current and $params{'on_release'} | 
| 90 | 0 | 1 | $current and $params{'on_release'} and $depth_ok | |
| 264 | 1080 | 2 | 89 | $current and $depth_ok | 
| 419 | 1 | 0 | 2 | &blessed($err) and $err->isa('Test2::Hub::Interceptor::Terminator') | 
| 422 | 2 | 8 | 2 | $ok and not $hub->no_ending | 
| 10 | 1 | 1 | $ok and not $hub->no_ending and not $hub->ended | |
| 466 | 39 | 0 | 0 | not $ok and $err =~ /Label not found for "last T2_SUBTEST_WRAPPER"/ | 
| 487 | 0 | 0 | 39 | $ok and not $hub->no_ending | 
| 0 | 0 | 39 | $ok and not $hub->no_ending and not $hub->ended | |
| 492 | 0 | 8 | 31 | $ok && $hub->is_passing | 
| 510 | 8 | 31 | 0 | defined $plan_ok and not $plan_ok | 
| line | l | !l | condition | 
|---|---|---|---|
| 243 | 1172 | 0 | ${^GLOBAL_PHASE} || 'NA' | 
| 259 | 1 | 0 | $current->{'_on_release'} ||= [] | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 26 | 54 | 0 | 0 | $] ge '5.014' or $ENV{'T2_CHECK_DEPTH'} | 
| 0 | 0 | 0 | $] ge '5.014' or $ENV{'T2_CHECK_DEPTH'} or $Test2::API::DO_DEPTH_CHECK | |
| 204 | 2 | 1 | 0 | $hid ||= $STACK->top->hid | 
| 233 | 0 | 1172 | 0 | $params{'stack'} || $STACK | 
| 234 | 1 | 1118 | 53 | $params{'hub'} || @$stack | 
| 244 | 1 | 0 | 1171 | $ENDING || $phase eq 'END' || $phase eq 'DESTRUCT' | 
| 248 | 1170 | 0 | 2 | $pkg or $end_phase | 
| 254 | 2026 | 95 | 89 | !$current || $depth <= $current->{'_depth'} + $params{'wrapped'} | 
| 256 | 1080 | 89 | 2 | $end_phase || !$current || $current->{'_depth'} < $depth | 
| 419 | 10 | 0 | 3 | $ok or &blessed($err) and $err->isa('Test2::Hub::Interceptor::Terminator') | 
| 442 | 40 | 0 | 0 | $ctx->stack || $STACK |