Condition Coverage

blib/lib/Mojolicious/Plugin/LinkEmbedder/Link.pm
Criterion Covered Total %
condition 7 12 58.3


and 3 conditions

line !l l&&!r l&&r condition
135 29 0 0 $attrs{'data'} and ref $attrs{'data'} eq 'HASH'

or 2 conditions

line l !l condition
55 1 0 (shift())->url->host || ''
144 31 0 $attrs{$k} // ''
189 1 0 $url->scheme || 'http'

or 3 conditions

line l !l&&r !l&&!r condition
148 13 12 4 $cb || defined $content