blib/lib/Message/SmartMerge.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 37 | 51.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
254 | 0 | 8 | 0 | $args{'state'} and $args{'state'}{'config'} |
362 | 0 | 62 | 0 | $self->{'config'} and $self->{'config'}{'keep_only'} |
427 | 0 | 0 | 12 | $merge && ref $merge |
509 | 0 | 0 | 62 | $message && ref $message |
558 | 1 | 1 | 7 | defined $toggle_field_value && defined $previous_toggle_field_value |
line | l | !l | condition |
---|---|---|---|
250 | 1 | 7 | $args{'state'}{'merges'} || {} |
251 | 1 | 7 | $args{'state'}{'instances'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
343 | 0 | 0 | 8 | not $new_config->{'merge_instance'} or ref $new_config->{'merge_instance'} |
427 | 0 | 0 | 12 | not $merge && ref $merge or ref $merge ne 'HASH' |
436 | 0 | 0 | 12 | not $merge_id or ref $merge_id |
509 | 0 | 0 | 62 | not $message && ref $message or ref $message ne 'HASH' |
558 | 2 | 2 | 5 | not defined $toggle_field_value && defined $previous_toggle_field_value or $toggle_field_value ne $previous_toggle_field_value |
624 | 0 | 0 | 7 | not $merge_id or ref $merge_id |