blib/lib/XML/Filter/Merger.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 21 | 80.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
72 | 41 | 142 | 0 | not defined $v and $$self{'DocumentCount'} > 1 || $$self{'DocumentDepth'} > 1 |
69 | 21 | 52 | not defined $v and $$self{'DocumentCount'} > 1 || $$self{'DocumentDepth'} > 1 and not $$self{'Depth'} | |
98 | 30 | 19 | 18 | $$self{'ManifoldDocumentStarted'} && $$self{'DocumentCount'} == 1 && $$self{'DocumentDepth'} == 1 && $$self{'RootEltSeen'} |
171 | 16 | 4 | 11 | $$self{'DocumentDepth'} == 1 && $$self{'Depth'} == 0 |
196 | 0 | 0 | 0 | $$self{'DocumentCount'} == 1 && $$self{'DocumentDepth'} <= 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 30 | 43 | 69 | $$self{'DocumentCount'} > 1 || $$self{'DocumentDepth'} > 1 |
171 | 10 | 11 | 20 | $$self{'RootEltSeen'} ||= $$self{'DocumentDepth'} == 1 && $$self{'Depth'} == 0 |