Condition Coverage

blib/lib/App/NDTools/NDDiff.pm
Criterion Covered Total %
condition 4 48 8.3


and 3 conditions

line !l l&&!r l&&r condition
128 0 0 0 $i_a - $out_a[-1][-1] < 2 and $i_b - $out_b[-1][-1] < 2
164 0 0 2 ${$dref;}->{'O'} and not ref ${$dref;}->{'O'}
166 0 0 2 ${$dref;}->{'N'} and not ref ${$dref;}->{'N'}
172 2 0 0 $old[-1] eq '' and $new[-1] eq ''
354 0 0 0 @{$path;} and my(@delta) = &path_delta($self->{'hdr_path'}, $path)
357 0 0 0 not $self->{'OPTS'}{'full-headers'} and $s < @{$path;} - @delta
359 0 0 0 $status eq 'A' || $status eq 'R' and $s == $#{$path;}
450 0 0 0 not $self->{'OPTS'}{'ctx-text'} and $status eq 'U'
0 0 0 not $self->{'OPTS'}{'ctx-text'} and $status eq 'U' and @{$diff;}

or 3 conditions

line l !l&&r !l&&!r condition
168 2 0 0 @old > 1 or @new > 1
302 0 0 0 $self->dump($diff) or &die_fatal(undef, 1)
304 0 0 0 not keys %{$diff;} or exists $diff->{'U'}
359 0 0 0 $status eq 'A' || $status eq 'R'
403 0 0 0 ref $value or not defined $value
450 0 0 0 @head_ctx or not $self->{'OPTS'}{'ctx-text'} and $status eq 'U' and @{$diff;}
0 0 0 @head_ctx or not $self->{'OPTS'}{'ctx-text'} and $status eq 'U' and @{$diff;} or not @out