| blib/lib/Test/Perl/Critic/Git.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 20 | 65.0 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 0 | 21 | if $s_file eq 'File::Spec'->catfile($s_current_dir, $_) or $s_file eq $_ |
| 37 | 1 | 2 | if scalar keys %{$hr_files;} == 0 |
| 44 | 1 | 1 | if (scalar @a_violations > 0) |
| 53 | 2 | 0 | !($b_switch || $i_files_to_test) || $b_switch && $i_files_to_test ? : |
| 67 | 0 | 2 | if exists $hr_critic_args->{'-format'} |
| 69 | 0 | 2 | $hr_git_args ? : |
| 75 | 1 | 1 | if not $ar_dirs or scalar @{$ar_dirs;} == 0 |
| 77 | 1 | 0 | $hr_files->{$_} ? : |
| 88 | 0 | 1 | if not $ar_dirs or scalar @{$ar_dirs;} == 0 |
| 90 | 1 | 0 | $hr_files->{$_} ? : |