Branch Coverage

blib/lib/Type/Tie.pm
Criterion Covered Total %
branch 31 38 81.5


line true false branch
24 5 12 if ('HASH' eq ref $ref) { }
5 7 elsif ('ARRAY' eq ref $ref) { }
26 4 1 if @vals
30 4 1 if @vals
34 6 1 if @vals
82 16 7 if (&Scalar::Util::blessed($type) and $type->isa('Type::Tiny')) { }
84 2 14 $type->has_coercion ? :
95 0 7 $type->can('compiled_check') ? :
100 4 3 $type->can('has_coercion') && $type->can('coerce') && $type->has_coercion ? :
116 60 53 $coerce ? :
117 28 85 unless (&$check($val))
119 27 1 $type && $type->can('get_message') ? :
128 12 48 wantarray ? :
139 0 3 unless $cloning
152 0 3 unless $cloning
159 3 0 unless --$tmp_clone_types{$refaddr}[1]
194 2 0 @_ ? :
195 0 2 if $off < 0
196 2 0 @_ ? :