blib/lib/XML/TinyXML/Selector/XPath.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 21 | 85.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
274 | 94 | 0 | 20 | $expr =~ m[^/] and not $recurse |
283 | 21 | 1 | 92 | $token and $token =~ /([\w-]+)::([\w\(\)\=]+|\*)(\[.*?\])*$/ |
304 | 62 | 0 | 30 | $full_predicate and $full_predicate =~ s/^\[(.*?)\]$/$1/ |
316 | 29 | 1 | 0 | $1 && $2 && $3 |
342 | 3 | 7 | 1 | $v and $node->value ne $self->_unescape($v) |
348 | 6 | 4 | 3 | $v and $node->value ne $v |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
310 | 1 | 30 | 1 | $full_predicate =~ /\(([^()]+)\s+(and|or)\s+([^()]+)\)/ or not $full_predicate =~ /^(?:__SET\:\S+__)$/ |