Branch Coverage

blib/lib/Config/Model/AnyThing.pm
Criterion Covered Total %
branch 46 66 69.7


line true false branch
53 0 0 defined $p ? :
93 0 4090 if $self->instance->initial_load and not $args{'really'}
95 224 3866 if ($change_logger->is_trace)
103 2625 1465 if $self->element_name
104 645 3445 if $self->index_value
114 3188 129 if defined $self->parent
116 1468 1849 if $str
127 41 10 if defined $self->parent
129 15 36 if $str
142 129 3406 unless defined $element
145 2336 1199 unless defined $idx
146 65 1134 if $idx =~ /\W/
155 10 41 unless defined $element
159 50 1 unless length $idx
160 0 1 if $idx =~ /\W/
170 1 57 if @idx
183 0 0 unless defined $element
188 0 0 if $self->can("cim_parent") and defined $self->cim_parent
192 0 0 defined $idx ? :
0 0 if $element
200 201 40 if (@_ and not $self->instance->preset and not $self->instance->layered)
202 194 7 unless $new eq $old_note
210 1 0 if $self->{'annotation'}
225 0 1 unless $s->title eq "Annotations"
241 0 0 if $logger->is_trace
262 0 41 if ($full)
275 20313 7059 if not defined $p or $p eq 1 or $p eq "yes"
276 1672 5387 if $p eq 0 or $p eq "no"
277 5387 0 if $p eq "skip"
296 9 7 unless defined $self->{'warper'}
310 52 0 $convert eq 'lc' ? :
2 52 $convert eq 'uc' ? :
315 0 54 unless defined $self->{'convert_sub'}