| blib/lib/WebService/GData/Serialize/XML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 32 | 68.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 24 | 12 | 7 | 26 | $owner and $this->namespace_prefix eq $owner->namespace_prefix |
| 50 | 0 | 0 | 1 | ref $this->extra_namespaces eq 'HASH' and $this->extra_namespaces->{$prefix} |
| 51 | 0 | 0 | 1 | $owner and $prefix ne $owner->namespace_prefix |
| 82 | 6 | 26 | 14 | $owner and length $serialized |
| 104 | 0 | 5 | 2 | @{$this->attributes;} > 0 and not @attrs |
| 5 | 0 | 2 | @{$this->attributes;} > 0 and not @attrs and not $$this{'text'} |
| line | l | !l | condition |
|---|---|---|---|
| 17 | 33 | 12 | $owner || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 62 | 2 | 0 | 36 | @attrs or $$this{'text'} |
| 14 | 0 | 22 | @attrs or $$this{'text'} or @{$this->child;} | |
| 86 | 2 | 0 | 23 | @attrs or $$this{'text'} |
| 14 | 0 | 9 | @attrs or $$this{'text'} or length $xmlchild |