Branch Coverage

blib/lib/Data/Rx/CoreType/rec.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
15 2 13 unless "Data::Rx::Util"->_x_subset_keys_y($arg, {"rest", 1, "required", 1, "optional", 1})
26 5 8 if $arg->{'rest'}
29 5 21 unless my $entries = $arg->{$type}
33 1 24 if $content_schema->{$entry}
49 344 62 unless (not &Scalar::Util::blessed($value) and ref $value eq "HASH")
62 9 53 if (@rest_keys and not $self->{'rest_schema'})
73 62 0 $self->rx->sort_keys ? :
76 23 53 unless ($check->{'optional'} or exists $value->{$key})
87 59 17 if (exists $value->{$key})
93 6 53 $check->{'optional'} ? :
101 21 9 if (@rest_keys and $self->{'rest_schema'})