blib/lib/Test2/Compare/Delta.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 42 | 46 | 91.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
98 | 15 | 2451 | 1 | exists $self->{'check'} and exists $self->{'chk'} |
116 | 298 | 12 | 21 | $dne and $dne eq "got" |
122 | 13 | 213 | 70 | defined $check && $check->stringify_got |
124 | 226 | 4 | 66 | ref $got and not $stringify |
133 | 297 | 21 | 12 | $dne and $dne eq "check" |
166 | 0 | 21 | 5 | $type =~ /^(HASH|ARRAY)$/ and not $path =~ /(\]|\})$/ |
230 | 296 | 1 | 21 | $self->{'dne'} and $self->{'dne'} eq "got" |
250 | 297 | 1 | 21 | $self->{'dne'} and $self->{'dne'} eq "got" |
290 | 0 | 234 | 1 | $max and @$render_rows > $max |
line | l | !l | condition |
---|---|---|---|
187 | 50 | 23 | $check->file || (return 0) |
208 | 329 | 23 | $delta->children || (next) |
239 | 318 | 0 | $check->lines || (return '') |
303 | 314 | 22 | $$row[$COLUMNS{'GOT'}{'id'}] || '' |
304 | 330 | 6 | $$row[$COLUMNS{'CHECK'}{'id'}] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
102 | 0 | 2433 | 18 | $self->{'chk'} ||= delete $self->{'check'} |
143 | 8 | 29 | 130 | not $type or $type eq "META" |
157 | 8 | 7 | 50 | not $type or $type eq "META" |