Branch Coverage

blib/lib/Class/MOP/Overload.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
22 0 23 unless (defined $params{'operator'})
25 0 23 unless ($Operators{$params{'operator'}})
32 0 5 unless (defined $params{'method_name'} or $params{'coderef'})
39 5 18 if ($params{'coderef'})
40 0 5 unless (defined $params{'coderef_package'} and defined $params{'coderef_name'})
47 0 23 if ($params{'method'} and not &try(sub {
53 0 23 if ($params{'associated_metaclass'} and not &try(sub {
65 69 69 defined $params{$_} ? :
105 16 0 if $clone->{'associated_metaclass'}
119 7 8 if ($self->has_coderef) { }
120 0 7 unless $other->has_coderef