Branch Coverage

blib/lib/Mojolicious/Plugin/LinkEmbedder/Link/Text/HTML.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
19 0 0 $tx->success ? :
20 0 0 if $dom
31 0 0 if ($self->image)
61 0 0 if $e = $dom->at('meta[property="og:audio"]')
64 0 0 if $e = $dom->at('meta[property="og:description"]') || $dom->at('meta[name="twitter:description"]')
67 0 0 if $e = $dom->at('meta[property="og:image"]') || $dom->at('meta[property="og:image:url"]') || $dom->at('meta[name="twitter:image"]')
72 0 0 if $e = $dom->at('meta[property="og:title"]') || $dom->at('meta[name="twitter:title"]') || $dom->at('title')
75 0 0 if $e = $dom->at('meta[property="og:type"]') || $dom->at('meta[name="twitter:card"]')
76 0 0 if $e = $dom->at('meta[property="og:video"]')
78 0 0 if $e = $dom->at('meta[property="og:url"]') || $dom->at('meta[name="twitter:url"]')
79 0 0 if $self->canon_url and not defined $self->{'media_id'}