Branch Coverage

blib/lib/KiokuDB/Backend/Serialize/JSPON/Collapser.pm
Criterion Covered Total %
branch 35 38 92.1


line true false branch
31 4332 48 if (my $ref = ref $data)
32 973 3359 if ($ref eq 'KiokuDB::Reference') { }
797 2562 elsif ($ref eq 'KiokuDB::Entry') { }
735 1827 elsif ($ref eq 'HASH') { }
1827 0 elsif ($ref eq 'ARRAY') { }
34 1 972 $self->inline_data ? :
398 575 $data->is_weak ? :
50 747 50 $data->has_class ? :
11 786 $data->has_class_meta ? :
5 792 defined $data->class_version ? :
739 58 $id ? :
416 381 $data->root ? :
0 797 $data->deleted ? :
9 788 $data->has_tied ? :
0 797 defined $data->backend_data ? :
1 796 $self->inline_data ? :
60 2015 967 ref $value ? :
62 31 2951 if ($key =~ /$res/) { }
71 825 57 ref $_ ? :