Branch Coverage

blib/lib/Mojolicious/Plugin/LinkedContent/v9.pm
Criterion Covered Total %
branch 25 44 56.8


line true false branch
28 0 6 defined $params->{$_} ? :
68 0 2 unless $s->{'reg_config'}
73 2 0 if ($s->_is_remote($file))
84 2 0 if exists $cfg->{'linkedcontent'}
91 2 0 if (exists $s->{'reg_items'}{$item})
93 1 1 if (exists $item_info->{'deps'})
98 3 1 if exists $item_info->{$_}
109 0 9 $reverse ? :
110 0 10 if (exists $store->{'garage'}{$target}{$_})
111 0 0 unless $reverse
117 10 0 if (not $reverse) { }
127 0 4 if @_
129 0 4 unless $store->{'box'}{'js'}
133 2 3 unless /\.js$/
156 0 4 if @_
158 0 4 unless $store->{'box'}{'css'}
166 0 5 if (ref $_ eq 'HASH') { }
168 0 0 if exists $_->{'media'}
173 2 3 unless $stash->{'$linked_item'} =~ /\.css$/
197 8 2 if ($url->is_abs or $url->path->leading_slash)
204 0 2 unless $self->{$base}
219 2 0 if $file =~ /^http/