blib/lib/Validation/Class/Directive/Creditcard.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
24 | 19 | 0 | if (defined $field->{'creditcard'} and defined $param) |
46 | 19 | 0 | if ($field->{'required'} or $param) |
50 | 6 | 8 | $type eq '1' ? : |
5 | 14 | isa_arrayref($type) ? : | |
54 | 13 | 8 | if ($param =~ /$ccre->{$_}/) |
61 | 6 | 13 | unless $is_valid |