| blib/lib/Test2/API/Instance.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 56 | 89 | 62.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 213 | 1 | 0 | 57 | $driver->can('is_viable') and $driver->is_viable |
| 243 | 0 | 0 | 165 | $code and $rtype eq 'CODE' |
| 255 | 0 | 0 | 62 | $code and $rtype eq 'CODE' |
| 267 | 0 | 0 | 3 | $code and $rtype eq 'CODE' |
| 279 | 0 | 5 | 175 | $code and $rtype eq 'CODE' |
| 292 | 0 | 5 | 12 | $code and $rtype eq 'CODE' |
| 324 | 0 | 5 | 175 | $code and $rtype eq 'CODE' |
| 455 | 1 | 9 | 19 | $ok and not $fail |
| 468 | 115 | 162 | 3 | $INC{'Test/Builder.pm'} and $Test::Builder::VERSION ne $Test2::API::VERSION |
| 487 | 1 | 0 | 0 | $ctx->_aborted and ${$ctx->_aborted;} |
| 491 | 0 | 0 | 1 | $trace->pid and $trace->pid == $$ |
| 507 | 17 | 0 | 263 | defined $self->{'_pid'} && defined $self->{'_tid'} |
| 514 | 6 | 225 | 18 | @hubs and $self->{'ipc'} |
| 225 | 0 | 18 | @hubs and $self->{'ipc'} and not $self->{'no_wait'} | |
| 554 | 225 | 0 | 24 | $new_exit and eval { |
| line | l | !l | condition |
|---|---|---|---|
| 154 | 0 | 284 | $caller ||= [caller 1] |
| 241 | 165 | 0 | &reftype($code) || '' |
| 253 | 62 | 0 | &reftype($code) || '' |
| 265 | 3 | 0 | &reftype($code) || '' |
| 277 | 180 | 0 | &reftype($code) || '' |
| 290 | 17 | 0 | &reftype($code) || '' |
| 322 | 180 | 0 | &reftype($code) || '' |
| 490 | 1 | 0 | $ctx->trace || (next) |
| 494 | 1 | 0 | $ctx->hub || (next) |
| 548 | 9 | 0 | $new_exit ||= 255 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 77 | 0 | 0 | 1 | $self->{'finalized'} or $self->{'loaded'} |
| 113 | 1 | 0 | 0 | $self->{'stack'} ||= 'Test2::API::Stack'->new |
| 185 | 0 | 191 | 88 | ref $formatter or $formatter->can('write') |
| 201 | 55 | 3 | 217 | $INC{'Test2/IPC.pm'} or @{$self->{'ipc_drivers'};} |
| 507 | 17 | 14 | 249 | not defined $self->{'_pid'} && defined $self->{'_tid'} or $self->{'_pid'} != $$ |
| 31 | 0 | 249 | not defined $self->{'_pid'} && defined $self->{'_tid'} or $self->{'_pid'} != $$ or $self->{'_tid'} != 0 | |
| 524 | 1 | 2 | 15 | $new_exit ||= $ipc_exit |
| 547 | 15 | 3 | 206 | $new_exit ||= $root->failed |