Branch Coverage

blib/lib/Function/Interface/Impl.pm
Criterion Covered Total %
branch 30 30 100.0


line true false branch
53 1 18 unless $ok
58 1 17 unless $ok
61 1 16 unless my $iinfo = info_interface($interface_package)
68 1 19 unless my $code = $package->can($fname)
71 2 17 unless my $pinfo = info_params($code)
73 2 15 unless my $rinfo = info_return($code)
76 2 13 unless check_params($pinfo, $ifunction_info)
78 2 11 unless check_return($rinfo, $ifunction_info)
122 2 31 unless $ifunction_info->keyword eq $pinfo->keyword
132 6 7 unless check_param($p, $ifp)
136 3 22 unless $params_count == @{$ifunction_info->params;}
142 4 9 unless $param
150 7 18 unless @{$rinfo->types;} == @{$ifunction_info->return;}
155 4 4 unless $ifr->type eq $type
162 4 10 ref $package ? :