Branch Coverage

blib/lib/XML/Handler/YAWriter.pm
Criterion Covered Total %
branch 0 98 0.0


line true false branch
19 0 0 $#_ == 0 ? :
38 0 0 unless $$self{'Escape'}
39 0 0 unless $$self{'Encoding'}
41 0 0 if ($$self{'AsFile'}) { }
0 0 elsif ($$self{'AsPipe'}) { }
51 0 0 unless ref $$self{'Pretty'} eq 'HASH'
56 0 0 if ($lc ne $_)
61 0 0 $$self{'Pretty'}{'prettywhitenewline'} ? :
62 0 0 $$self{'Pretty'}{'prettywhiteindent'} ? :
63 0 0 $$self{'Pretty'}{'addhiddenattrtab'} ? :
64 0 0 $$self{'Pretty'}{'addhiddennewline'} ? :
81 0 0 unless $$self{'Pretty'}{'noprolog'}
91 0 0 unless $$self{'LeftSPC'}
95 0 0 if $$self{'AsString'}
97 0 0 if ($$self{'AsFile'})
108 0 0 if $$self{'Pretty'}{'nodtd'}
109 0 0 unless $$properties{'Name'}
113 0 0 if $$properties{'SystemId'}
114 0 0 if $$properties{'PublicId'}
115 0 0 if $$properties{'Internal'}
123 0 0 if $$self{'Pretty'}{'nopi'}
126 0 0 if $$pi{'Target'}
127 0 0 if $$pi{'Data'}
129 0 0 unless $output
133 0 0 if ($$self{'Pretty'}{'issgml'}) { }
149 0 0 if $$self{'Indent'}
151 0 0 if $$self{'CompactAttr'}
153 0 0 if ($$element{'Attributes'})
171 0 0 if ($$self{'Pretty'}{'catchemptyelement'} and $$self{'Sendbuf'} =~ /^$name/ and $$self{'Sendleft'} eq '<' and $$self{'Sendright'} eq '>') { }
184 0 0 unless defined $$characters{'Data'}
186 0 0 $$self{'InCDATA'} ? :
190 0 0 if ($$self{'Pretty'}{'catchwhitespace'} and not $$self{'InCDATA'}) { }
0 0 elsif ($$self{'Pretty'}{'nowhitespace'} and not $$self{'InCDATA'}) { }
191 0 0 if $1
192 0 0 if $output eq ''
193 0 0 if $1
194 0 0 if $output eq ''
197 0 0 if $output eq ''
199 0 0 if $output eq ''
210 0 0 unless $output
219 0 0 if $$self{'Pretty'}{'nocomments'}
221 0 0 unless $output
248 0 0 if ($$self{'Sendleft'})
250 0 0 if $$self{'Indent'}
254 0 0 if defined $$self{'Sendbuf'}
255 0 0 if $$self{'Sendright'}
257 0 0 if ($sendbuf ne '')
258 0 0 if $$self{'Output'}
259 0 0 unless $$self{'NoString'}