blib/lib/Test2/Compare/Delta.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 42 | 46 | 91.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
98 | 15 | 2319 | 1 | exists $self->{'check'} and exists $self->{'chk'} |
116 | 286 | 12 | 21 | $dne and $dne eq "got" |
122 | 13 | 201 | 70 | defined $check && $check->stringify_got |
124 | 218 | 4 | 62 | ref $got and not $stringify |
133 | 285 | 21 | 12 | $dne and $dne eq "check" |
166 | 0 | 21 | 5 | $type =~ /^(HASH|ARRAY)$/ and not $path =~ /(\]|\})$/ |
230 | 284 | 1 | 21 | $self->{'dne'} and $self->{'dne'} eq "got" |
250 | 285 | 1 | 21 | $self->{'dne'} and $self->{'dne'} eq "got" |
290 | 0 | 224 | 1 | $max and @$render_rows > $max |
line | l | !l | condition |
---|---|---|---|
187 | 48 | 23 | $check->file || (return 0) |
208 | 317 | 23 | $delta->children || (next) |
239 | 306 | 0 | $check->lines || (return '') |
303 | 302 | 22 | $$row[$COLUMNS{'GOT'}{'id'}] || '' |
304 | 318 | 6 | $$row[$COLUMNS{'CHECK'}{'id'}] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
102 | 0 | 2301 | 18 | $self->{'chk'} ||= delete $self->{'check'} |
143 | 8 | 29 | 128 | not $type or $type eq "META" |
157 | 8 | 7 | 50 | not $type or $type eq "META" |