Condition Coverage

blib/lib/Devel/hdb/App.pm
Criterion Covered Total %
condition 6 26 23.0


and 3 conditions

line !l l&&!r l&&r condition
65 0 1 0 not exists $server_params{'port'} and defined $Devel::hdb::PORT
75 1 0 0 exists $server_params{'port'} and not defined $server_params{'port'}
1 0 0 exists $server_params{'port'} and not defined $server_params{'port'} and $self->{'server'}
101 0 0 0 not $new_sock and $tries < 20
125 0 0 0 $Devel::hdb::App::parent_pid and not kill(0, $Devel::hdb::App::parent_pid)

or 2 conditions

line l !l condition
64 0 1 $Devel::hdb::HOST || '127.0.0.1'
334 0 1 $self->{'queued_events'} ||= []
362 0 0 'IO::File'->new($file, 'r') || die("Can't open file $file for reading: $!")
397 0 0 'IO::File'->new($file, 'w') || die("Can't open $file for writing: $!")

or 3 conditions

line l !l&&r !l&&!r condition
346 1 0 0 defined $prefix && $prefix || $0