blib/lib/Text/Fold.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 22 | 90.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 10 | 19 | 2 | defined $width and ref $width eq 'HASH' |
24 | 2 | 17 | 12 | not defined $conf and defined $join |
19 | 2 | 10 | not defined $conf and defined $join and ref $join eq 'HASH' | |
36 | 0 | 5 | 1 | $$conf{'soft_hyphen_threshold'} and $$conf{'soft_hyphen_threshold'} == 0 |
90 | 3 | 12 | 100 | $tokens[$n] =~ /[^ \t\f]\z/ and $tokens[$n + 1] =~ /\A[^ \t\f]/ |
line | l | !l | condition |
---|---|---|---|
22 | 19 | 0 | abs int $width || 78 |
28 | 12 | 19 | $conf ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
43 | 1 | 1 | 4 | $soft_hyphen_threshold < 3 or $soft_hyphen_threshold > $width |