| blib/lib/AnyEvent/Google/PageRank.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 22 | 77.2 |
| line | true | false | branch |
|---|---|---|---|
| 126 | 1 | 5 | if (%opts) |
| 148 | 0 | 6 | if ref $cb ne 'CODE' |
| 151 | 1 | 5 | unless $url =~ m[^https?://]i |
| 158 | 2 | 3 | if (ref $self eq 'HASH') { } |
| 161 | 0 | 2 | if defined $opts->{'proxy'} and index($opts->{'proxy'}, ':') != -1 |
| 162 | 0 | 2 | exists $opts->{'agent'} ? : |
| 166 | 1 | 2 | if ref $self->{'ae_http'} eq 'HASH' |
| 167 | 1 | 2 | if defined $self->{'timeout'} |
| 168 | 0 | 3 | if defined $self->{'proxy'} |
| 169 | 3 | 0 | if defined $self->{'agent'} |
| 175 | 3 | 2 | if ($headers->{'Status'} =~ /^2/ and $data =~ /Rank_\d+:\d+:(\d+)/) { } |