line |
true |
false |
branch |
52
|
2 |
5 |
unless (@{$self->{'dirs'};}) |
57
|
1 |
6 |
exists $params{'interpolate_variables'} ? : |
59
|
1 |
6 |
exists $params{'process_directives'} ? : |
79
|
7 |
9 |
if (@_) |
93
|
1 |
9 |
if ($self->{'export_env'}) |
112
|
0 |
63 |
unless defined $config_section |
114
|
2 |
61 |
if (ref $config_section eq 'HASH') { } |
126
|
0 |
68 |
if -d $file_path |
128
|
1 |
67 |
unless ($file_path =~ /\.([^.]+)$/) |
136
|
1 |
66 |
unless (defined $file_type) |
141
|
4 |
62 |
unless (-e $file_path) |
152
|
2 |
60 |
if ($@) |
167
|
1 |
56 |
if (@not_found) |
188
|
0 |
21 |
unless open my $fh, '<', $file_path |
199
|
6 |
917 |
if &readonly($_[0]) |
203
|
264 |
652 |
if (my $node_addr = &refaddr($_[0])) |
204
|
19 |
245 |
if $self->{'_seen_nodes'}{$node_addr} |
209
|
170 |
727 |
if (ref $_[0] eq 'HASH') { } |
|
75 |
652 |
elsif (ref $_[0] eq 'ARRAY') { } |
228
|
0 |
1046 |
unless defined $node |
230
|
655 |
391 |
if (not ref $node and $self->{'interpolate_variables'}) { } |
|
196 |
195 |
elsif (ref $node eq 'HASH' and $self->{'process_directives'}) { } |
232
|
2 |
83 |
$2 ? : |
235
|
35 |
161 |
if (defined $node->{'var'}) { } |
|
14 |
147 |
elsif (defined $node->{'include'}) { } |
242
|
18 |
129 |
if (defined $node->{'underlay'}) |
248
|
15 |
132 |
if (defined $node->{'overlay'}) |
264
|
18 |
15 |
if (ref $layer eq 'HASH') { } |
|
11 |
4 |
elsif (ref $layer eq 'ARRAY') { } |
288
|
10 |
108 |
if ($name =~ /^\./) { } |
297
|
10 |
14 |
if length $token > 0 |
301
|
0 |
14 |
unless @tokens |
302
|
0 |
14 |
unless @{$ancs;} |
311
|
0 |
10 |
if ($@) |
319
|
83 |
25 |
unless (defined $vars->{$name}) |
326
|
1 |
82 |
if ($@) |
345
|
0 |
93 |
unless @{$tokens;} |
354
|
205 |
35 |
if (ref $node eq 'HASH') { } |
355
|
7 |
198 |
unless defined $node->{$token} |
359
|
55 |
143 |
unless (@{$tokens;}) |
366
|
0 |
143 |
unless ref $node->{$token} |
371
|
1 |
34 |
if ($token =~ /\D/) |
375
|
2 |
32 |
unless defined $node->[$token] |
379
|
28 |
4 |
unless (@{$tokens;}) |
386
|
0 |
4 |
unless ref $node->[$token] |