Branch Coverage

blib/lib/Data/DefGen.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
35 20 1 unless UNIVERSAL::isa($$self{'obj_cloner'}, 'CODE')
47 25 78 if (defined blessed($_[0]))
49 23 2 if ($_[0]->isa(ref $self)) { }
51 0 23 if ref $_[0]{'data'} ne 'CODE'
63 36 42 unless $type
64 7 35 if $type eq 'HASH'
65 35 0 if $type eq 'ARRAY'
66 0 0 if $type eq 'SCALAR'
67 0 0 if $type eq 'REF'