| blib/lib/YAML/PP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 27 | 88.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 51 | 187 | 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 | 49 | 136 | delete $args{'schema'} || ['+'] |
| 27 | 6 | 179 | delete $args{'cyclic_refs'} || 'allow' |
| 40 | 0 | 185 | delete $args{'emitter'} || {'indent', $indent, 'width', $width, 'writer', $writer} |