Condition Coverage

blib/lib/HTML/GoogleMaps/V3.pm
Criterion Covered Total %
condition 24 31 77.4


and 3 conditions

line !l l&&!r l&&r condition
113 0 0 2 defined $location->{'geometry'}{'location'}{'lat'} and defined $location->{'geometry'}{'location'}{'lng'}
154 0 0 1 $avg_lng < 0 and abs $avg_lng <= 90

or 2 conditions

line l !l condition
178 1 0 $self->_text_to_point($point_text) || (return 0)
233 6 0 {'normal', 'NORMAL', 'map_type', 'NORMAL', 'satellite_type', 'SATELLITE', 'satellite', 'SATELLITE', 'hybrid', 'HYBRID', 'road', 'ROADMAP'}->{$type} || (return 0)
253 16 0 $self->_text_to_point($opts{'point'}) || (return 0)
281 1 4 $opts{'color'} || '#0000ff'
1 4 $opts{'weight'} || 5
1 4 $opts{'opacity'} || 0.5
369 9 8 $self->{'id'} ||= 'map'
370 10 7 $self->{'height'} ||= '400px'
371 10 7 $self->{'width'} ||= '600px'
372 8 9 $self->{'type'} ||= 'NORMAL'
373 8 9 $self->{'zoom'} ||= 13

or 3 conditions

line l !l&&r !l&&!r condition
374 7 3 7 $self->{'center'} ||= $self->_find_center