Condition Coverage

blib/lib/Text/Wrap/Smart.pm
Criterion Covered Total %
condition 9 9 100.0


and 3 conditions

line !l l&&!r l&&r condition
126 19 23 35 defined $space_prev and substr($text, $begin, $space_prev - $begin) =~ / /

or 2 conditions

line l !l condition
66 7 1 $wrap_at ||= 160
80 17 1 $wrap_at ||= 160
120 58 19 $spaces_prev[-1] || undef