Condition Coverage

blib/lib/Text/Shorten.pm
Criterion Covered Total %
condition 0 116 0.0


and 3 conditions

line !l l&&!r l&&r condition
25 0 0 0 $scalar =~ /^['"]./ and substr($scalar, 0, 1) eq substr($scalar, -1)
69 0 0 0 $d and $d2 eq ''
75 0 0 0 $e and $exp eq '' || $exp == 0
80 0 0 0 $d1 eq '' || $d1 == 0 and $d2 ne ''
82 0 0 0 $d1 == 0 and $d2 ne ''
92 0 0 0 $e eq '' and $d2 ne ''
95 0 0 0 $c == 5 and $lastc
108 0 0 0 $d eq '' and $d2 eq ''
111 0 0 0 $c == 5 and $lastc
125 0 0 0 $c == 5 and $lastc
140 0 0 0 $e and $d
0 0 0 $e and $d and $d1 ne ''
0 0 0 $e and $d and $d1 ne '' and $d1 > 9
167 0 0 0 @key == 1 and $key[0] != 0
183 0 0 0 $prio[$i] < 8 and $len > $maxlen
201 0 0 0 $i > 0 && !$inc[$i - 1]
0 0 0 $i < $n - 1 && !$inc[$i + 1]
202 0 0 0 defined $array->[$i] && length($array->[$i]) + $seplen + $dotslen * ($excl - 1)
224 0 0 0 $i > 0 && !$inc[$i - 1]
0 0 0 $i < $n - 1 && !$inc[$i + 1]
225 0 0 0 defined $array->[$i] && length($array->[$i]) + $seplen + $dotslen * ($excl - 1)
311 0 0 0 @r > 0 and $len + $dlen > $maxlen
316 0 0 0 $hk1_skip_key and defined $key{$key}
318 0 0 0 @r > 0 and $len + $dlen > $maxlen

or 2 conditions

line l !l condition
53 0 0 $sign ||= ''
54 0 0 $d1 ||= '0'
56 0 0 $e ||= ''
58 0 0 $e || 'e'
71 0 0 $d1 ||= '0'
294 0 0 $key{$b} || 0
0 0 $key{$a} || 0

or 3 conditions

line l !l&&r !l&&!r condition
75 0 0 0 $exp eq '' || $exp == 0
80 0 0 0 $d1 eq '' || $d1 == 0
86 0 0 0 $e ||= $E
95 0 0 0 $c > 5 or $c == 5 and $lastc
111 0 0 0 $c > 5 or $c == 5 and $lastc
117 0 0 0 $e ||= $E
125 0 0 0 $c > 5 or $c == 5 and $lastc
167 0 0 0 @key > 1 or @key == 1 and $key[0] != 0
204 0 0 0 $prio[$i] >= 8 or $len + $dlen <= $maxlen
290 0 0 0 100 > keys %$hash or $HASHREPR_SORTKEYS