lib/HTML/Object/XPath/Number.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 16 | 6.2 |
line | true | false | branch |
---|---|---|---|
36 | 0 | 32 | if (not $number =~ /^[[:blank:]\h]*[+-]?(\d+(\.\d*)?|\.\d+)[[:blank:]\h]*$/) { } |
50 | 0 | 0 | defined $$self ? : |
56 | 0 | 0 | defined $$self ? : |
63 | 0 | 0 | $swap ? : |
68 | 0 | 0 | wantarray ? : |
70 | 0 | 0 | wantarray ? : |
76 | 0 | 0 | ${$_[0];} ? : |
88 | 0 | 0 | if $@ |