blib/lib/Config/Model/DumpAsData.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 44 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
85 | 24 | 1 | 10 | $ordered_hash and $ordered_hash_as_list |
89 | 24 | 0 | 1 | $ordered_hash and @keys |
122 | 64 | 4 | 0 | $skip_aw and $next->is_auto_write_for_type($skip_aw) |
line | l | !l | condition |
---|---|---|---|
30 | 17 | 24 | delete $args{'mode'} // "" |
31 | 5 | 36 | delete $args{'skip_auto_write'} || '' |
32 | 0 | 41 | delete $args{'auto_vivify'} || 0 |
34 | 1 | 40 | delete $args{'to_boolean'} // sub { |
38 | 0 | 41 | delete $args{'full_dump'} || 0 |
128 | 10 | 31 | delete $args{'check'} || 'yes' |
219 | 0 | 2 | delete $args{'check'} || 'yes' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
29 | 41 | 0 | 0 | delete $args{'node'} || croak(q[dump_as_data: missing 'node' parameter]) |
77 | 44 | 1 | 5 | defined $v or $force_write |
151 | 2 | 5 | 6 | $obj_type eq "list" or $obj_type eq "hash" |
7 | 4 | 2 | $obj_type eq "list" or $obj_type eq "hash" or $obj_type eq "leaf" | |
9 | 2 | 0 | $obj_type eq "list" or $obj_type eq "hash" or $obj_type eq "leaf" or $obj_type eq "check_list" | |
175 | 2 | 0 | 0 | delete $args{'node'} || croak(q[dump_annotations_as_pod: missing 'node' parameter]) |
179 | 209 | 157 | 0 | shift() || $obj->location |