blib/lib/Data/Rx/CoreType/num.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 14 | 78.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
80 | 154 | 19 | 24 | $self->{'range_check'} and not $self->{'range_check'}->($value) |
88 | 145 | 8 | 20 | defined $self->{'value'} and $value != $self->{'value'} |
line | l | !l | condition |
---|---|---|---|
26 | 0 | 1 | $val // "undef" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
21 | 1 | 0 | 3 | not defined $val or ref $val |
1 | 0 | 3 | not defined $val or ref $val or not $class->_value_is_of_type($val) |