Condition Coverage

blib/lib/Git/MoreHooks/CheckIndent.pm
Criterion Covered Total %
condition 4 21 19.0


and 3 conditions

line !l l&&!r l&&r condition
118 2 7 0 length $indents > 0 and !($indents =~ /^[$ic]{1,}$/msx) || $ic ne "\t" && length($indents) % $params{'indent_size'} != 0

or 2 conditions

line l !l condition
39 0 0 $$config{lc $CFG} //= {}
43 0 0 $default->{'file'} //= []
44 0 0 $default->{'exception'} //= []

or 3 conditions

line l !l&&r !l&&!r condition
118 3 0 4 !($indents =~ /^[$ic]{1,}$/msx) || $ic ne "\t" && length($indents) % $params{'indent_size'} != 0
151 0 0 0 $hook_name eq "patchset-created" or $hook_name eq "draft-published"
0 0 0 $hook_name eq "update" or $hook_name eq "pre-receive"
0 0 0 $hook_name eq "update" or $hook_name eq "pre-receive" or $hook_name eq "ref-update"