line |
true |
false |
branch |
30
|
4 |
0 |
defined $args{'use_favicon'} ? :
|
|
0 |
4 |
defined $args{'user_agent'} ? :
|
|
2 |
2 |
defined $args{'image_max_num'} ? :
|
41
|
0 |
520 |
unless defined $url_raw
|
45
|
0 |
520 |
unless $scheme and $authority
|
49
|
520 |
0 |
if ($path =~ m[^(.*/)]i) { }
|
59
|
25 |
520 |
if $self->{'image_max_num'} == 0
|
61
|
0 |
520 |
unless defined $content
|
67
|
27 |
531 |
unless ($url->scheme)
|
69
|
0 |
27 |
unless defined $url_head and defined $url_dir
|
70
|
21 |
6 |
if (substr("$url", 0, 1) eq '/') { }
|
84
|
0 |
0 |
if (defined $home_url and $home_url =~ m[^https?://]i)
|
89
|
0 |
0 |
if defined $status->{'busybird'}
|
90
|
0 |
0 |
if defined $home_url
|
99
|
0 |
0 |
unless defined $home_url
|
101
|
0 |
0 |
unless defined $favicon_url
|
103
|
0 |
0 |
unless $res->is_success
|
105
|
0 |
0 |
if defined $type and not $type =~ /^image/i
|
112
|
45 |
500 |
unless defined $timestamp_str
|
113
|
0 |
500 |
if ($timestamp_str =~ /^\d+$/)
|
117
|
455 |
45 |
if defined $datetime
|
124
|
500 |
45 |
$created_at_dt ? :
|
132
|
416 |
129 |
if (defined $guid) { }
|
138
|
500 |
45 |
if (defined $created_at_dt and defined $item_id) { }
|
|
45 |
0 |
elsif (defined $item_id) { }
|
144
|
210 |
335 |
if (@image_urls)
|
154
|
30 |
0 |
unless $self->{'use_favicon'}
|
156
|
0 |
0 |
unless defined $favicon_url
|