Branch Coverage

blib/lib/Test/Role/TinyCommons/Tree.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
39 2 0 if @children == 1 and ref $children[0] eq 'ARRAY'
94 0 2 unless is_deeply($tree, $exp_tree, 'result')
101 2 0 if $args{'test_fromstruct'}
311 2 0 if (@children == 1 and ref $children[0] eq 'ARRAY')
312 0 2 unless is_deeply(\@children, [])
317 1 1 if (@children == 1 and ref $children[0] eq 'ARRAY')
318 0 2 unless is_deeply(\@children, [$n3, $n4, $n5, $n7])
322 2 0 if $args{'test_nodemethods'}