Branch Coverage

blib/lib/YAML/Dumper/Base.pm
Criterion Covered Total %
branch 35 46 76.0


line true false branch
41 0 158 if defined $YAML::SpecVersion
43 3 155 if defined $YAML::Indent
45 4 154 if defined $YAML::UseHeader
47 0 158 if defined $YAML::UseVersion
49 1 157 if defined $YAML::SortKeys
51 0 158 if defined $YAML::AnchorPrefix
53 25 133 if defined $YAML::DumpCode or defined $YAML::UseCode
55 1 157 if defined $YAML::UseBlock
57 0 158 if defined $YAML::UseFold
59 4 154 if defined $YAML::CompressSeries
61 1 157 if defined $YAML::InlineSeries
63 1 157 if defined $YAML::UseAliases
65 0 158 if defined $YAML::Purity
67 2 156 if defined $YAML::Stringify
69 3 155 if defined $YAML::QuoteNumericStrings
81 0 1 unless ref $ref
90 0 4 unless ref $ref
92 2 2 if (not defined $blessing) { }
1 1 elsif (ref $blessing) { }
96 0 1 unless ynode($blessing)
102 0 1 unless defined &{$transfer;}
104 0 1 unless ynode($ynode)
107 0 4 unless my $object = ynode($ynode)