Branch Coverage

blib/lib/CTK/ConfGenUtil.pm
Criterion Covered Total %
branch 17 46 36.9


line true false branch
186 1 0 if ref $cc eq 'HASH'
188 0 1 if ref $cc eq 'ARRAY'
190 0 1 if (ref $ar eq 'ARRAY') { }
201 3 0 if ($tnode and ref $tnode eq 'HASH' and defined $tnode->{$k}) { }
210 0 0 if (not $laststat and @arcc and defined $arcc[0])
212 0 0 if ($kk)
214 0 0 if ($an and ref $an eq 'HASH' and defined $an->{$kk})
223 1 0 $laststat ? :
227 1 6 if defined $_[0]
228 2 5 if ($node and ref $node eq 'ARRAY') { }
3 2 elsif (defined $node and not ref $node) { }
229 1 1 exists $node->[0] ? :
238 0 3 if defined $_[0]
239 0 3 if ($node and ref $node eq 'ARRAY') { }
2 1 elsif (defined $node and not ref $node) { }
249 0 0 if defined $_[0]
250 0 0 if ($node and ref $node eq 'HASH') { }
258 0 0 if defined $_[0]
259 0 0 if $node and ref $node eq 'HASH'
264 0 0 if defined $_[0]
265 0 0 if $node and ref $node eq 'ARRAY'
270 0 0 if defined $_[0]
271 0 0 if defined $node and not ref $node