Condition Coverage

blib/lib/YAML/PP/Loader.pm
Criterion Covered Total %
condition 8 9 88.8


or 2 conditions

line l !l condition
15 184 2 delete $args{'cyclic_refs'} || 'allow'
16 184 2 delete $args{'default_yaml_version'} || '1.2'
20 184 2 $schemas ||= {"1.2", "YAML::PP"->default_schema("boolean", "perl")}

or 3 conditions

line l !l&&r !l&&!r condition
26 0 185 1 delete $args{'constructor'} || 'YAML::PP::Constructor'->new('schemas', $schemas, 'cyclic_refs', $cyclic_refs, 'default_yaml_version', $default_yaml_version, 'preserve', $preserve, 'duplicate_keys', $duplicate_keys)