Branch Coverage

blib/lib/Tree/Simple/Visitor/FromNestedArray.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
29 2 7 unless defined $array_tree and ref $array_tree eq 'ARRAY'
33 1 6 unless scalar @{$array_tree;} != 0
36 1 5 unless ref $array_tree->[0] ne 'ARRAY'
39 5 0 if defined $array_tree->[1]
47 4 4 unless &blessed($tree) and $tree->isa('Tree::Simple')
66 1 16 unless ref $node ne 'ARRAY'
69 5 11 if defined $node_filter
72 1 15 if ($include_trunk) { }
88 7 9 if ref $array->[$i] eq 'ARRAY'