Branch Coverage

blib/lib/DBIx/Class/InflateColumn/JSON2Object/Role/Storable.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
32 19 0 if not utf8::is_utf8($json) and utf8::valid($json)
40 12 2 if utf8::is_utf8($payload)
42 12 2 unless ref $payload
52 0 64 if $attribute->does('DBIx::Class::InflateColumn::Trait::NoSerialize')
55 7 57 unless defined $val
58 7 50 if ($type eq 'Int' or $type eq 'Num')