| lib/XML/Schema/Attribute.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 13 | 69.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 230 | 80 | 8 | 2 | @$constraint and $$constraint[0] eq 'fixed' |
| 237 | 89 | 0 | 0 | $XML::Schema::Attribute::DEBUG and $$infoset{'magic'} |
| line | l | !l | condition |
|---|---|---|---|
| 210 | 106 | 1 | $self->type || (return) |
| 226 | 90 | 4 | $type->instance($value, $xml_instance) || (return $self->error($type->error)) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 78 | 87 | 0 | 0 | $$self{'constraint'} ||= $$self{'constrain'} |