Branch Coverage

blib/lib/YAML/Accessor.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
41 0 5 if ($params{'readonly'} and $params{'autocommit'})
68 5 0 if ($$obj{'params'}->get_damian)
75 4 1 if ($$obj{'params'}->get_readonly) { }
91 0 1 if $$self{'params'}->get_readonly
104 0 1 if ($$self{'params'}->get_autocommit)
121 0 33 if (scalar @keys > 1)
127 22 11 if (exists $$self{'yaml'}) { }
129 4 18 if (not blessed($$self{'yaml'}{$key}) and ref $$self{'yaml'}{$key} eq 'HASH') { }
134 4 0 if ($$self{'params'}->get_damian)
151 6 5 if (blessed($$self{$key})) { }
155 3 2 if (ref $$self{$key} eq 'HASH') { }
157 3 0 if ($$self{'params'}->get_damian)
188 0 0 unless $$self{'params'}{'file'}