blib/lib/Net/OpenVPN/Agent.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 40 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
190 | 0 | 0 | 0 | -e './user.conf' and -w './user.conf' |
191 | 0 | 0 | 0 | -e './openvpn.conf' and -w './openvpn.conf' |
257 | 0 | 0 | 0 | exists $$self{'server_list'} and @{$$self{'server_list'};} |
278 | 0 | 0 | 0 | $$self{'ip'} ne '0' and $$self{'ip'} ne $current_ip |
0 | 0 | 0 | $$self{'ip'} ne '0' and $$self{'ip'} ne $current_ip and $$self{'ip'} ne $$self{'home_ip'} | |
311 | 0 | 0 | 0 | exists $$self{'request_limit'} and $$self{'request_limit'} > 0 |
line | l | !l | condition |
---|---|---|---|
119 | 0 | 0 | $$config{'SERVER_REQUEST_LIMIT_MAX'} || 30 |
0 | 0 | $$config{'SERVER_REQUEST_LIMIT_MIN'} || 15 | |
0 | 0 | $$config{'SERVER_REQUEST_CHECK_LIMIT'} || 5 | |
0 | 0 | $$config{'RETRY_DELAY_SECS'} || 10 | |
0 | 0 | $$config{'TIMEOUT_SECS'} || 5 | |
0 | 0 | $$config{'COOKIES'} || {} | |
0 | 0 | $$config{'AGENTS'} || ["Net::OpenVPN::Agent $VERSION"] | |
0 | 0 | $$config{'GET_REQUEST_LIMIT'} || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
119 | 0 | 0 | 0 | $$config{'USERNAME'} || $log->logdie('USERNAME not found in agent.conf') |
0 | 0 | 0 | $$config{'PASSWORD'} || $log->logdie('PASSWORD not found in agent.conf') |