blib/lib/DBR/Config/Trans/Enum.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 18 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
103 | 1 | 0 | 19 | defined $value and length $value |
line | l | !l | condition |
---|---|---|---|
28 | 24 | 0 | $params{'instance'} || (return $self->_error('instance is required')) |
30 | 24 | 0 | $params{'field_id'} || (return $self->_error('field_id is required')) |
33 | 24 | 0 | $instance->connect || (return $self->_error("Failed to connect to ${\$instance->name;}")) |
62 | 205 | 0 | $$a{'sortval'} || 0 |
205 | 0 | $$b{'sortval'} || 0 | |
66 | 93 | 14 | $FIELDMAP{$$map{'field_id'}} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
184 | 0 | 0 | 0 | $_[1] || $_[0] |