Condition Coverage

blib/lib/Perl/Lint/Git.pm
Criterion Covered Total %
condition 7 16 43.7


and 3 conditions

line !l l&&!r l&&r condition
187 5 0 0 defined $since and $commit_attributes->{'author-time'} < $since
273 0 0 21 defined $line_number && $line_number =~ /^\d+$/x

or 2 conditions

line l !l condition
159 0 2 delete $args{'use_cache'} || 0
308 0 31 delete $args{'use_cache'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
68 1 0 10 not defined $file or $file eq ''
273 0 0 21 not defined $line_number && $line_number =~ /^\d+$/x or $line_number == 0