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'}
320 2 0 if (@children == 1 and ref $children[0] eq 'ARRAY')
321 0 2 unless is_deeply(\@children, [])
326 1 1 if (@children == 1 and ref $children[0] eq 'ARRAY')
327 0 2 unless is_deeply(\@children, [$n3, $n4, $n5, $n7])
331 2 0 if $args{'test_nodemethods'}