| blib/lib/YAML/PP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 27 | 88.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 52 | 757 | 0 | 0 | builtin::blessed($schemas) and $schemas->isa("YAML::PP::Schema") |
| 246 | 59 | 29 | 39 | ref $val and not builtin::blessed($val) |
| 247 | 20 | 18 | 1 | builtin::reftype($val) eq "HASH" and not tied %$val |
| 18 | 18 | 2 | builtin::reftype($val) eq "ARRAY" and not tied @$val | |
| 325 | 19 | 10 | 13 | ref $val and not builtin::blessed($val) |
| 326 | 3 | 5 | 5 | builtin::reftype($val) eq "HASH" and not tied %$val |
| 5 | 2 | 1 | builtin::reftype($val) eq "ARRAY" and not tied @$val |
| line | l | !l | condition |
|---|---|---|---|
| 26 | 632 | 123 | delete $args{'schema'} || ['+'] |
| 27 | 16 | 739 | delete $args{'cyclic_refs'} || 'fatal' |
| 41 | 0 | 755 | delete $args{'emitter'} || {'indent', $indent, 'width', $width, 'writer', $writer} |