Branch Coverage

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


line true false branch
108 0 18 unless defined $data
109 7 11 unless (ref $data)
112 3 4 if ($flags & 12288 and not $flags & 16384) { }
119 1 5 if &blessed($data) and $data->isa('Math::BigInt') || $data->isa('Math::BigFloat')
123 0 10 if &_ARRAY0($data)
125 5 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)