Branch Coverage

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


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