line | % | coverage | condition |
173 | 33 | | $$params{"ua"} ||= "Mojo::UserAgent"->new |
174 | 50 | | $$params{"plugins"} ||= {} |
222 | 0 | | $url //= $$self{"url"} |
243 | 33 | | $html //= $self->_fetch_html |
291 | 33 | | $html //= $self->_fetch_html |
316 | 33 | | $html //= $self->_fetch_html |
339 | 33 | | $url //= $$self{"url"} |
532 | 50 | | $2 // "" |
566 | 33 | | $last_level and $level > $last_level + 1 |
601 | 33 | | $$self{"url"} and $$self{"url"} =~ m[^https?://]i |
612 | 0 | | $2 // "" |
618 | 0 | | $href //= $attrs =~ /\bhref\s*=\s*'(.*?)'/i ? $1 : undef |
619 | 0 | | $href //= $attrs =~ /\bhref\s*=\s*([^\s>]+)/i ? $1 : undef |
622 | 0 | | defined $href and $href =~ m[^\s*https?://]i |
625 | 0 | | defined $base_host and defined $host |
651 | 33 | | $external || $badtext |
680 | 33 | | exists $og_tags{$_} && $og_tags{$_} |
715 | 33 | | exists $twitter_tags{$_} && $twitter_tags{$_} |