Branch Coverage

blib/lib/MogileFS/Server.pm
Criterion Covered Total %
branch 7 42 16.6


line true false branch
79 0 0 if $< == 0 and 'MogileFS'->config('user') ne 'root'
83 0 0 if 'MogileFS'->config('daemonize')
91 0 0 unless ('MogileFS::ProcManager'->write_pidfile)
100 0 0 if $MogileFS::Server::DEBUG
102 0 0 if $MogileFS::Server::DEBUG
112 0 0 if $MogileFS::Server::DEBUG
114 0 0 if $MogileFS::Server::DEBUG
124 0 0 unless my $server = 'IO::Socket::INET'->new('LocalAddr', $listen, 'Type', 1, 'Proto', 'tcp', 'Blocking', 0, 'Reuse', 1, 'Listen', 1024)
155 0 0 if $MogileFS::Server::DEBUG
159 0 0 if ($@)
194 0 0 if defined $ref
209 0 21 unless socketpair my $s1, my $s2, 1, 1, 0
213 0 21 unless defined $r
214 21 0 if defined $r
215 21 0 defined $r && $r > 0 ? :
233 0 0 if $@ and $had_dbh
242 0 0 if $store and $store_pid == $$
248 0 0 if ($store)
282 4 0 if (not $MogileFS::Config::daemonize) { }
287 4 0 unless $mask =~ /\n$/
288 0 4 @_ ? :