| blib/lib/Test/Stream/Delta.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 47 | 53 | 88.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 66 | 1 | 0 | 3 | ref $value and &reftype($value) eq 'CODE' |
| 83 | 15 | 234 | 0 | exists $self->{'check'} and exists $self->{'chk'} |
| 101 | 145 | 6 | 9 | $dne and $dne eq 'got' |
| 107 | 7 | 71 | 61 | $check && $check->stringify_got |
| 109 | 92 | 3 | 44 | ref $got and not $stringify |
| 118 | 144 | 9 | 6 | $dne and $dne eq 'check' |
| 148 | 0 | 20 | 4 | $type =~ /^(HASH|ARRAY)$/ and not $path =~ /(\]|\})$/ |
| 212 | 143 | 1 | 9 | $self->{'dne'} and $self->{'dne'} eq 'got' |
| 232 | 144 | 1 | 9 | $self->{'dne'} and $self->{'dne'} eq 'got' |
| 272 | 0 | 95 | 1 | $max and @$rows > $max |
| line | l | !l | condition |
|---|---|---|---|
| 167 | 55 | 3 | $self->check || (return 0) |
| 169 | 39 | 16 | $check->file || (return 0) |
| 190 | 165 | 9 | $delta->children || (next) |
| 209 | 153 | 6 | $self->{'chk'} || (return '!exists') |
| 220 | 153 | 6 | $self->{'chk'} || (return '') |
| 221 | 153 | 0 | $check->lines || (return '') |
| 231 | 154 | 6 | $self->{'chk'} || (return '') |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 87 | 0 | 224 | 9 | $self->{'chk'} ||= delete $self->{'check'} |
| 128 | 8 | 25 | 95 | not $type or $type eq 'META' |
| 140 | 8 | 7 | 47 | not $type or $type eq 'META' |