Condition Coverage

blib/lib/Config/Merge.pm
Criterion Covered Total %
condition 49 71 69.0


and 2 conditions

line l !l condition
657 0 0 $self->debug(' ... No extension') and next CONFIG_FILE
661 0 0 $self->debug(' ... No loader') and next CONFIG_FILE

and 3 conditions

line !l l&&!r l&&r condition
397 33 1 0 exists $$params{'sort'} and ref $$params{'sort'} ne 'CODE'
408 0 1 29 $path and -d $path
1 0 29 $path and -d $path and -r _
498 85 8 0 wantarray && ref $config eq 'HASH'
85 6 2 wantarray && ref $config eq 'ARRAY'
509 0 0 244 defined $key and length $key
510 233 0 11 ref $config eq 'ARRAY' and $key =~ /^[0-9]+/
233 0 11 ref $config eq 'ARRAY' and $key =~ /^[0-9]+/ and exists $$config[$key]
0 3 230 ref $config eq 'HASH' and exists $$config{$key}
676 0 151 22 not $loading_local and &$is_local($self, $name)
697 123 0 10 exists $$config{$name} and ref $$config{$name} eq 'HASH'
123 0 10 exists $$config{$name} and ref $$config{$name} eq 'HASH' and ref $data eq 'HASH'
746 21 146 1 not $loading_local and $name eq ''
937 24 3 50 ref $$local{$key} eq 'HASH' and exists $$config{$key}
946 0 4 9 ref $$config{$key} eq 'ARRAY' and exists $$local{$key}{'!'}
4 0 9 ref $$config{$key} eq 'ARRAY' and exists $$local{$key}{'!'} and ref $$local{$key}{'!'} eq 'HASH'

or 2 conditions

line l !l condition
625 25 1 $self->_load_config || {}
633 36 31 shift() || ''
1087 6 2 $$changes{'-'} || []
1098 6 1 $$changes{'+'} || []
1475 7 0 $value ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
384 0 34 0 ref $proto || $proto
632 36 31 0 shift() || $$self{'config_dir'}
1113 2 4 2 exists $actions{$add_index} || $add_index >= @$dest