Condition Coverage

blib/lib/LinkEmbedder/Link/Basic.pm
Criterion Covered Total %
condition 6 24 25.0


and 3 conditions

line !l l&&!r l&&r condition
44 4 0 0 $tmp and not @{$tmp->children;}
50 0 4 0 not $self->thumbnail_url and $tmp
4 0 0 not $self->thumbnail_url and $tmp and $tmp->{'src'} ||= $tmp->{'href'}
55 0 4 0 not $self->description and $tmp
70 0 0 0 ref $author eq 'HASH' and $author->{'name'}

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 4 $dom->at('pre#paste') || $dom->at('pre.paste') || $dom->at('body > pre') || $dom->at('body > div > pre')
49 0 0 4 $dom->at('.author-pic > a > img') || $dom->at('link[rel="apple-touch-icon"]') || $dom->at('[rel="icon"]')
50 0 0 0 $tmp->{'src'} ||= $tmp->{'href'}