Branch Coverage

blib/lib/Test/Role/TinyCommons/Tree.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
40 1 1 if @children == 1 and ref $children[0] eq "ARRAY"
95 0 2 unless is_deeply($tree, $exp_tree, "result")
102 2 0 if $args{'test_fromstruct'}
321 1 1 if (@children == 1 and ref $children[0] eq "ARRAY")
322 0 2 unless is_deeply(\@children, [])
327 1 1 if (@children == 1 and ref $children[0] eq "ARRAY")
328 0 2 unless is_deeply(\@children, [$n3, $n4, $n5, $n7])
332 2 0 if $args{'test_nodemethods'}