Branch Coverage

blib/lib/XML/Atom/Syndication/Text.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
10 0 50 @_ == 1 ? :
13 0 50 if ($param{'Body'})
16 0 50 if ($param{'Type'})
26 0 48 if (@_) { }
28 0 0 if ($type eq 'xhtml') { }
30 0 0 unless (ref $node)
40 0 0 if $@
55 48 0 unless (defined $text->{'__body'})
56 14 34 if ($type eq 'xhtml') { }
60 14 0 if (@children) { }
63 14 0 if @children == 1 and $local eq 'div'
73 14 0 if ($] >= 5.008)