Branch Coverage

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


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