Branch Coverage

blib/lib/MHFS/HTTP/Server.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
26 0 0 if $launchsettings->{'debug'}
34 0 0 if (exists $settings->{'flush'} and $settings->{'flush'})
46 0 0 unless ($sock)
51 0 0 unless ($sock->setsockopt(1, 9, 1))
69 0 0 if (index($MHFS::HTTP::Server::Config{'osname'}, "linux") != -1)
71 0 0 unless $sock->setsockopt(6, 12, 1)
81 0 0 unless ($fs)
89 0 0 unless (eval "use $pluginname; 1;")
93 0 0 if defined $settings->{$pluginname}{'enabled'} and not $settings->{$pluginname}{'enabled'}
95 0 0 unless $plugin
101 0 0 if (my $func = $plugin->{'uploader'})
128 0 0 unless ($csock)
135 0 0 unless ($peerhost)
148 0 0 if (($peerip & $allowedHost->{'subnetmask'}) == $allowedHost->{'ip'})
153 0 0 unless ($ah)
158 0 0 unless ($peerport)