Condition Coverage

blib/lib/App/ReslirpTunnel.pm
Criterion Covered Total %
condition 0 81 0.0


and 3 conditions

line !l l&&!r l&&r condition
122 0 0 0 $netmask =~ /^\d+$/ and $netmask >= 1
0 0 0 $netmask =~ /^\d+$/ and $netmask >= 1 and $netmask <= 31
352 0 0 0 $record->{'InterfaceAlias'} eq $iface and $record->{'AddressFamily'} eq 2
382 0 0 0 $self->_validate_ipv4($addr) and $self->_validate_netmask($mask)
445 0 0 0 $mask =~ /\d+/ and $mask >= 1
0 0 0 $mask =~ /\d+/ and $mask >= 1 and $mask <= 32
657 0 0 0 defined $proc_pid and $kid == $proc_pid

or 2 conditions

line l !l condition
104 0 0 $args->{'run_in_foreground'} // 0
105 0 0 $args->{'dont_close_stdio'} // 0
111 0 0 $args->{'remote_network'} // "10.0.2.0"
114 0 0 $args->{'remote_netmask'} // 24
313 0 0 $self->{'forward_dns'} //= {}
314 0 0 $self->{'forward_ipv4'} //= {}
328 0 0 $self->{'forward_dns'}{$domain} //= []
368 0 0 $self->{'net_mapping'} //= {}
369 0 0 $self->{'forward_ipv4'} //= {}
394 0 0 $record->{'addrs'} // []
398 0 0 $self->{'net_mapping'}{$host} //= []
422 0 0 $self->{'net_mapping'}{$host} //= []
471 0 0 $self->{'net_mapping'}{$host} //= []
495 0 0 $self->{'net_mapping'}{$host} //= []
681 0 0 $$self{"${process}_pid"} // (next)

or 3 conditions

line l !l&&r !l&&!r condition
171 0 0 0 fork // $self->_die("Unable to move process into the background", $!)
198 0 0 0 $self->{'ssh_host'} // $self->_die("No remote host specified")
211 0 0 0 $self->{'args'}{'remote_os'} // $self->_autodetect_remote_os
0 0 0 ($self->{'args'}{'remote_os'} // $self->_autodetect_remote_os) // $self->_die("No remote OS specified and unable to autodetect it")
213 0 0 0 $self->{'args'}{'remote_shell'} // $self->_autodetect_remote_shell
0 0 0 ($self->{'args'}{'remote_shell'} // $self->_autodetect_remote_shell) // $self->_die("No remote shell specified and unable to autodetect it")
261 0 0 0 $self->{'args'}{'device'} // $self->_find_unused_tap_device
277 0 0 0 $self->{'args'}{'reslirp_command'} // $self->_autodetect_reslirp_command
541 0 0 0 %$net_mapping or %$forward_dns
626 0 0 0 $loop->run($self->{'tap_fh'}, $self->{'reslirp_socket'}, $self->{'reslirp_stderr'}) // $self->_die("Failed to start IO loop process")