Branch Coverage

blib/lib/JSON/Typist.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
108 0 16 unless defined $data
109 6 10 unless (ref $data)
112 3 3 if ($flags & 12288 and not $flags & 16384) { }
119 1 5 if &blessed($data) and $data->isa('Math::BigInt') || $data->isa('Math::BigFloat')
123 0 9 if &_ARRAY0($data)
125 4 5 if &_HASH0($data)
147 0 5 unless defined $data
149 3 2 if (&blessed($data))
150 3 0 if $data->isa('JSON::Typist::Number') or $data->isa('JSON::Typist::String')
156 0 2 if &_ARRAY0($data)
158 2 0 if &_HASH0($data)