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
320 1169 0 4 not defined $element_name and defined $note
370 1090 4 0 $ret eq "root" and not $at_top_level
436 1151 1 115 s/^"// and s/"$//
447 17 0 0 defined $note and not defined $action
17 0 0 defined $note and not defined $action and not defined $subaction
452 0 0 17 defined $subaction and $subaction eq "="
462 0 0 0 not defined $action and defined $subaction
546 1 253 42 defined $action and $action ne ":"
559 1 0 2 $before_str =~ s[^/][] && $before_str =~ s[/$][]
608 0 4 1 defined $v and $v eq $rm_val
623 1 3 1 defined $v and $v =~ /$rm_val/
660 132 10 3 defined $note and not defined $action
142 0 3 defined $note and not defined $action and not defined $subaction
665 27 80 35 defined $action and $action eq ":="
107 0 35 defined $action and $action eq ":=" and $cargo_type eq "leaf"
676 80 1 26 not defined $action and defined $subaction
81 0 26 not defined $action and defined $subaction and $subaction eq "="
1 0 26 not defined $action and defined $subaction and $subaction eq "=" and $cargo_type eq "leaf"
695 52 1 0 not defined $action and defined $subaction
704 1 0 52 defined $action and $action eq ":"
746 206 13 4 defined $note and not defined $action
816 0 87 114 $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/
860 742 0 5 defined $action and $element->isa("Config::Model::Value")

or 2 conditions

line l !l condition
93 146 255 delete $args{'check'} || 'yes'
232 413 192 $at_top_level ||= 0
655 109 36 ($f_arg // $id) // ""
799 212 3 ($f_arg // $id) // ""

or 3 conditions

line l !l&&r !l&&!r condition
81 202 199 0 delete $args{'steps'} // delete $args{'step'}
287 7 758 408 $value_function_param2 // $value_param
295 1169 4 0 defined $element_name or defined $note
309 1159 14 0 $node->isa("Config::Model::Node") or $node->isa("Config::Model::WarpedNode")
366 0 58 1094 $ret eq "error" or $ret eq "done"
541 8 0 43 $$dispatch{$type . '_' . $cargo_type}{$action} || $$dispatch{$type . '_*'}{$action} || $dispatch->{$cargo_type}{$action} || $dispatch->{'fallback'}{$action}
550 16 26 0 _get_dispatch_data(\%equiv, $type, $cargo_type, $action) // $action
655 15 64 66 $f_arg // $id
761 3 0 215 $action eq ":~" or $action eq ":.foreach_match"
764 2 0 1 $id // $f_arg
799 4 208 3 $f_arg // $id