Condition Coverage

blib/lib/Geonode/Free/Proxy.pm
Criterion Covered Total %
condition 10 18 55.5


and 3 conditions

line !l l&&!r l&&r condition
84 0 1 15 defined $port and $port =~ /^[1-9][0-9]*+$/imsx
226 0 1 1 $self->can_use_socks and $preferred_method eq "socks"
0 0 1 $self->can_use_http and $preferred_method eq "http"

or 3 conditions

line l !l&&r !l&&!r condition
76 0 0 17 not defined $id or $id =~ /^\s*+$/imsx
80 0 1 16 not defined $host or $host =~ /^\s*+$/imsx
88 0 1 14 not defined $methods or ref $methods ne "ARRAY"