Branch Coverage

blib/lib/Mojolicious/Plugin/Facets.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
27 0 6 unless $facet_config->{'setup'}
29 0 2 unless $facet_config->{'host'} or $facet_config->{'path'}
39 2 4 $facet_config->{'path'} ? :
70 17 5 if ($facet->{'host'})
71 7 10 if $req_host eq $facet->{'host'}
74 5 17 if ($facet->{'path'})
76 2 3 if ($c->req->url->path->contains($facet->{'path'})) { }
93 9 13 if ($match)
100 9 13 if ($active_facet) { }
123 0 1 unless $facet