lib/XML/Compile/Schema/Specs.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
154 | 58 | 0 | defined $_[1] ? : |
159 | 0 | 2740 | @_ % 1 ? : |
160 | 2740 | 0 | unless defined $name |
163 | 1149 | 1591 | unless my $schema = $schemas{$ns} |
169 | 0 | 1591 | if $args{'json_friendly'} and $name eq 'boolean' |
172 | 32 | 133 | if $args{'sloppy_integers'} and exists $sloppy_int_version{$name} |
174 | 28 | 1531 | if ($args{'sloppy_floats'} and my $maptype = $sloppy_float_version{$name}) |
176 | 0 | 28 | if $args{'json_friendly'} and $maptype eq 'sloppy_float' |
183 | 1531 | 0 | defined $public ? : |