Condition Coverage

blib/lib/Mojolicious/Plugin/LinkEmbedder/Link/Text/HTML.pm
Criterion Covered Total %
condition 16 29 55.1


and 3 conditions

line !l l&&!r l&&r condition
133 0 0 4 $self->canon_url and not defined $$self{'media_id'}

or 2 conditions

line l !l condition
126 1 0 $$e{'content'} || $$e{'value'} || $e->text || ''

or 3 conditions

line l !l&&r !l&&!r condition
117 4 0 0 $$e{'content'} || $$e{'value'}
3 1 0 $dom->at('meta[property="og:description"]') || $dom->at('meta[name="twitter:description"]')
120 3 0 0 $$e{'content'} || $$e{'value'}
2 1 1 $dom->at('meta[property="og:image"]') || $dom->at('meta[property="og:image:url"]') || $dom->at('meta[name="twitter:image"]')
126 3 1 0 $dom->at('meta[property="og:title"]') || $dom->at('meta[name="twitter:title"]') || $dom->at('title')
129 0 3 1 $dom->at('meta[property="og:type"]') || $dom->at('meta[name="twitter:card"]')
131 4 0 0 $$e{'content'} || $$e{'value'}
3 1 0 $dom->at('meta[property="og:url"]') || $dom->at('meta[name="twitter:url"]')