Branch Coverage

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


line true false branch
65 0 12 unless (ref $self)
74 76 27 if (substr($n, 0, 1) eq '<')
75 1 75 if (substr($n, 1, 1) eq '!')
79 1 74 if (substr($n, 1, 1) eq '?')
94 0 0 unless (ref $self)
99 0 0 unless open FH, '<', $filename
113 11 1 if (defined $options{'whitespace'})
115 9 2 if (index($mode, 'strip') >= 0)
119 2 9 if (index($mode, 'normalize') >= 0)
133 1 0 if (substr($decl, 0, 4) eq '