| blib/lib/Perl/Critic/UserProfile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 26 | 61.5 |
| line | true | false | branch |
|---|---|---|---|
| 157 | 1 | 3084 | unless ($loader) |
| 183 | 31 | 2996 | unless defined $file |
| 184 | 3 | 2993 | if $file eq $Perl::Critic::UserProfile::EMPTY |
| 185 | 2990 | 3 | if $file eq "NONE" |
| 190 | 1 | 2 | unless (defined $profile) |
| 209 | 0 | 1 | unless (defined $profile) |
| 224 | 2 | 3 | unless (defined $profile) |
| 245 | 1 | 0 | if exists $ENV{'PERLCRITIC'} |
| 251 | 0 | 0 | if -f $rc_file |
| 254 | 0 | 0 | if (my $home_dir = _find_home_dir()) |
| 256 | 0 | 0 | if -f $path |
| 270 | 0 | 0 | $^O eq 'MSWin32' && "$]" < 5.016 ? : |
| 281 | 3 | 3 | if ($defaults) |