| blib/lib/CGI/RSS.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 28 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 45 | 32 | 6 | blessed($_[0]) ? : |
| 46 | 12 | 26 | ref $_[0] eq 'HASH' ? : |
| 48 | 4 | 34 | if (ref $_[0] eq 'ARRAY') |
| 66 | 4 | 32 | if ($subs) { } |
| 67 | 8 | 8 | $attrs ? : |
| 72 | 10 | 22 | if ($attrs) |
| 91 | 0 | 2 | if ($attrs) |
| 110 | 0 | 0 | if (my($fname) = $AUTOLOAD =~ /::([^:]+)$/) |
| 111 | 0 | 0 | if ('CGI'->can($fname)) { } |
| 134 | 2 | 0 | if (my $pd = ParseDate($_[-1])) |
| 162 | 0 | 0 | unless ref $opts |
| 170 | 0 | 0 | if exists $$opts{'link'} |
| 171 | 0 | 0 | if exists $$opts{'title'} |
| 172 | 0 | 0 | if exists $$opts{'desc'} |