Condition Coverage

blib/lib/Convos.pm
Criterion Covered Total %
condition 12 33 36.3


and 3 conditions

line !l l&&!r l&&r condition
217 1 42 0 not $ENV{'CONVOS_INVITE_CODE'} and $$config{'invite_code'}
302 0 0 0 $backend->pid and $backend->pid_running
392 6 1 1 $ENV{'CONVOS_REDIS_INDEX'} and not $url->path->[0]
412 0 0 0 $secrets and @$secrets
426 14 0 0 $pid_file and -r $pid_file

or 2 conditions

line l !l condition
284 1 44 $ENV{'MOJO_LISTEN'} || 'http://*:8080'
0 45 $$config{'hypnotoad'}{'listen'} ||= [split(/,/, $ENV{'MOJO_LISTEN'} || 'http://*:8080', 0)]
289 2 43 $$config{'name'} ||= 'Nordaaker'

or 3 conditions

line l !l&&r !l&&!r condition
198 0 0 0 $$log{'path'} || $ENV{'CONVOS_FRONTEND_LOGFILE'}
0 0 0 $$log{'file'} ||= $$log{'path'} || $ENV{'CONVOS_FRONTEND_LOGFILE'}
270 0 0 4 $c->req->is_xhr || $c->param('_pjax')
410 0 0 0 $secrets ||= $self->config->{'secrets'}