Condition Coverage

blib/lib/App/aep.pm
Criterion Covered Total %
condition 20 125 16.0


and 3 conditions

line !l l&&!r l&&r condition
266 0 0 0 $transport eq "auto" and $attempted eq "tcp"
270 0 0 0 $socket_path and -e $socket_path
309 0 0 0 $max_retries > 0 and $retry_count > $max_retries
548 0 0 0 $event eq "hello" and defined $input->{'lock_id'}
930 4 0 0 $opt->lock_client and not &poe()->heap->{'command'}{'trigger_ok'}
948 1 0 0 $opt->lock_client and not &poe()->heap->{'command'}{'trigger_ok'}
982 7 0 0 $opt->lock_client and not &poe()->heap->{'command'}{'trigger_ok'}
1087 0 0 0 $handle eq "stdout" and $source ne "stdout"
1088 0 0 0 $handle eq "stderr" and $source ne "stderr"
1159 0 0 0 $host and $port
1291 0 0 0 $socket_path and -e $socket_path
1322 0 0 0 $socket_path and -e $socket_path
1360 8 0 0 &poe()->heap->{'command'}{'trigger_ok'} and not &poe()->heap->{'command'}{'running'}

or 2 conditions

line l !l condition
67 0 0 $opt->lock_server_order || ''
154 0 0 $opt->lock_server_host || '0.0.0.0'
155 0 0 $opt->lock_server_port || 60000
177 1 0 $opt->lock_transport || 'auto'
185 1 0 $opt->lock_client_host || 'aep-master'
186 1 0 $opt->lock_client_port || 60000
263 0 0 $opt->lock_transport || 'auto'
264 0 0 &poe()->heap->{'afunixcli'}{'transport_attempted'} || ''
302 0 0 &poe()->heap->{'afunixcli'}{'retry_count'} ||= 0
305 0 0 $opt->lock_client_retry || 0
317 0 0 $opt->lock_client_retry_delay || 5
334 0 0 $opt->lock_transport || 'auto'
338 0 0 $opt->lock_client_host || 'aep-master'
339 0 0 $opt->lock_client_port || 60000
361 0 0 $opt->lock_client_retry_delay || 5
545 0 0 $input->{'event'} || ''
565 0 0 &poe()->heap->{'afunixsrv'}{'client'}{'obj'}{$cid}{'lock_id'} || 'unknown'
595 0 0 &poe()->heap->{'lock'}{'order'} || []
596 0 0 &poe()->heap->{'lock'}{'order_idx'} || 0
684 0 0 $opt->lock_server_default || 'ignore'
696 0 0 &poe()->heap->{'afunixsrv'}{'client'}{'obj'} || {}
734 0 0 $opt->lock_server_exhaust_action || 'idle'
737 0 0 &poe()->heap->{'lock'}{'unknown_queue'} || []
794 0 0 $input->{'event'} || ''
882 10 0 $opt->command || 'aep --help'
883 5 5 $opt->command_args || ''
975 3 7 $opt->command_restart || 0
976 7 3 $opt->command_norestart || 0
998 2 0 $opt->command_restart_delay || 1000
1038 0 0 $opt->lock_trigger || 'none:time:10000'
1041 0 0 $handle || 'none'
0 0 $filter || 'time'
0 0 $spec || '10000'
1052 0 0 $spec || 10000
1152 0 0 $trigger->{'spec'} || ''
1204 0 0 $trigger->{'spec'} || ''
1374 0 0 $opt->lock_client_timeout || 0

or 3 conditions

line l !l&&r !l&&!r condition
92 1 0 8 $opt->docker_health_check or $opt->lock_client
182 0 1 0 $transport eq "tcp" or $transport eq "auto"
336 0 0 0 $transport eq "tcp" or $transport eq "auto"
995 0 2 1 $max_restart == -1 or $count < $max_restart