Branch Coverage

blib/lib/XML/Spice.pm
Criterion Covered Total %
branch 3 40 7.5


line true false branch
17 1 2 if (@args) { }
19 0 3 unless $arg =~ /^[A-Za-z]\w*$/
43 0 0 if (ref $arg eq 'HASH') { }
45 0 0 if (not defined $$arg{$key}) { }
78 0 0 if ($XML::Spice::PRETTY_PRINT and not defined $TIDY_LOADED)
80 0 0 if ($@) { }
91 0 0 if exists $$chunk{'cached'} and not $WANT_PRETTY
115 0 0 unless defined $thing
117 0 0 if (ref $thing eq 'CODE')
120 0 0 if (ref $thing eq 'HASH')
122 0 0 if (not defined $$thing{$key}) { }
134 0 0 if (ref $thing eq 'ARRAY') { }
0 0 elsif (ref $thing eq 'XML::Spice::Chunk') { }
143 0 0 if $thing eq ''
151 0 0 if exists $$chunk{'sub'}
159 0 0 unless (defined $subxml)
161 0 0 unless $WANT_PRETTY
162 0 0 $WANT_PRETTY ? :
167 0 0 unless $WANT_PRETTY
168 0 0 $WANT_PRETTY ? :