Condition Coverage

blib/lib/Template/Plugin/Gravatar.pm
Criterion Covered Total %
condition 18 27 66.6


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 0 9 $instance_args->{'default'} || $config->{'default'}
20 4 0 14 $instance_args->{'rating'} || $config->{'rating'}
21 2 0 16 $instance_args->{'border'} || $config->{'border'}
22 3 0 15 $instance_args->{'size'} || $config->{'size'}
26 0 0 17 $instance_args->{'base'} || $config->{'base'} || $Gravatar_Base
52 12 0 0 $args->{'base'} || $Gravatar_Base