Condition Coverage

git-autofixup
Criterion Covered Total %
condition 24 33 72.7


and 3 conditions

line !l l&&!r l&&r condition
138 13 15 4 $strict and $upstream_is_blamed
201 1 0 15 $di > 0 and defined $$blame{$bi - 1}
211 4 0 12 @target_shas > 0 && @target_shas == @adjacent_shas && $target_shas[0] eq $target_shas[-1]
215 2 1 1 $strict < $SURROUNDED and $is_adjacent
218 12 4 4 $di < @$diff - 1 and startswith($$diff[$di + 1], '+')
271 0 0 0 defined $sha and not defined $summary_for->{$sha}
277 0 0 0 defined $blame->{$bi} and not startswith($line_r, '+')
437 14 19 0 $strict > 0 and $num_context_lines == 0

or 3 conditions

line l !l&&r !l&&!r condition
57 27 5 78 not defined $line or $line =~ /^[^ +-\\]/
215 12 1 3 $is_surrounded or $strict < $SURROUNDED and $is_adjacent
240 15 15 20 $first eq '-' or $first eq ' '