Condition Coverage

blib/lib/XML/SAX/Writer.pm
Criterion Covered Total %
condition 18 27 66.6


and 3 conditions

line !l l&&!r l&&r condition
175 7 0 1 not defined $out and defined $str

or 2 conditions

line l !l condition
36 0 7 $$opt{'Writer'} ||= 'XML::SAX::Writer::XML'
37 1 6 $$opt{'Escape'} ||= \%XML::SAX::Writer::DEFAULT_ESCAPE
38 0 7 $$opt{'CommentEscape'} ||= \%XML::SAX::Writer::COMMENT_ESCAPE
41 1 6 $$opt{'Format'} ||= {}
42 5 2 $$opt{'Output'} ||= *STDOUT{'IO'}
43 1 6 $$opt{'QuoteCharacter'} ||= q[']

or 3 conditions

line l !l&&r !l&&!r condition
87 0 1 7 $ref eq 'GLOB' or UNIVERSAL::isa(\$$self{'Output'}, 'GLOB')
1 3 4 $ref eq 'GLOB' or UNIVERSAL::isa(\$$self{'Output'}, 'GLOB') or UNIVERSAL::isa($$self{'Output'}, 'IO::Handle')
198 0 15 0 ref $class || $class
332 0 0 0 $proto or $proto