blib/lib/Cpanel/JSON/XS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 26 | 73.0 |
line | true | false | branch |
---|---|---|---|
208 | 0 | 0 | if ($] >= 5.008) { } |
219 | 0 | 0 | if ($] >= 5.008) { } |
2292 | 13 | 10 | ${$_[0];} == 1 ? : |
2294 | 0 | 19 | $_[2] ? : |
2296 | 2 | 17 | if (ref $op) { } |
9 | 8 | elsif (not $op =~ /^[0-9]+$/) { } | |
2297 | 1 | 1 | $obj ? : |
2301 | 4 | 5 | "$obj" eq '1' ? : |
2304 | 3 | 5 | $obj ? : |
2308 | 0 | 2 | $_[2] ? : |
2317 | 0 | 57 | if ($INC{'JSON/XS.pm'} and $INC{'Types/Serialiser.pm'} and $JSON::XS::VERSION ge '3.00') { } |
2336 | 3 | 9 | if @_ == 2 |
2338 | 4 | 8 | unless ref $_[0] and UNIVERSAL::isa($_[0], 'JSON::PP::Boolean') |