| blib/lib/XML/Atom/SimpleFeed.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 25 | 52.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 171 | 0 | 1 | 8 | $type eq "html" and not $content =~ /&/ |
| 186 | 2 | 0 | 1 | "HASH" eq ref $arg and exists $arg->{'rel'} |
| 0 | 1 | 0 | "HASH" eq ref $arg and exists $arg->{'rel'} and "alternate" eq $arg->{'rel'} | |
| 265 | 33 | 1 | 2 | $elem eq "link" and defined(my $alt = permalink($arg)) |
| 275 | 11 | 0 | 0 | not $count{'id'} and defined $permalink |
| line | l | !l | condition |
|---|---|---|---|
| 20 | 4 | 0 | 'XML::Atom::SimpleFeed'->VERSION || 'git' |
| 288 | 30 | 39 | $count{$_} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 91 | 0 | 0 | 1 | not exists $link_arg->{'rel'} or $link_arg->{'rel'} eq "alternate" |
| 144 | 0 | 0 | 0 | $type eq "html" or $type eq "text" |