Branch Coverage

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


line true false branch
25 0 39 unless @_
28 3 36 unless Types::TypeTiny::is_TypeTiny($param)
36 26 10 if $paramname
60 33 3 unless ($Type::Tiny::AvoidCallbacks)
65 2 34 unless $param->can_be_inlined
68 181 102 if $xsubname and not $Type::Tiny::AvoidCallbacks
86 2 2 if $param->check($item)
103 14 12 unless $param->has_coercion
108 6 6 if ($param->coercion->can_be_inlined and $coercable_item->can_be_inlined) { }
134 12 0 @_ ? :
137 1 31 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)