Branch Coverage

blib/lib/Perl/Critic/Policy/Subroutines/ProhibitAmbiguousFunctionCalls.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
41 0 11 if ref $elem eq "PPI::Statement::Null"
44 0 11 if ref $elem eq "PPI::Statement::End"
50 11 0 unless (defined $docinfo->{$file})
58 0 11 unless (exists $docinfo->{$file}{$elemid})
64 4 7 if ($docinfo->{$file}{$elemid})
79 45 10 unless $lkid =~ / (\w+(?: ::\w+)+) -> (.+)/x
84 4 6 if exists $self->{'_methods_always_ok'}{$name}
87 2 1 if $module =~ /::[A-Z]\w+$/ and $self->{'_uppercase_module_always_ok'}
110 4 51 if ($found_match)
116 12 43 if $kid->can("schildren")
133 27 43 $node->can('schildren') ? :