line |
true |
false |
branch |
11
|
1 |
31 |
unless 'Data::Rx::Util'->_x_subset_keys_y($arg, {'range', 1, 'value', 1}) |
16
|
4 |
27 |
if $$arg{'range'} |
19
|
3 |
28 |
if (exists $$arg{'value'}) |
21
|
0 |
3 |
if (not defined $val or ref $val or not $class->_value_is_of_type($val)) |
26
|
0 |
0 |
defined $val ? : |
34
|
3 |
28 |
if defined $$arg{'value'} |
71
|
14 |
485 |
unless defined $value and length $value |
76
|
199 |
286 |
if ref $value |
78
|
89 |
197 |
unless $self->_value_is_of_type($value) |
80
|
24 |
173 |
if ($$self{'range_check'} and not $$self{'range_check'}($value)) |
88
|
20 |
153 |
if (defined $$self{'value'} and $value != $$self{'value'}) |