Branch Coverage

lib/Types/Standard/HashRef.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
25 0 43 unless @_
28 3 40 unless Types::TypeTiny::is_TypeTiny($param)
36 30 10 if $paramname
60 37 3 unless ($Type::Tiny::AvoidCallbacks)
65 2 38 unless $param->can_be_inlined
68 200 118 if $xsubname and not $Type::Tiny::AvoidCallbacks
86 2 2 if $param->check($item)
103 16 13 unless $param->has_coercion
108 7 6 if ($param->coercion->can_be_inlined and $coercable_item->can_be_inlined) { }
134 12 0 @_ ? :
137 1 33 unless $coercable_item->check($value->{$k})
157 1 5 unless $self->my_hashref_allows_key($key)
158 2 3 if $self == &Types::Standard::HashRef()
161 3 0 if $_->has_parent
164 3 0 if Types::Standard::is_Str($key)