Branch Coverage

blib/lib/Mojolicious/Plugin/Facets.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
25 0 3 unless $name
27 2 3 if $_->{'name'} eq $name
45 0 7 unless $facet_config->{'setup'}
47 0 3 unless $facet_config->{'host'} or $facet_config->{'path'}
57 3 4 $facet_config->{'path'} ? :
87 17 7 if ($facet->{'host'})
88 7 10 if $req_host eq $facet->{'host'}
91 7 17 if ($facet->{'path'})
93 3 4 if ($c->req->url->path->contains($facet->{'path'})) { }
110 10 14 if ($match)
117 10 13 if ($active_facet) { }
140 0 1 unless $facet