Branch Coverage

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


line true false branch
24 4 10 if ('HASH' eq ref $ref) { }
4 6 elsif ('ARRAY' eq ref $ref) { }
26 3 1 if @vals
30 3 1 if @vals
34 5 1 if @vals
82 16 4 if (&Scalar::Util::blessed($type) and $type->isa('Type::Tiny')) { }
84 2 14 $type->has_coercion ? :
95 0 4 $type->can('compiled_check') ? :
100 2 2 $type->can('has_coercion') && $type->can('coerce') && $type->has_coercion ? :
116 40 50 $coerce ? :
117 23 67 unless (&$check($val))
119 22 1 $type && $type->can('get_message') ? :
128 10 38 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 @_ ? :