Branch Coverage

blib/lib/XML/Handler/ExtOn/Attributes.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
13 8 18 if @_
23 0 4 unless $self->_context($attr{'context'})
25 4 0 if (my $sax2 = $attr{'sax2'})
31 4 9 if (defined $prefix and $prefix eq 'xmlns')
36 1 12 if ($$_{'Name'} eq 'xmlns')
50 4 9 unless $val{'Prefix'} or $val{'Name'} eq 'xmlns'
74 2 3 unless $val{'Prefix'}
98 0 1 unless my $ns_uri = $self->ns->get_uri($prefix)
124 0 1 unless defined $prefix