blib/lib/HTML/CheckArgs/Object.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 18 | 88.8 |
line | true | false | branch |
---|---|---|---|
24 | 16 | 90 | if @_ |
30 | 28 | 56 | if @_ |
36 | 28 | 28 | if @_ |
53 | 50 | 157 | if $key eq 'params' or $key eq 'noclean' |
54 | 0 | 157 | unless (grep {$key eq $_;} 'as', 'required', 'label', 'order', 'private') |
61 | 1 | 6 | unless (exists $$config{'params'}{$req}) |
68 | 0 | 33 | unless (grep {$key eq $_;} @{$params{'required'};}, @{$params{'optional'};}) |
74 | 27 | 32 | unless ($params{'cleanable'}) |
75 | 1 | 26 | if exists $$config{'noclean'} |