Condition Coverage

git-autofixup
Criterion Covered Total %
condition 27 36 75.0


and 3 conditions

line !l l&&!r l&&r condition
155 25 15 4 $strict and $upstream_is_blamed
212 1 0 17 $di > 0 and defined $$blame{$bi - 1}
222 4 1 13 @target_shas > 0 && @target_shas == @adjacent_shas && $target_shas[0] eq $target_shas[-1]
226 2 2 1 $strict < $SURROUNDED and $is_adjacent
229 13 5 4 $di < @$diff - 1 and startswith($$diff[$di + 1], '+')
282 0 0 0 defined $sha and not defined $summary_for->{$sha}
288 0 0 0 defined $blame->{$bi} and not startswith($line_r, '+')
400 9 35 0 $sha and $VERBOSE
534 21 19 0 $strict > 0 and $num_context_lines == 0

or 3 conditions

line l !l&&r !l&&!r condition
70 34 10 114 not defined $line or $line =~ /^[^ +\\-]/
226 13 1 4 $is_surrounded or $strict < $SURROUNDED and $is_adjacent
251 17 21 22 $first eq '-' or $first eq ' '