Branch Coverage

blib/lib/CTK/ConfGenUtil.pm
Criterion Covered Total %
branch 23 54 42.5


line true false branch
196 1 0 if ref $cc eq "HASH"
198 0 1 if ref $cc eq "ARRAY"
200 0 1 if (ref $ar eq 'ARRAY') { }
211 3 0 if ($tnode and ref $tnode eq 'HASH' and defined $tnode->{$k}) { }
220 0 0 if (not $laststat and @arcc and defined $arcc[0])
222 0 0 if ($kk)
224 0 0 if ($an and ref $an eq "HASH" and defined $an->{$kk})
233 1 0 $laststat ? :
237 1 7 if defined $_[0]
238 3 5 if ($node and ref $node eq 'ARRAY') { }
3 2 elsif (defined $node and not ref $node) { }
239 2 1 exists $node->[0] ? :
248 0 7 if defined $_[0]
249 1 6 if ($node and ref $node eq 'ARRAY') { }
2 4 elsif (defined $node and not ref $node) { }
250 1 0 exists $node->[0] ? :
259 0 3 if defined $_[0]
260 0 3 if ($node and ref $node eq 'ARRAY') { }
2 1 elsif (defined $node and not ref $node) { }
270 0 0 if defined $_[0]
271 0 0 if ($node and ref $node eq 'HASH') { }
279 0 0 if defined $_[0]
280 0 0 if $node and ref $node eq "HASH"
285 0 0 if defined $_[0]
286 0 0 if $node and ref $node eq "ARRAY"
291 0 0 if defined $_[0]
292 0 0 if defined $node and not ref $node