Branch Coverage

lib/Class/NamedParms.pm
Criterion Covered Total %
branch 38 38 100.0


line true false branch
15 1 26 if (ref $proto) { }
25 1 elsif ($proto) { }
29 22 5 if ($#_ != -1)
41 1 1 $$self{$package} ? :
53 2 2 $$self{$package} ? :
67 22 1 $$self{$package} ? :
82 2 2 $$self{$package} ? :
88 2 2 unless (exists $$vars{-'legal_parms'}{$parmname})
103 3 3 $$self{$package} ? :
116 16 4 if ($#_ == 0) { }
2 2 elsif ($#_ > 0) { }
125 10 10 $$self{$package} ? :
131 2 26 unless (exists $$vars{-'legal_parms'}{$keyname})
148 2 2 $$self{$package} ? :
152 2 2 unless (exists $$vars{-'legal_parms'}{$keyname})
166 2 22 if ($#_ == -1)
172 11 11 $$self{$package} ? :
177 6 24 unless (exists $$vars{-'parm_values'}{$keyname})
183 2 14 if (wantarray)