blib/lib/Perl/Critic/UserProfile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 26 | 61.5 |
line | true | false | branch |
---|---|---|---|
156 | 1 | 442 | unless ($loader) |
182 | 31 | 354 | unless defined $file |
183 | 3 | 351 | if $file eq $Perl::Critic::UserProfile::EMPTY |
184 | 348 | 3 | if $file eq "NONE" |
189 | 1 | 2 | unless (defined $profile) |
208 | 0 | 1 | unless (defined $profile) |
223 | 2 | 3 | unless (defined $profile) |
244 | 1 | 0 | if exists $ENV{'PERLCRITIC'} |
250 | 0 | 0 | if -f $rc_file |
253 | 0 | 0 | if (my $home_dir = _find_home_dir()) |
255 | 0 | 0 | if -f $path |
269 | 0 | 0 | $^O eq 'MSWin32' && "$]" < 5.016 ? : |
280 | 3 | 3 | if ($defaults) |