Branch Coverage

blib/lib/PYX/XMLSchema/List.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
89 28 9 if (my($first, $sec) = _parse_schema($key))
92 13 15 if ($first eq 'xmlns') { }
94 10 3 if (not exists $schemas_hr->{$schema}) { }
115 5 5 length $a > length $b ? :
116 8 3 defined $max_string ? :
122 13 5 $schemas_hr->{$key}[0] ne $EMPTY_STR ? :
125 3 8 unless (keys %{$schemas_hr;})
135 8 8 if (defined(my $schema = _parse_schema($elem)))
145 23 10 unless (defined $uri)
148 18 15 unless (exists $schemas_hr->{$schema})
160 36 17 if ($string =~ /^(.+?):(.+)$/ms)
161 28 8 wantarray ? :