Branch Coverage

blib/lib/XML/Generator/Essex.pm
Criterion Covered Total %
branch 10 32 31.2


line true false branch
104 0 1 unless ($ok)
105 0 0 if ($x eq "end of XML document\n")
106 0 0 if $om->end_document_result_has_been_set
109 0 0 unless $om->start_document_seen
120 0 1 if $om->start_document_seen and not $om->end_document_seen
124 1 0 if $om->end_document_result_has_been_set
127 0 0 if $om->start_document_seen
228 0 3 @_ && UNIVERSAL::isa($_[0], 'XML::Generator::Essex') ? :
234 0 3 if (not $om->get_handler or $om->get_handler->isa('XML::SAX::Base::NoHandler') and $$self{'Writer'})
242 3 0 @_ ? :
243 1 3 if (not ref $_) { }
3 0 elsif (UNIVERSAL::can($_, 'generate_SAX')) { }
0 0 elsif (ref $_ eq 'ARRAY') { }
268 0 0 @_ && UNIVERSAL::isa($_[0], 'XML::Generator::Essex') ? :
275 0 0 @_ && UNIVERSAL::isa($_[0], 'XML::Generator::Essex') ? :
282 6 0 @_ && UNIVERSAL::isa($_[0], 'XML::Generator::Essex') ? :