Condition Coverage

blib/lib/UR/Object/Command/Copy.pm
Criterion Covered Total %
condition 9 12 75.0


and 2 conditions

line l !l condition
40 0 1 $failure = "Invalid change: $change" and last
42 0 1 $failure = sprintf('Invalid property %s for %s', $key, $copy->__display_name__) and last

and 3 conditions

line !l l&&!r l&&r condition
40 1 0 6 $key and defined $op

or 2 conditions

line l !l condition
63 2 1 $failure || 'Failed to commit software transaction!'

or 3 conditions

line l !l&&r !l&&!r condition
61 2 1 1 $failure or not $tx->commit