Condition Coverage

blib/lib/Template/Plugin/Gravatar.pm
Criterion Covered Total %
condition 22 27 81.4


and 3 conditions

line !l l&&!r l&&r condition
36 0 1 8 $$args{'size'} >= 1 and $$args{'size'} <= 2048

or 2 conditions

line l !l condition
15 11 7 $instance_args ||= {}
16 7 11 $$context{'CONFIG'}{'GRAVATAR'} || {}
29 14 1 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
19 9 3 6 $$instance_args{'default'} || $$config{'default'}
20 4 5 9 $$instance_args{'rating'} || $$config{'rating'}
21 2 0 16 $$instance_args{'border'} || $$config{'border'}
22 3 6 9 $$instance_args{'size'} || $$config{'size'}
25 1 0 17 $$instance_args{'base'} || $$config{'base'} || $Gravatar_Base
52 12 0 0 $$args{'base'} || $Gravatar_Base