Branch Coverage

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) { }
2312 13 10 ${$_[0];} == 1 ? :
2314 0 17 $_[2] ? :
2316 2 15 if (ref $op) { }
9 6 elsif (not $op =~ /^[0-9]+$/) { }
2317 1 1 $obj ? :
2321 4 5 "$obj" eq '1' ? :
2324 2 4 $obj ? :
2328 0 2 $_[2] ? :
2337 0 58 if ($INC{'JSON/XS.pm'} and $INC{'Types/Serialiser.pm'} and $JSON::XS::VERSION ge '3.00') { }
2356 3 9 if @_ == 2
2358 4 8 unless ref $_[0] and UNIVERSAL::isa($_[0], 'JSON::PP::Boolean')