Condition Coverage

blib/lib/XML/Genx/SAXWriter.pm
Criterion Covered Total %
condition 8 17 47.0


and 3 conditions

line !l l&&!r l&&r condition
32 1 0 0 ref $self->_out and $self->_out->isa('IO::Handle')
0 0 1 defined $self->_out and length $self->_out

or 2 conditions

line l !l condition
23 7 1 $opt{'out'} || \*STDOUT

or 3 conditions

line l !l&&r !l&&!r condition
161 4 4 0 $$self{'namespace'}{$nsuri} ||= $self->_declare_namespace($nsuri, $prefix)
185 0 8 0 $$self{'element'}{$lname} ||= $self->_w->DeclareElement($ns, $lname)
192 0 3 0 $$self{'attribute'}{$lname} ||= $self->_w->DeclareAttribute($ns, $lname)