Branch Coverage

lib/Template/Plugin/TruncateByWord.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
30 0 54 unless $string
34 54 0 unless (utf8::is_utf8($string))
41 0 54 if $length =~ /\D/
46 54 0 if $org_enc
47 42 12 $org_length > $length ? :