Condition Coverage

blib/lib/Convert/Color.pm
Criterion Covered Total %
condition 2 11 18.1


and 3 conditions

line !l l&&!r l&&r condition
356 0 0 0 ref $_[0] and my $code = $_[0]->can($method)

or 2 conditions

line l !l condition
457 1 0 $space ||= "rgb"

or 3 conditions

line l !l&&r !l&&!r condition
366 0 0 0 ref $_[0] || $_[0]
468 0 1 0 $cache{$key} //= &min_by(sub { $orig->$dst($_->convert_to($space)); } , $class->$enumerate)