Branch Coverage

blib/lib/XML/Mini/Node.pm
Criterion Covered Total %
branch 8 30 26.6


line true false branch
20 597 0 if (defined $value)
22 597 0 if ($XML::Mini::IgnoreWhitespaces)
27 592 5 if ($XML::Mini::AutoEscapeEntities)
32 0 597 if ($XML::Mini::Debug)
45 0 121 if ($XML::Mini::Debug)
58 0 0 defined $setToPrim ? :
60 0 0 if (defined $setTo)
62 0 0 if ($XML::Mini::IgnoreWhitespaces)
67 0 0 if ($XML::Mini::AutoEscapeEntities)
72 0 0 if ($XML::Mini::Debug)
88 0 0 defined $setToPrim ? :
90 0 0 if (defined $setTo)
92 0 0 if ($setTo =~ /^\s*[Ee\d\.\+-]+\s*$/) { }
108 0 88 if ($XML::Mini::Debug)
113 0 88 if ($depth == $XML::Mini::NoWhiteSpaces)