blib/lib/XML/Struct/Writer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 15 | 86.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
69 | 2 | 0 | 1 | not $self->attributes and %{$element->[1];} |
77 | 18 | 3 | 1 | not $self->attributes and %{$element->[1];} |
149 | 1 | 9 | 7 | $self->handler->can('xml_decl') and $self->xmldecl |
line | l | !l | condition |
---|---|---|---|
48 | 1 | 16 | $name // 'root' |
69 | 10 | 0 | &reftype($element->[1]) // '' |
116 | 40 | 6 | $element->[2] // [] |