Branch Coverage

blib/lib/Cpanel/JSON/XS.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
203 0 0 if ($] >= 5.008) { }
214 0 0 if ($] >= 5.008) { }
2287 13 10 ${$_[0];} == 1 ? :
2289 0 17 $_[2] ? :
2291 2 15 if (ref $op) { }
9 6 elsif (not $op =~ /^[0-9]+$/) { }
2292 1 1 $obj ? :
2296 4 5 "$obj" eq '1' ? :
2299 2 4 $obj ? :
2303 0 2 $_[2] ? :
2312 0 57 if ($INC{'JSON/XS.pm'} and $INC{'Types/Serialiser.pm'} and $JSON::XS::VERSION ge '3.00') { }
2331 3 9 if @_ == 2
2333 4 8 unless ref $_[0] and UNIVERSAL::isa($_[0], 'JSON::PP::Boolean')