| blib/lib/XML/TinyXML/Selector/XPath/Functions.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 18 | 72.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 33 | 0 | 0 | 0 | $child->attributes->{'id'} and $child->attributes->{'id'} eq $id |
| 88 | 1 | 6 | 3 | $length and $length =~ /(\S+)\s+(\S+)\s+(\S+)/ |
| 92 | 1 | 5 | 1 | $length and $length =~ /\./ |
| 95 | 1 | 4 | 3 | $offset and $offset =~ /(\S+)\s+(\S+)\s+(\S+)/ |
| 101 | 2 | 2 | 1 | $length and $offset == 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 90 | 0 | 0 | 3 | defined $length or $offset =~ /^-[0-9]+$/ |