| blib/lib/WWW/xkcd.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 22 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 8 | 6 | defined $comic ? : |
| 33 | 7 | 7 | if ($cb) |
| 35 | 1 | 6 | unless $can_async |
| 52 | 1 | 6 | unless $result->{'success'} |
| 61 | 1 | 1 | if ref $_[0] |
| 63 | 1 | 1 | if ($callback) |
| 83 | 3 | 4 | if ($cb) |
| 104 | 1 | 3 | unless $result->{'success'} |
| 117 | 7 | 14 | if (@_ == 2) { } |
| 11 | 3 | elsif (@_ == 1) { } | |
| 120 | 3 | 8 | if (ref $_[0]) { } |