Branch Coverage

blib/lib/SOAP/WSDL/XSD/Element.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
30 1 10 unless $result_ref
31 3 7 unless ref $result_ref eq 'ARRAY'
37 1 2 unless $result_ref
38 1 1 unless ref $result_ref eq 'ARRAY'
52 1 8 if $abstract_of{$ident} and not $name
58 2 6 unless $name
60 2 6 if ($$opt{'qualify'})
67 6 2 unless (defined $value)
68 5 1 if $default_of{ident $self}
70 2 6 if $fixed_of{ident $self}
75 0 8 if (defined $minOccurs_of{ident $self} and $minOccurs_of{ident $self} == 0)
77 0 0 unless defined $value
81 8 0 if ($type = $self->first_simpleType) { }
0 0 elsif ($type = $self->first_complexType) { }
0 0 elsif (my $ref_name = $ref_of{$ident}) { }
91 0 0 unless $type
103 0 0 unless $type