Condition Coverage

blib/lib/Config/Model/Loader.pm
Criterion Covered Total %
condition 85 116 73.2


and 3 conditions

line !l l&&!r l&&r condition
334 1239 0 4 not defined $element_name and defined $note
384 1151 11 0 $ret eq "root" and not $at_top_level
450 1254 1 117 s/^"// and s/"$//
461 17 0 0 defined $note and not defined $action
17 0 0 defined $note and not defined $action and not defined $subaction
466 0 0 17 defined $subaction and $subaction eq "="
476 0 0 0 not defined $action and defined $subaction
560 1 290 45 defined $action and $action ne ":"
573 1 0 2 $before_str =~ s[^/][] && $before_str =~ s[/$][]
622 0 4 1 defined $v and $v eq $rm_val
637 1 3 1 defined $v and $v =~ /$rm_val/
674 163 10 3 defined $note and not defined $action
173 0 3 defined $note and not defined $action and not defined $subaction
679 34 104 35 defined $action and $action eq ":="
138 0 35 defined $action and $action eq ":=" and $cargo_type eq "leaf"
690 104 1 33 not defined $action and defined $subaction
105 0 33 not defined $action and defined $subaction and $subaction eq "="
1 0 33 not defined $action and defined $subaction and $subaction eq "=" and $cargo_type eq "leaf"
709 73 1 0 not defined $action and defined $subaction
718 1 0 73 defined $action and $action eq ":"
760 222 13 4 defined $note and not defined $action
830 0 87 130 $action eq ":" and $cargo_type =~ /node/
0 4 83 $action eq ":" and defined $subaction
4 0 83 $action eq ":" and defined $subaction and $cargo_type =~ /leaf/
874 765 0 5 defined $action and $element->isa("Config::Model::Value")

or 2 conditions

line l !l condition
126 146 267 delete $args{'check'} || 'yes'
246 425 208 $at_top_level ||= 0
669 133 43 ($f_arg // $id) // ""
813 228 3 ($f_arg // $id) // ""

or 3 conditions

line l !l&&r !l&&!r condition
114 214 199 0 delete $args{'steps'} // delete $args{'step'}
301 7 809 427 $value_function_param2 // $value_param
309 1239 4 0 defined $element_name or defined $note
323 1229 14 0 $node->isa("Config::Model::Node") or $node->isa("Config::Model::WarpedNode")
380 0 60 1162 $ret eq "error" or $ret eq "done"
555 8 0 49 $$dispatch{$type . '_' . $cargo_type}{$action} || $$dispatch{$type . '_*'}{$action} || $dispatch->{$cargo_type}{$action} || $dispatch->{'fallback'}{$action}
564 19 26 0 _get_dispatch_data(\%equiv, $type, $cargo_type, $action) // $action
669 15 81 80 $f_arg // $id
775 3 0 231 $action eq ":~" or $action eq ":.foreach_match"
778 2 0 1 $id // $f_arg
813 4 224 3 $f_arg // $id