Branch Coverage

blib/lib/Perl/Lint/Git.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
68 1 10 if not defined $file or $file eq ''
70 1 9 unless -e $file
72 0 9 if scalar keys %args != 0
103 3 0 unless (defined $$self{'authors'})
162 0 2 unless defined $author
164 0 2 if scalar keys %args != 0
183 5 5 unless $$commit_attributes{'author-mail'} eq $author
187 0 5 if defined $since and $$commit_attributes{'author-time'} < $since
273 0 21 if not defined $line_number && $line_number =~ /^\d+$/x or $line_number == 0
277 0 21 if $line_number > scalar @$blame_lines
312 24 7 if $self->_is_analyzed
359 8 35 if defined $value