Branch Coverage

blib/lib/Data/YADV/Checker.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
20 0 2 unless my($structure, $factory) = $self->_prepare_arguments(@_)
28 0 4 unless my $child = $self->_prepare_structure(@_)
36 2 4 unless my $structure = $self->_prepare_structure(@_)
38 1 3 if (not defined $structure->get_structure)
45 0 4 unless my($node, $factory) = $self->_prepare_arguments(@_)
48 1 3 unless $node->can('each')
69 2 14 unless defined $child
78 2 14 if (ref $structure and $structure->can('get_child')) { }
91 0 6 unless my $structure = $self->_prepare_structure(@elements)
100 3 3 if (ref $schema eq 'CODE')
123 12 0 $prefix ? :