Condition Coverage

blib/lib/HTML/GoogleMaps.pm
Criterion Covered Total %
condition 21 37 56.7


and 3 conditions

line !l l&&!r l&&r condition
228 0 0 1 $avg_long < 0 and abs $avg_long <= 90
305 16 0 0 $opts{'icon'} and not $opts{'icon'} =~ /^[A-J]$/
16 0 0 $opts{'icon'} and not $opts{'icon'} =~ /^[A-J]$/ and not $$this{'icon_hash'}{$opts{'icon'}}
320 0 0 0 $opts{'image'} and $opts{'shadow'}
0 0 0 $opts{'image'} and $opts{'shadow'} and $opts{'name'}
436 0 8 1 $$point{'format'} and $$point{'html'}

or 2 conditions

line l !l condition
332 0 2 $opts{'color'} || '#0000ff'
0 2 $opts{'weight'} || 5
0 2 $opts{'opacity'} || 0.5
342 8 6 $$this{'id'} ||= 'map'
343 9 5 $$this{'height'} ||= '400px'
344 9 5 $$this{'width'} ||= '600px'
347 7 7 $$this{'type'} ||= 'G_NORMAL_MAP'
348 7 7 $$this{'zoom'} ||= 13

or 3 conditions

line l !l&&r !l&&!r condition
349 6 3 5 $$this{'center'} ||= $this->_find_center