Condition Coverage

blib/lib/LinkEmbedder/Link/Basic.pm
Criterion Covered Total %
condition 7 27 25.9


and 3 conditions

line !l l&&!r l&&r condition
17 5 0 0 $type eq 'video' and $url =~ /\.([^.]+)$/u
48 4 0 0 $tmp and not @{$tmp->children;}
54 0 4 0 not $self->thumbnail_url and $tmp
4 0 0 not $self->thumbnail_url and $tmp and $tmp->{'src'} ||= $tmp->{'href'}
59 0 4 0 not $self->description and $tmp
74 0 0 0 ref $author eq 'HASH' and $author->{'name'}

or 3 conditions

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