Branch Coverage

blib/lib/Mojolicious/Plugin/LinkEmbedder/Link.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
127 13 16 ref $_[-1] eq 'CODE' ? :
128 12 17 @_ % 2 ? :
135 0 29 if ($attrs{'data'} and ref $attrs{'data'} eq 'HASH')
144 31 0 defined $attrs{$k} ? :
148 4 25 if (not $cb || defined $content) { }
151 13 12 $cb ? :
168 0 1 unless $url->host
171 1 0 if $self->_tx
189 1 0 $url->host ? :