blib/lib/XML/Atom/Syndication/Writer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
44 | 0 | 26 | if ($is_full) { } |
58 | 26 | 9 | if ref $node eq 'XML::Elemental::Characters' |
62 | 0 | 9 | $is_full ? : |
69 | 0 | 0 | if $ans eq 'http://www.w3.org/2000/xmlns/' or $aname eq 'xmlns' |
71 | 0 | 0 | $is_full && $ans ? : |
74 | 9 | 0 | if (@$children) { } |
91 | 0 | 26 | unless defined $data |
92 | 8 | 18 | if (not $nocdata and $data =~ / <[^>]+> ## HTML markup | ## or &(?:(?!(\#([0-9]+)|\#x([0-9a-fA-F]+))).*?); ## something that looks like an HTML entity. /x) { } |