Branch Coverage

lib/MKDoc/XML/TreePrinter.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
30 15 10 unless (ref $node)
35 1 9 if ($$node{'_tag'} =~ /\~pi/)
40 1 8 if ($$node{'_tag'} =~ /\~declaration/)
45 1 7 if ($$node{'_tag'} =~ /\~comment/)
56 1 6 if ($open and $close)
57 0 1 if ($attr) { }
62 1 5 $attr ? :
64 6 0 $$node{'_content'} ? :
78 0 1 unless defined $res