blib/lib/Data/Rx/CoreType/arr.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 10 | 100.0 |
line | true | false | branch |
---|---|---|---|
15 | 1 | 9 | unless "Data::Rx::Util"->_x_subset_keys_y($arg, {"length", 1, "contents", 1, "skip", 1}) |
20 | 1 | 8 | unless $arg->{'contents'} and ref $arg->{'contents'} || 1 |
27 | 5 | 1 | if $arg->{'length'} |
37 | 78 | 36 | unless (not &Scalar::Util::blessed($value) and ref $value eq "ARRAY") |
47 | 5 | 31 | if ($self->{'length_check'} and not $self->{'length_check'}->(@$value - $self->{'skip'})) |