line |
true |
false |
branch |
20
|
0 |
1 |
if (defined $opts{'file'}) { } |
|
1 |
0 |
elsif (defined $opts{'yaml'}) { } |
|
0 |
0 |
elsif (defined $opts{'tree'}) { } |
82
|
6 |
7 |
if (not defined $matchmap) { } |
|
0 |
7 |
elsif (ref $matchmap ne 'HASH') { } |
90
|
2 |
5 |
if ($self->check_match($matchmap, $attributes)) |
95
|
8 |
5 |
if ($node_match) |
99
|
6 |
2 |
if (defined $children) |
100
|
0 |
6 |
if (ref $children ne 'ARRAY') |
105
|
4 |
6 |
if ($self->recursive_search($attributes, $child)) |
113
|
2 |
11 |
if ($generic_match and not $recurse_match) { } |
|
5 |
6 |
elsif (not $node_match) { } |
138
|
0 |
8 |
unless (defined $to_test) |
143
|
0 |
8 |
unless (defined $regex) |
148
|
5 |
3 |
unless ($to_test =~ /$regex/) |
158
|
2 |
0 |
if ($match) |
186
|
0 |
37 |
if $$self{'DEBUG'} |