Condition Coverage

blib/lib/Text/Truncate.pm
Criterion Covered Total %
condition 3 4 75.0


or 2 conditions

line l !l condition
27 169 0 $Text::Truncate::DEFAULT_MARKER || ''
33 144 36 substr($string, 0, $cutoff - length($marker)) || ''