Condition Coverage

blib/lib/String/Pad.pm
Criterion Covered Total %
condition 7 8 87.5


and 3 conditions

line !l l&&!r l&&r condition
40 12 1 3 $is_trunc and $w > $width

or 2 conditions

line l !l condition
25 1 9 $padchar //= ' '

or 3 conditions

line l !l&&r !l&&!r condition
29 1 0 9 not defined $width or $width < 0