Condition Coverage

blib/lib/Perlbal/Plugin/Vhosts.pm
Criterion Covered Total %
condition 12 19 63.1


and 3 conditions

line !l l&&!r l&&r condition
32 1 0 9 $ss and $$ss{'role'} eq 'selector'
59 0 0 4 $svc and $$svc{'role'} eq 'selector'
112 72 17 0 $vhost and $uri =~ m[^/__using/([\w\.]+)(?:/\w+)(?:\?.*)?$]

or 2 conditions

line l !l condition
39 8 0 $$ss{'extra_config'}{'_vhosts'} ||= {}
107 89 0 $$cb{'service'}{'extra_config'}{'_vhosts'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
27 7 3 0 $selname ||= $$mc{'ctx'}{'last_created'}
136 87 2 14 $svc or $force