Condition Coverage

/root/.cpan/build/Imager-1.019-0/blib/lib/Imager/TrimColorList.pm
Criterion Covered Total %
condition 16 25 64.0


and 3 conditions

line !l l&&!r l&&r condition
51 11 27 2 ref $entry and &Scalar::Util::blessed($entry)
11 0 27 ref $entry and &Scalar::Util::reftype($entry) eq "ARRAY"
75 2 0 22 &Scalar::Util::looks_like_number($entry->[1]) and $entry->[1] >= 0
170 0 0 5 $image and $image->{'IMG'}

or 2 conditions

line l !l condition
163 5 0 delete $hsh{'name'} || 'auto'
164 5 0 delete $hsh{'auto'} || '1'

or 3 conditions

line l !l&&r !l&&!r condition
52 1 1 0 $entry->isa("Imager::Color") or $entry->isa("Imager::Color::Float")
63 2 1 0 $c->isa("Imager::Color") or $c->isa("Imager::Color::Float")
178 3 2 0 $auto eq "center" or $auto eq "centre"