Branch Coverage

blib/lib/TAP/Parser/SourceHandler/Worker.pm
Criterion Covered Total %
branch 16 54 29.6


line true false branch
111 1 5 unless $vote
112 5 0 if ($$src{'config'})
114 0 5 if (scalar @config_keys == 1)
117 0 0 if ($$src{'config'}{$config_keys[0]}{'detach'})
149 1 0 if ($worker) { }
0 0 elsif (not $retry) { }
198 0 1 if $startup
199 0 1 if $teardown
200 0 1 if $detach
201 0 1 if $sync_type
202 0 1 if $source_dir
203 0 1 if $destination_dir
204 0 1 if $error_log
206 0 1 if $$source{'test_args'}
208 1 0 if (@workers < $number_of_workers)
210 0 1 if ($use_local_public_ip and not $local_public_ip)
244 1 0 unless ($listener)
284 0 0 unless @workers
287 0 0 unless $worker and $$worker{'sel'}
290 0 0 if ($handle == $$worker{'err'})
292 0 0 if ($handle->read($error, 640000))
303 0 0 if $worker
326 0 0 unless GetOptions 'use-local-public-ip', \$use_local_public_ip, 'sync-test-env=s', \$sync_type, 'destination-dir=s', \$destination_dir
331 0 0 if ($sync_type)
332 0 0 if ($sync_type eq 'rsync') { }
334 0 0 unless ($destination_dir)
340 0 0 unless ($destination_dir =~ m[/$])