Branch Coverage

blib/lib/YAML/Old/Dumper/Base.pm
Criterion Covered Total %
branch 33 44 75.0


line true false branch
40 0 138 if defined $YAML::SpecVersion
42 3 135 if defined $YAML::Indent
44 4 134 if defined $YAML::UseHeader
46 0 138 if defined $YAML::UseVersion
48 1 137 if defined $YAML::SortKeys
50 0 138 if defined $YAML::AnchorPrefix
52 17 121 if defined $YAML::DumpCode or defined $YAML::UseCode
54 1 137 if defined $YAML::UseBlock
56 0 138 if defined $YAML::UseFold
58 4 134 if defined $YAML::CompressSeries
60 1 137 if defined $YAML::InlineSeries
62 1 137 if defined $YAML::UseAliases
64 0 138 if defined $YAML::Purity
66 2 136 if defined $YAML::Stringify
78 0 1 unless ref $ref
87 0 4 unless ref $ref
89 2 2 if (not defined $blessing) { }
1 1 elsif (ref $blessing) { }
93 0 1 unless ynode($blessing)
99 0 1 unless defined &{$transfer;}
101 0 1 unless ynode($ynode)
104 0 4 unless my $object = ynode($ynode)