blib/lib/App/NDTools/NDDiff.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 39 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
170 | 4 | 1 | 61 | defined ${$dref;}->{'O'} and defined ${$dref;}->{'N'} |
181 | 10 | 1 | 14 | $old[-1] eq '' and $new[-1] eq '' |
369 | 66 | 5 | 1 | $self->{'OPTS'}{'show'} and my(@errs) = &Struct::Diff::valid_diff($diff) |
404 | 1 | 16 | 126 | @data and ref $data[0] |
431 | 5 | 38 | 91 | @{$path;} and my(@delta) = &path_delta($self->{'hdr_path'}, $path) |
438 | 92 | 22 | 22 | $status eq 'A' || $status eq 'R' and $s == $#{$path;} |
458 | 73 | 1 | 3 | $self->{'TTY'} and not $self->{'OPTS'}{'quiet'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
171 | 7 | 1 | 53 | ref ${$dref;}->{'O'} or ref ${$dref;}->{'N'} |
172 | 11 | 2 | 40 | &is_number(${$dref;}->{'O'}) or &is_number(${$dref;}->{'N'}) |
177 | 24 | 1 | 15 | @old > 1 or @new > 1 |
208 | 16 | 16 | 19 | @rest or not $header |
387 | 3 | 1 | 67 | not keys %{$diff;} or exists $diff->{'U'} |
438 | 32 | 12 | 92 | $status eq 'A' || $status eq 'R' |