Branch Coverage

lib/XML/DOM/Lite/Parser.pm
Criterion Covered Total %
branch 36 52 69.2


line true false branch
63 0 12 unless (ref $self)
72 76 27 if (substr($n, 0, 1) eq '<')
73 1 75 if (substr($n, 1, 1) eq '!')
77 1 74 if (substr($n, 1, 1) eq '?')
92 0 0 unless (ref $self)
97 0 0 unless open FH, $filename
111 11 1 if (defined $options{'whitespace'})
113 9 2 if (index($mode, 'strip') >= 0)
117 2 9 if (index($mode, 'normalize') >= 0)
131 1 0 if (substr($decl, 0, 4) eq '