Condition Coverage

blib/lib/Config/Model/ObjTreeScanner.pm
Criterion Covered Total %
condition 24 52 46.1


and 3 conditions

line !l l&&!r l&&r condition
131 0 0 1281 &blessed($node) and $node->isa("Config::Model::AnyThing")

or 2 conditions

line l !l condition
32 225 22 delete $args{'fallback'} || 'all'
55 1 246 delete $args{'node_dispatch_cb'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 247 not defined $fallback or $fallback eq "none"
83 0 247 0 $fallback eq "node" or $fallback eq "all"
107 0 247 0 $fallback eq "leaf" or $fallback eq "all"
109 0 247 0 $self->{'string_value_cb'} ||= $self->{'leaf_cb'}
111 0 247 0 $self->{'check_list_element_cb'} ||= $l
112 0 247 0 $self->{'enum_value_cb'} ||= $l
113 0 247 0 $self->{'integer_value_cb'} ||= $l
114 0 247 0 $self->{'number_value_cb'} ||= $l
115 0 247 0 $self->{'boolean_value_cb'} ||= $l
116 0 247 0 $self->{'reference_value_cb'} ||= $l
117 0 247 0 $self->{'uniline_value_cb'} ||= $l
144 4 1277 0 $node_dispatch_cb || $self->{'node_content_cb'}
194 159 203 0 $autov || $node->is_element_defined($element_name)
205 67 190 0 $autov || $node->is_element_defined($element_name)
261 374 500 0 $element_type eq "hash" or $element_type eq "list"