Condition Coverage

blib/lib/String/Elide/Parts.pm
Criterion Covered Total %
condition 20 29 68.9


and 3 conditions

line !l l&&!r l&&r condition
67 0 4 56 @parts and $len > 0

or 2 conditions

line l !l condition
44 44 16 $opts //= {}
45 40 20 $opts->{'truncate'} // 'right'
46 2 58 $opts->{'marker'} // '..'
47 1 59 $opts->{'default_prio'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
71 0 0 15 $1 // $2
73 15 0 0 $1 // $2
75 0 0 32 $1 // $2
102 56 13 44 not defined $highest_prio or $highest_prio < $_->{'prio'}
161 6 42 0 $parts_attrs[$idx]{'marker'} // $marker
6 42 0 $parts_attrs[$idx]{'truncate'} // $truncate