Condition Coverage

blib/lib/Perl/Critic/Git.pm
Criterion Covered Total %
condition 10 19 52.6


and 3 conditions

line !l l&&!r l&&r condition
82 1 9 1 defined $level and not $level =~ /(?:gentle|5|stern|4|harsh|3|cruel|2|brutal|1)/x
196 2 0 0 defined $since and $$commit_attributes{'author-time'} < $since
282 0 0 15 defined $line_number && $line_number =~ /^\d+$/x

or 2 conditions

line l !l condition
170 0 2 delete $args{'use_cache'} || 0
317 0 25 delete $args{'use_cache'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
78 1 0 12 not defined $file or $file eq ''
282 0 0 15 not defined $line_number && $line_number =~ /^\d+$/x or $line_number == 0