Condition Coverage

blib/lib/Geo/Coder/HostIP.pm
Criterion Covered Total %
condition 0 48 0.0


and 3 conditions

line !l l&&!r l&&r condition
33 0 0 0 $obj->{'_server'} and $obj->{'ip'}
62 0 0 0 exists $ENV{'REMOTE_ADDR'} and defined $ENV{'REMOTE_ADDR'}
112 0 0 0 exists $obj->{'Latitude'} and exists $obj->{'Longitude'}
130 0 0 0 exists $obj->{'Latitude'} and defined $obj->{'Latitude'}
0 0 0 exists $obj->{'Latitude'} and defined $obj->{'Latitude'} and exists $obj->{'Longitude'}
0 0 0 exists $obj->{'Latitude'} and defined $obj->{'Latitude'} and exists $obj->{'Longitude'} and defined $obj->{'Longitude'}
0 0 0 exists $obj->{'Latitude'} and defined $obj->{'Latitude'} and exists $obj->{'Longitude'} and defined $obj->{'Longitude'} and ref $params eq 'HASH'
0 0 0 exists $obj->{'Latitude'} and defined $obj->{'Latitude'} and exists $obj->{'Longitude'} and defined $obj->{'Longitude'} and ref $params eq 'HASH' and $params->{'apikey'}
238 0 0 0 defined $obj->{'Latitude'} and defined $obj->{'Longitude'}

or 2 conditions

line l !l condition
17 0 0 shift() || 'api.hostip.info'
137 0 0 $params->{'id'} || 'googlemap'
138 0 0 $params->{'func_name'} || 'load'
139 0 0 $params->{'width'} || 500
140 0 0 $params->{'height'} || 300
141 0 0 $params->{'zoom'} || 13

or 3 conditions

line l !l&&r !l&&!r condition
14 0 0 0 ref $c || $c
220 0 0 0 $k eq 'Latitude' or $k eq 'Longitude'
235 0 0 0 $obj->{$k} ||= $v