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
354 0 0 0 ref $_[0] and my $code = $_[0]->can($method)

or 2 conditions

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

or 3 conditions

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