Condition Coverage

blib/lib/Convos.pm
Criterion Covered Total %
condition 14 33 42.4


and 3 conditions

line !l l&&!r l&&r condition
217 1 42 0 not $ENV{'CONVOS_INVITE_CODE'} and $$config{'invite_code'}
302 1 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 13 0 1 $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'}