| line |
true |
false |
branch |
|
24
|
0 |
56 |
unless -e $file |
|
27
|
0 |
56 |
if $@ |
|
29
|
0 |
56 |
unless ref $yaml eq "HASH" |
|
45
|
25 |
0 |
if $builtin |
|
49
|
1 |
24 |
if $user |
|
52
|
25 |
0 |
$builtin ? : |
|
53
|
1 |
24 |
$user ? : |
|
55
|
0 |
25 |
unless $builtin_rules or $user_rules |
|
68
|
1 |
24 |
if ($ENV{'CONFIG_DIR'}) |
|
78
|
0 |
24 |
unless my $home = $ENV{'HOME'} |
|
90
|
0 |
25 |
unless my $dir = _user_rules_dir() |
|
93
|
24 |
1 |
unless -e $file |
|
96
|
0 |
1 |
if $@ |
|
103
|
0 |
56 |
unless $override |
|
111
|
0 |
57 |
unless $yaml |
|
115
|
0 |
57 |
unless my $spec = $yaml->{$ruleset} |
|
119
|
31 |
26 |
if (exists $spec->{'include'}) |
|
122
|
31 |
0 |
ref $inc eq '' ? : |
|
|
0 |
31 |
ref $inc eq 'ARRAY' ? : |
|
134
|
0 |
31 |
if $seen->{$parent} |
|
138
|
0 |
31 |
unless my $parent_yaml = _load_yaml_rules($parent) |
|
143
|
0 |
31 |
unless my $parent_rules = $parent_yaml->{$ruleset} |