Branch Coverage

File:blib/lib/OpenSRF/Utils/JSON.pm
Coverage:100.0%

line%coveragebranch
107100TFunless defined $json and $json =~ /\S/o
144100TFif (ref $obj eq 'HASH') { }
100TFelsif (ref $obj eq 'ARRAY') { }
146100TFif (defined $$obj{$JSON_CLASS_KEY})
149100TFunless defined $vivobj
155100TFif $pkg->lookup_class($class)
156100TFunless ref $vivobj
162100TFunless ref $$obj{$k} eq 'JSON::XS::Boolean'
168100TFunless ref $$obj[$i] eq 'JSON::XS::Boolean'
208100TFunless $ref
209100TFif $ref eq 'JSON::XS::Boolean'
213100TFif (UNIVERSAL::isa($obj, 'HASH')) { }
100TFelsif (UNIVERSAL::isa($obj, 'ARRAY')) { }
221100TFif ($ref ne 'HASH' and $ref ne 'ARRAY')
222100TFif $pkg->lookup_hint($ref)
243100TFunless $hint
257100TFunless $class