blib/lib/Syccess/ValidatorSimple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
20 | 3 | 28 | if not exists $params{$name} and $self->missing_ok |
22 | 0 | 28 | if exists $params{$name} and not defined $params{$name} and $self->undef_ok |
25 | 0 | 28 | if exists $params{$name} and defined $params{$name} and $params{$name} eq '' and $self->empty_ok |
29 | 28 | 0 | exists $params{$name} ? : |