blib/lib/XML/MyXML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 57 | 61.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
301 | 46 | 0 | 32 | not defined $stuff->{'el_name'} and defined $stuff->{'text'} |
308 | 0 | 7 | 39 | defined $stuff->{'content'} && @{$stuff->{'content'};} |
343 | 10 | 0 | 9 | defined $object->{'content'} and @{$object->{'content'};} |
348 | 6 | 0 | 5 | defined $child->{'text'} and $child->{'text'} =~ /\S/ |
545 | 0 | 0 | 12 | defined $value and length $value |
616 | 0 | 0 | 14 | defined $value and length $value |
642 | 1 | 1 | 2 | defined $value and length $value |
line | l | !l | condition |
---|---|---|---|
133 | 181 | 3 | shift() || {} |
134 | 0 | 184 | shift() || {} |
170 | 3 | 0 | shift() || {} |
190 | 18 | 25 | shift() || {} |
331 | 0 | 0 | shift() || {} |
338 | 16 | 3 | shift() || 0 |
339 | 19 | 0 | shift() || {} |
535 | 2 | 19 | shift() || {} |
599 | 11 | 0 | shift() || {} |
630 | 4 | 0 | shift() || {} |
675 | 4 | 3 | shift() || {} |
686 | 57 | 0 | shift() || {} |
697 | 57 | 0 | shift() || {} |
719 | 0 | 0 | shift() || {} |
749 | 0 | 2 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
198 | 4 | 1 | 38 | $flags->{'bytes'} or $flags->{'file'} |
200 | 5 | 0 | 0 | not defined $encoding or $encoding =~ /^utf\-?8\z/i |