Branch Coverage

blib/lib/Devel/hdb/App.pm
Criterion Covered Total %
branch 7 58 12.0


line true false branch
26 0 1 if $APP_OBJ
35 0 1 if $Devel::hdb::TESTHARNESS
57 0 0 wantarray ? :
65 0 1 if (not exists $server_params{'port'} and defined $Devel::hdb::PORT)
69 0 1 if defined $Devel::hdb::LISTEN_SOCK
71 1 0 unless (exists $server_params{'server_ready'})
75 0 0 if (exists $server_params{'port'} and not defined $server_params{'port'} and $self->{'server'})
78 0 0 if ($new_sock) { }
113 0 0 unless (ref $self)
116 0 0 if (@_)
125 0 0 if ($Devel::hdb::App::parent_pid and not kill(0, $Devel::hdb::App::parent_pid))
130 0 0 if $self->{'__init__'}
166 0 0 if ($hostname eq '0.0.0.0') { }
0 0 elsif ($hostname ne '127.0.0.1') { }
176 0 0 unless $Devel::hdb::TESTHARNESS
181 0 0 if (@_)
193 0 0 if $cb
198 0 0 if (@_)
221 0 0 if (@_)
241 0 0 unless ($announced)
247 0 0 unless ($resp->is_success)
249 0 0 if $Devel::hdb::TESTHARNESS
262 0 0 unless ($self->{'app'})
311 1 0 if (@_)
324 1 0 unless $Devel::hdb::TESTHARNESS
353 0 0 unless (defined $file)
357 0 0 unless -f $file
366 0 0 if $@
385 0 0 unless (defined $file)