Branch Coverage

lib/Types/Standard/HashRef.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
29 1 1 exists $values->{'of'} ? :
30 0 2 unless defined $of
31 1 1 unless (Types::TypeTiny::is_TypeTiny($of))
40 0 2 $type->has_coercion ? :
0 2 exists $values->{'where'} ? :
46 1 1 $INC{'Type/Registry.pm'} ? :
2 0 unless ref $caller or $caller eq "-lexical" or $globals->{'lexical'}
53 0 43 unless @_
58 3 40 unless Types::TypeTiny::is_TypeTiny($param)
66 29 11 if $paramname
90 37 3 unless ($Type::Tiny::AvoidCallbacks)
95 2 38 unless $param->can_be_inlined
98 217 123 if $xsubname and not $Type::Tiny::AvoidCallbacks
116 2 2 if $param->check($item)
133 18 12 unless $param->has_coercion
138 6 6 if ($param->coercion->can_be_inlined and $coercable_item->can_be_inlined) { }
164 12 0 @_ ? :
167 1 34 unless $coercable_item->check($value->{$k})
187 1 5 unless $self->my_hashref_allows_key($key)
188 2 3 if $self == &Types::Standard::HashRef()
191 3 0 if $_->has_parent
194 3 0 if Types::Standard::is_Str($key)