| blib/lib/Web/oEmbed.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 14 | 64.2 |
| line | true | false | branch |
|---|---|---|---|
| 37 | 11 | 14 | $1 ? : |
| 44 | 2 | 5 | if ($uri =~ /^$$provider{'regexp'}/) |
| 59 | 0 | 2 | if exists $$opt{'maxwidth'} |
| 60 | 0 | 2 | if exists $$opt{'maxheight'} |
| 62 | 0 | 2 | unless my $provider = $self->provider_for($uri) |
| 64 | 1 | 1 | if ($req_uri->path =~ /%7Bformat%7D/) |
| 78 | 0 | 0 | unless my $url = $self->request_url($uri, $opt) |