Condition Coverage

/root/.cpan/build/Imager-1.018-0/blib/lib/Imager/Fill.pm
Criterion Covered Total %
condition 25 34 73.5


and 3 conditions

line !l l&&!r l&&r condition
24 0 0 7 defined $hsh{'type'} and $hsh{'type'} eq "opacity"
83 14 7 7 defined $hsh{$name} and exists $names->{$name}{$hsh{$name}}
100 1 0 6 ref $hsh{'segments'} and $hsh{'segments'} =~ /ARRAY/
134 1 1 4 ref $other_fill and eval { do { $other_fill->isa("Imager::Fill") } }
137 1 0 1 ref $other_fill and $other_fill =~ /HASH/

or 2 conditions

line l !l condition
40 4 18 $hsh{'dx'} ||= 0
41 1 21 $hsh{'dy'} ||= 0
111 11 1 $_ = _color($_) or return
121 2 7 $hsh{'xoff'} ||= 0
122 1 8 $hsh{'yoff'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
42 11 11 0 $hsh{'fg'} ||= "Imager::Color"->new(0, 0, 0)
56 9 12 0 $hsh{'bg'} || 'Imager::Color'->new(255, 255, 255)
63 0 0 0 $hsh{'bg'} || 'Imager::Color::Float'->new(1, 1, 1)