Condition Coverage

blib/lib/String/Elide/Lines.pm
Criterion Covered Total %
condition 15 29 51.7


and 3 conditions

line !l l&&!r l&&r condition
72 0 2 19 @parts and $len > 0

or 2 conditions

line l !l condition
49 11 10 $opts //= {}
50 4 17 $opts->{'truncate'} // 'bottom'
51 2 19 $opts->{'marker'} // '..'
52 1 20 $opts->{'default_prio'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
77 0 0 0 $1 // $2
79 0 0 0 $1 // $2
81 0 0 10 $1 // $2
108 18 0 19 not defined $highest_prio or $highest_prio < $_->{'prio'}
160 0 21 0 $parts_attrs[$idx]{'marker'} // $marker
0 21 0 $parts_attrs[$idx]{'truncate'} // $truncate