Branch Coverage

blib/lib/Text/FakeXML.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
96 10 0 if (exists $args{'fh'})
99 1 9 if (exists $args{'version'})
102 0 10 if (exists $args{'encoding'})
106 2 8 if (exists $args{'indent'})
108 1 1 if $$self{'_indent'} =~ /^\d+$/
111 3 7 if (exists $args{'level'})
115 0 10 if %args
119 1 9 if ($version)
120 0 1 $encoding ? :
156 0 7 if @atts % 2
177 6 0 if ($tag eq $$self{'elts'}[0]) { }
206 0 9 if @atts % 2
213 8 1 if (defined $val) { }
234 0 15 unless defined $_[0]
246 7 0 unless $t =~ /"/