blib/lib/Tree/XPathEngine/Number.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 10 | 50.0 |
line | true | false | branch |
---|---|---|---|
16 | 25 | 293 | if (not $number =~ /^\s*[+-]?(\d+(\.\d*)?|\.\d+)\s*$/) { } |
27 | 7 | 0 | defined $$self ? : |
32 | 0 | 0 | defined $$self ? : |
43 | 0 | 0 | if ($swap) |
56 | 1 | 1 | $$self ? : |