| blib/lib/Test2/API/Instance.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 38 | 61 | 62.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 146 | 1 | 0 | 52 | $driver->can('is_viable') and $driver->is_viable |
| 177 | 0 | 0 | 3 | $code and $rtype eq 'CODE' |
| 189 | 0 | 0 | 57 | $code and $rtype eq 'CODE' |
| 201 | 0 | 0 | 4 | $code and $rtype eq 'CODE' |
| 213 | 0 | 5 | 13 | $code and $rtype eq 'CODE' |
| 240 | 0 | 5 | 13 | $code and $rtype eq 'CODE' |
| 374 | 88 | 0 | 3 | $INC{'Test/Builder.pm'} and $Test::Builder::VERSION ne $Test2::API::VERSION |
| 393 | 1 | 0 | 0 | $ctx->_aborted and ${$ctx->_aborted;} |
| 420 | 12 | 66 | 0 | @hubs and $self->{'ipc'} |
| 50 | 0 | 16 | @hubs and $self->{'ipc'} and not $self->{'no_wait'} |
| line | l | !l | condition |
|---|---|---|---|
| 94 | 0 | 94 | $caller ||= [caller 1] |
| 175 | 3 | 0 | &reftype($code) || '' |
| 187 | 57 | 0 | &reftype($code) || '' |
| 199 | 4 | 0 | &reftype($code) || '' |
| 211 | 18 | 0 | &reftype($code) || '' |
| 238 | 18 | 0 | &reftype($code) || '' |
| 396 | 1 | 0 | $ctx->trace || (next) |
| 400 | 1 | 0 | $ctx->hub || (next) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 119 | 0 | 29 | 60 | ref $formatter or $formatter->can('write') |
| 134 | 50 | 3 | 36 | $INC{'Test2/IPC.pm'} or @{$self->{'ipc_drivers'};} |
| 413 | 10 | 3 | 78 | $self->{'pid'} != $$ or $self->{'tid'} != 0 |
| 430 | 2 | 2 | 12 | $new_exit ||= $ipc_exit |
| 453 | 10 | 3 | 50 | $new_exit ||= $root->failed |