| blib/lib/Test/Stream/Context.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 37 | 51 | 72.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 108 | 3813 | 498 | 5 | $CONTEXTS{$hid} and $CONTEXTS{$hid} == $self |
| 175 | 0 | 1 | 16 | $level >= 0 and not $pkg |
| 179 | 3313 | 69556 | 0 | caller $depth + 1 and !$current || $depth <= $current->{'_depth'} + $params{'wrapped'} |
| 182 | 3266 | 509 | 0 | $current and $params{'on_release'} |
| 508 | 0 | 1 | $current and $params{'on_release'} and $current->{'_depth'} < $depth | |
| 187 | 3266 | 1 | 508 | $current and $current->{'_depth'} < $depth |
| 339 | 13 | 1 | 16 | $directive and $directive =~ /skip/i |
| line | l | !l | condition |
|---|---|---|---|
| 111 | 2 | 0 | $self->{'debug'} || (return) |
| 183 | 1 | 0 | $current->{'_on_release'} ||= [] |
| 317 | 162 | 18 | $diag ||= [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 81 | 1 | 0 | 3261 | not $CONTEXTS{$hid} or $self != $CONTEXTS{$hid} |
| 116 | 0 | 1 | 1 | $self->{'_no_destroy_warning'} or $self->{'debug'}->pid != $$ |
| 1 | 0 | 1 | $self->{'_no_destroy_warning'} or $self->{'debug'}->pid != $$ or $self->{'debug'}->tid != 0 | |
| 166 | 0 | 0 | 3776 | $params{'stack'} || $STACK |
| 167 | 1 | 3762 | 13 | $params{'hub'} || @$stack |
| 179 | 67345 | 1749 | 462 | !$current || $depth <= $current->{'_depth'} + $params{'wrapped'} |
| 281 | 88 | 0 | 0 | $LOADED{$event} || $self->_parse_event($event) |
| 296 | 194 | 27 | 0 | $LOADED{$event} || $self->_parse_event($event) |