Condition Coverage

blib/lib/Config/Model/Instance.pm
Criterion Covered Total %
condition 35 54 64.8


and 3 conditions

line !l l&&!r l&&r condition
485 13 22 2 defined $n and not defined $o
22 7 6 not defined $n and defined $o
7 0 22 defined $o and defined $n
543 0 0 0 $args{$k} and not $args{$k} =~ m[/$]
562 38 14 0 $path and $self->{'config_file'}
596 1 14 37 defined $node and $node->needs_save || $force_write
598 51 0 0 $dir and not -d $dir
628 0 0 0 $loc and not $args{'quiet'}

or 2 conditions

line l !l condition
233 1 92 $self->_write_back->{$path} //= []
256 1 1 $self->root_dir // ""
453 0 0 $args{'note'} //= ""
480 34 3 $c->{'value_type'} || ''
526 20 19 delete $args{'force'} || 0
542 0 0 $args{$k} ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
313 10 18 14 $$data_ref ||= $leaf_object->clear_preset
338 20 44 73 $$data_ref ||= $leaf_object->clear_layered
370 36 24 5 $$data_ref ||= $has_data
390 0 0 2 delete $args{'force_save'} || delete $args{'force'}
511 2 0 0 $self->application // $self->name
596 32 19 0 $node->needs_save || $force_write