Branch Coverage

blib/lib/KiokuDB/TypeMap/Entry/StorableHook.pm
Criterion Covered Total %
branch 18 30 60.0


line true false branch
26 0 36 $class->can('STORABLE_attach') ? :
39 35 1 if (@refs) { }
40 0 35 if $attach
42 0 35 if (my(@non_refs) = grep({not ref $_;} @refs))
49 0 68 unless ref $ref eq 'KiokuDB::Reference'
50 68 0 if $self->may_compact($ref)
56 1 0 if (not $attach) { }
57 1 0 if (@type == 1) { }
77 36 0 if (not $class->can('STORABLE_attach')) { }
84 35 1 ref $data ? :
88 0 36 if (ref $args[0]) { }
121 72 0 if (not $class->can('STORABLE_attach')) { }
128 35 1 ref $data ? :
130 0 36 if ref $args[0]
139 68 0 if (ref $ref) { }