Branch Coverage

blib/lib/MPMinus/Configuration.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
118 0 0 unless ref($m) =~ /MPMinus/
120 0 0 unless ref $r eq 'Apache2::RequestRec'
122 0 0 unless $pkg and $pkg =~ /Handlers$/
137 0 0 $m->conf('package') ? :
138 0 0 if $i > 65534
149 0 0 if ($pkg =~ /([^\:]+?)\:\:Handlers$/) { }
172 0 0 if ($conf{'server_port'} != 80 and $conf{'server_port'} != 443 and $conf{'server_name'} eq $conf{'http_host'})
186 0 0 if ($i > 0)
215 0 0 unless (-e $logdir)
217 0 0 unless -e $logdir
227 0 0 $conf{'prefix'} ? :
245 0 0 if $conf{'server_port'} != 80 and $conf{'server_port'} != 443 and $conf{'http_host'} and not $conf{'http_host'} =~ /\:\d+$/
247 0 0 if $conf{'server_port'} == 443
281 0 0 defined $r->dir_config($_) ? :
288 0 0 defined $r->dir_config($_) ? :
295 0 0 defined $r->dir_config($_) ? :
312 0 0 unless $self->{'conf'}
323 0 0 unless $self->{'conf'}
330 0 0 unless $lconf and ref $lconf eq 'HASH'
331 0 0 unless $lconf->{'fileconf'} and -e $lconf->{'fileconf'}
347 0 0 if $cfg and $cfg->can('getall')
349 0 0 if $cfg and $cfg->can('files')
355 0 0 if $k and not grep({$_ eq $k;} @lkeys)
358 0 0 if %newconfig