blib/lib/App/NDTools/NDDiff.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 39 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
171 | 4 | 1 | 64 | defined ${$dref;}->{'O'} and defined ${$dref;}->{'N'} |
182 | 10 | 1 | 14 | $old[-1] eq '' and $new[-1] eq '' |
345 | 65 | 5 | 1 | $self->{'OPTS'}{'show'} and my(@errs) = &Struct::Diff::valid_diff($diff) |
380 | 1 | 16 | 124 | @data and ref $data[0] |
407 | 5 | 41 | 95 | @{$path;} and my(@delta) = &path_delta($self->{'hdr_path'}, $path) |
414 | 96 | 23 | 23 | $status eq 'A' || $status eq 'R' and $s == $#{$path;} |
434 | 72 | 1 | 3 | $self->{'TTY'} and not $self->{'OPTS'}{'quiet'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
172 | 7 | 1 | 56 | ref ${$dref;}->{'O'} or ref ${$dref;}->{'N'} |
173 | 12 | 2 | 42 | &is_number(${$dref;}->{'O'}) or &is_number(${$dref;}->{'N'}) |
178 | 24 | 1 | 17 | @old > 1 or @new > 1 |
209 | 16 | 16 | 19 | @rest or not $header |
363 | 3 | 1 | 66 | not keys %{$diff;} or exists $diff->{'U'} |
414 | 34 | 12 | 96 | $status eq 'A' || $status eq 'R' |