Branch Coverage

blib/lib/XML/Filter/Merger.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
72 52 90 if not defined $v and $$self{'DocumentCount'} > 1 || $$self{'DocumentDepth'} > 1 and not $$self{'Depth'}
119 0 29 if $$self{'AutoReset'}
123 16 13 unless $$self{'DocumentDepth'}
127 11 18 unless $self->_cutting
137 11 18 unless ($self->_cutting)
138 8 3 if ($self->_saving) { }
158 20 21 $$self{'IncludeAllRoots'} ? :
35 6 unless $self->_cutting($$self{'IncludeAllRoots'} ? 0 : ())
173 21 20 $$self{'IncludeAllRoots'} ? :
6 35 if $self->_cutting($$self{'IncludeAllRoots'} ? 0 : ())
175 8 27 $self->_saving ? :
226 8 0 if ($$self{'TailEvents'})