blib/lib/Persistent/DataType/VarChar.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 14 | 42.8 |
line | true | false | branch |
---|---|---|---|
149 | 0 | 44 | unless (defined $max_length) |
150 | 0 | 0 | if (not defined $value or $value eq '') { } |
200 | 0 | 166 | unless @_ == 1 or @_ == 2 |
202 | 0 | 166 | unless ref $this |
207 | 44 | 122 | if (@_) |
209 | 0 | 44 | if (not defined $max_length or $max_length eq '' or $max_length <= 0) |
210 | 0 | 0 | defined $max_length ? : |