Branch Coverage

blib/lib/Test/Perl/Critic/Git.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
29 0 7 if $s_file eq 'File::Spec'->catfile($s_current_dir, $_) or $s_file eq $_
40 0 2 if scalar @{$hr_file->{'violations'};} == 0
43 1 1 if (scalar @a_violations > 0)
52 3 0 !($b_switch || $i_files_to_test) || $b_switch && $i_files_to_test ? :
65 0 2 if exists $hr_critic_args->{'-format'}
67 0 2 $hr_git_args ? :
73 1 1 if not $ar_dirs or scalar @{$ar_dirs;} == 0
75 1 0 $hr_files->{$_} ? :
86 0 1 if not $ar_dirs or scalar @{$ar_dirs;} == 0
88 1 0 $hr_files->{$_} ? :