| line |
true |
false |
branch |
|
34
|
1 |
24 |
if (ref $proto) { } |
|
|
23 |
1 |
elsif ($proto) { } |
|
46
|
6 |
19 |
unless (-1 != $#_) |
|
54
|
15 |
4 |
if ($reftype eq 'HASH') { } |
|
66
|
1 |
18 |
unless (-1 == $#bad_parm_keys) |
|
74
|
16 |
2 |
if (defined $parms->{'-legal'}) { } |
|
84
|
17 |
1 |
if ($parms->{'-required'}) { } |
|
99
|
17 |
1 |
if (defined $defaults) { } |
|
115
|
2 |
2 |
if ($#data == 0) { } |
|
122
|
17 |
1 |
if (defined $base_parm_list) |
|
129
|
17 |
1 |
if ($check_required) |
|
131
|
2 |
2 |
unless (exists $parm_list->{$name}) |
|
139
|
16 |
2 |
if ($check_legal) |
|
141
|
3 |
22 |
unless (exists $legal_names->{$name}) |
|
148
|
4 |
14 |
unless $error eq '' |
|
163
|
1 |
14 |
if ($#parmnames == -1) |
|
172
|
2 |
18 |
if exists $self->{'-legal'} and not exists $self->{'-legal'}{$keyname} |
|
175
|
8 |
4 |
if (wantarray) { } |
|
225
|
1 |
17 |
unless (ref $parm_list eq 'ARRAY') |
|
230
|
1 |
16 |
if ($#_ > 0 and ($#_ + 1) % 2) |
|
237
|
9 |
7 |
if ($#_ == 0) { } |
|
|
6 |
1 |
elsif ($#_ > 0) { } |
|
246
|
2 |
14 |
unless (ref $parm_ref eq 'HASH') |
|
252
|
5 |
9 |
if ($#parm_keys != $#$parm_list) |
|
256
|
1 |
8 |
if ($#parm_keys == -1) |
|
264
|
1 |
18 |
unless (exists $parm_ref->{$parm_name}) |
|
270
|
1 |
7 |
if ($errors ne '') |
|
274
|
3 |
4 |
if (wantarray) |
|
277
|
3 |
1 |
unless (0 == $#parsed_parms) |