Condition Coverage

blib/lib/SHARYANTO/String/Util.pm
Criterion Covered Total %
condition 25 27 92.5


and 3 conditions

line !l l&&!r l&&r condition
109 15 1 4 $$opts{'zeropad'} && !($$opts{'skip_empty'} && !defined($2))
5 12 3 ++$i && $$opts{'skip_empty'} && !defined($2)
131 6 0 1 $is_trunc and $w > $width

or 2 conditions

line l !l condition
78 6 0 $maxlen //= 80
79 1 5 $ellipsis //= '...'
90 1 1 $opts //= {}
92 1 1 $$opts{'indent_blank_lines'} // 1
102 3 1 $opts //= {}
103 1 3 $$opts{'width'} //= 4
104 1 3 $$opts{'zeropad'} //= 0
105 1 3 $$opts{'skip_empty'} //= 1
128 1 6 $padchar //= ' '