Condition Coverage

blib/lib/String/Elide/Parts.pm
Criterion Covered Total %
condition 18 27 66.6


and 3 conditions

line !l l&&!r l&&r condition
66 0 4 54 @parts and $len > 0

or 2 conditions

line l !l condition
44 43 15 $opts //= {}
45 40 18 $opts->{'truncate'} // 'right'
46 2 56 $opts->{'marker'} // '..'

or 3 conditions

line l !l&&r !l&&!r condition
70 0 0 15 $1 // $2
72 15 0 0 $1 // $2
74 0 0 30 $1 // $2
105 54 13 40 not defined $highest_prio or $highest_prio < $_->{'prio'}
157 6 38 0 $parts_attrs[$idx]{'marker'} // $marker
6 38 0 $parts_attrs[$idx]{'truncate'} // $truncate