Branch Coverage

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


line true false branch
41 0 149 if defined $YAML::SpecVersion
43 3 146 if defined $YAML::Indent
45 4 145 if defined $YAML::UseHeader
47 0 149 if defined $YAML::UseVersion
49 1 148 if defined $YAML::SortKeys
51 0 149 if defined $YAML::AnchorPrefix
53 17 132 if defined $YAML::DumpCode or defined $YAML::UseCode
55 1 148 if defined $YAML::UseBlock
57 0 149 if defined $YAML::UseFold
59 4 145 if defined $YAML::CompressSeries
61 1 148 if defined $YAML::InlineSeries
63 1 148 if defined $YAML::UseAliases
65 0 149 if defined $YAML::Purity
67 2 147 if defined $YAML::Stringify
69 3 146 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)