Branch Coverage

lib/YAX/Parser.pm
Criterion Covered Total %
branch 22 52 42.3


line true false branch
65 0 2 unless $xstr
73 48 54 if (index($spec, '<') != 0)
77 22 32 if ($spec eq '
81 3 29 if ($spec eq '
85 2 27 if ($spec eq '
91 22 5 unless $node =~ m[/>$]
92 7 20 if $$elmt{'id'}
101 0 0 if (@_ == 1 and ref $_[0] eq 'HASH') { }
116 0 0 if (index($spec, '<') != 0)
117 0 0 if $text
120 0 0 if ($spec eq '
121 0 0 if $elcl
124 0 0 if ($spec eq '
125 0 0 if $decl
128 0 0 if ($spec eq '
129 0 0 if $proc
133 0 0 if ($elmt)
137 0 0 $atts ? :
141 0 0 if (substr($node, -2) eq '/>')
142 0 0 if $elcl
151 0 0 unless open FH, $file
196 1 2 if (substr($decl, 0, 4) eq '