blib/lib/Jifty/DBI/Filter/Truncate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 10 | 100.0 |
line | true | false | branch |
---|---|---|---|
35 | 39 | 298 | unless defined $$value_ref |
40 | 3 | 295 | if ($column->max_length and not $column->is_numeric) { } |
91 | 204 | elsif ($column->type and $column->type =~ /char\((\d+)\)/) { } | |
46 | 204 | 94 | unless $truncate_to |
53 | 2 | 92 | if ($utf8) |