Condition Coverage

blib/lib/Message/SmartMerge.pm
Criterion Covered Total %
condition 19 34 55.8


and 3 conditions

line !l l&&!r l&&r condition
253 0 7 1 $args{'state'} and $args{'state'}{'config'}
417 0 0 12 $merge && ref $merge
499 0 0 62 $message && ref $message
548 1 1 7 defined $toggle_field_value && defined $previous_toggle_field_value

or 2 conditions

line l !l condition
251 1 7 $args{'state'}{'merges'} || {}
252 1 7 $args{'state'}{'instances'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
342 0 0 8 not $$new_config{'merge_instance'} or ref $$new_config{'merge_instance'}
417 0 0 12 not $merge && ref $merge or ref $merge ne 'HASH'
426 0 0 12 not $merge_id or ref $merge_id
499 0 0 62 not $message && ref $message or ref $message ne 'HASH'
548 2 2 5 not defined $toggle_field_value && defined $previous_toggle_field_value or $toggle_field_value ne $previous_toggle_field_value
614 0 0 7 not $merge_id or ref $merge_id