Condition Coverage

git-autofixup
Criterion Covered Total %
condition 25 33 75.7


and 3 conditions

line !l l&&!r l&&r condition
145 15 15 4 $strict and $upstream_is_blamed
208 1 0 17 $di > 0 and defined $$blame{$bi - 1}
218 4 1 13 @target_shas > 0 && @target_shas == @adjacent_shas && $target_shas[0] eq $target_shas[-1]
222 2 2 1 $strict < $SURROUNDED and $is_adjacent
225 13 5 4 $di < @$diff - 1 and startswith($$diff[$di + 1], '+')
278 0 0 0 defined $sha and not defined $summary_for->{$sha}
284 0 0 0 defined $blame->{$bi} and not startswith($line_r, '+')
466 15 19 0 $strict > 0 and $num_context_lines == 0

or 3 conditions

line l !l&&r !l&&!r condition
64 28 6 88 not defined $line or $line =~ /^[^ +\\-]/
222 13 1 4 $is_surrounded or $strict < $SURROUNDED and $is_adjacent
247 17 21 22 $first eq '-' or $first eq ' '