Branch Coverage

blib/lib/Class/CompoundMethods.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
287 2 6 unless ($method_name =~ /::/)
296 6 2 unless (ref $method_to_install)
300 2 4 unless ($method_to_install =~ /::/)
306 0 6 unless defined &$method_to_install
318 2 6 if (defined &$method_name and 'Class::CompoundMethods' ne _function_package(\&$method_name) and not scalar grep({$_ == \&$method_name;} @$methods_to_call))
344 6 2 if ('Class::CompoundMethods' eq _function_package(\&$method_name)) { }
0 2 elsif (1 == @$methods_to_call) { }
2 0 elsif (1 < @$methods_to_call) { }
359 0 8 if (wantarray) { }
0 8 elsif (defined wantarray) { }