blib/lib/YAML/PP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 27 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
51 | 749 | 0 | 0 | &blessed($schemas) and $schemas->isa("YAML::PP::Schema") |
244 | 59 | 29 | 39 | ref $val and not &blessed($val) |
245 | 20 | 18 | 1 | &reftype($val) eq "HASH" and not tied %$val |
18 | 18 | 2 | &reftype($val) eq "ARRAY" and not tied @$val | |
323 | 19 | 10 | 13 | ref $val and not &blessed($val) |
324 | 3 | 5 | 5 | &reftype($val) eq "HASH" and not tied %$val |
5 | 2 | 1 | &reftype($val) eq "ARRAY" and not tied @$val |
line | l | !l | condition |
---|---|---|---|
26 | 319 | 428 | delete $args{'schema'} || ['+'] |
27 | 16 | 731 | delete $args{'cyclic_refs'} || 'fatal' |
40 | 0 | 747 | delete $args{'emitter'} || {'indent', $indent, 'width', $width, 'writer', $writer} |