Condition Coverage

blib/lib/String/Elide/Lines.pm
Criterion Covered Total %
condition 13 27 48.1


and 3 conditions

line !l l&&!r l&&r condition
71 0 2 16 @parts and $len > 0

or 2 conditions

line l !l condition
49 10 8 $opts //= {}
50 4 14 $opts->{'truncate'} // 'bottom'
51 2 16 $opts->{'marker'} // '..'

or 3 conditions

line l !l&&r !l&&!r condition
76 0 0 0 $1 // $2
78 0 0 0 $1 // $2
80 0 0 7 $1 // $2
107 15 0 13 not defined $highest_prio or $highest_prio < $_->{'prio'}
159 0 16 0 $parts_attrs[$idx]{'marker'} // $marker
0 16 0 $parts_attrs[$idx]{'truncate'} // $truncate