Branch Coverage

lib/WSDL/Generator/Schema.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
67 0 1 if defined $namespace
68 0 1 unless ($$self{'schema'})
87 2 11 if ($$struct{'type'} eq 'SCALAR') { }
6 5 elsif ($$struct{'type'} eq 'HASHREF') { }
5 0 elsif ($$struct{'type'} eq 'ARRAYREF') { }
96 13 3 if ($$struct{'value'}{$key}{'type'} eq 'SCALAR') { }
119 1 4 if ($type eq 'SCALAR') { }
1 3 elsif ($type eq 'ARRAYREF') { }
3 0 elsif ($type eq 'HASHREF') { }
155 8 10 if @$array == 1
158 6 4 if ($first_type eq 'SCALAR') { }
1 3 elsif ($first_type eq 'ARRAYREF') { }
3 0 elsif ($first_type eq 'HASHREF') { }
165 0 3 unless $$element{'type'} eq 'ARRAYREF'
180 0 6 unless $$element{'type'} eq 'HASHREF'
187 3 6 @{$fields{$key};} == scalar @$array ? :