| blib/lib/CGI/RSS.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 28 | 67.8 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 34 | 7 | blessed($_[0]) ? : |
| 33 | 13 | 28 | ref $_[0] eq 'HASH' ? : |
| 35 | 4 | 37 | if (ref $_[0] eq 'ARRAY') |
| 59 | 4 | 35 | if ($subs) { } |
| 60 | 8 | 8 | $attrs ? : |
| 65 | 10 | 25 | if ($attrs) |
| 84 | 1 | 1 | if ($attrs) |
| 103 | 0 | 0 | if (my($fname) = $AUTOLOAD =~ /::([^:]+)$/) |
| 104 | 0 | 0 | if ('CGI'->can($fname)) { } |
| 127 | 2 | 0 | if (my $pd = ParseDate($_[-1])) |
| 155 | 1 | 0 | unless ref $opts |
| 163 | 0 | 1 | if exists $$opts{'link'} |
| 164 | 0 | 1 | if exists $$opts{'title'} |
| 165 | 0 | 1 | if exists $$opts{'desc'} |