line |
true |
false |
branch |
13
|
0 |
5 |
$url =~ /$VIDEO_RE/u ? : |
|
0 |
5 |
$url =~ /$PHOTO_RE/u ? : |
17
|
0 |
5 |
if ($type eq 'video' and $url =~ /\.([^.]+)$/u) |
21
|
5 |
0 |
$type eq 'link' ? : |
31
|
0 |
4 |
if $tmp |
35
|
0 |
4 |
if ($tmp) |
41
|
0 |
4 |
if ($tmp = $dom->at('pre#paste') || $dom->at('pre.paste') || $dom->at('body > pre') || $dom->at('body > div > pre') || $dom->at('.code')) |
48
|
0 |
4 |
if ($tmp and not @{$tmp->children;}) |
54
|
0 |
0 |
if (not $self->thumbnail_url and $tmp and $tmp->{'src'} ||= $tmp->{'href'}) |
59
|
0 |
4 |
if (not $self->description and $tmp) |
70
|
0 |
0 |
unless ref $json eq 'HASH' |
71
|
0 |
0 |
unless ref $json eq 'HASH' |
73
|
0 |
0 |
ref $json->{'author'} eq 'ARRAY' ? : |
74
|
0 |
0 |
if ref $author eq 'HASH' and $author->{'name'} |
75
|
0 |
0 |
if $json->{'description'} |
76
|
0 |
0 |
if $json->{'headline'} |