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