blib/lib/Perl/Critic/UserProfile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 30 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
269 | 0 | 0 | 0 | $^O eq 'MSWin32' && "$]" < 5.016 |
line | l | !l | condition |
---|---|---|---|
77 | 229 | 10535 | $profile->{$short_name} || $profile->{$long_name} || $$profile{"-$short_name"} || $$profile{"-$long_name"} || {} |
153 | 58 | 385 | ref $profile || 'DEFAULT' |
170 | 4 | 435 | delete $profile->{'__defaults__'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 412 | 0 | 31 | $args{'-profile'} // _find_profile_path() |
70 | 0 | 12374 | 0 | ref $policy || policy_long_name($policy) |
87 | 10874 | 12 | 0 | ref $policy || policy_long_name($policy) |
91 | 235 | 2 | 10649 | exists $$profile{"-$short_name"} || exists $$profile{"-$long_name"} |
100 | 10874 | 12 | 0 | ref $policy || policy_long_name($policy) |
104 | 165 | 0 | 10721 | exists $profile->{$short_name} || exists $profile->{$long_name} |
269 | 0 | 0 | 0 | $ENV{'HOME'} || $ENV{'USERPROFILE'} |