Branch Coverage

lib/Git/Lint/Config.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
24 0 5 if (exists $user_config->{'config'})
29 0 5 if (exists $self->{'config'} and defined $self->{'config'}{'localdir'})
30 0 0 if (-d $self->{'config'}{'localdir'}) { }
43 4 1 if (@commit_checks)
50 4 1 if (@message_checks)
73 1 2 if ($exit and not $stderr)
78 1 1 if ($exit and $stderr)
86 1 2 unless $line =~ /^lint\.profiles\.(\w+)\.(\w+)\s+(.+)$/
95 1 2 if ($line =~ /^lint\.config\.localdir\s+(.+)$/)