blib/lib/String/Snip.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 10 | 90.0 |
line | l | !l | condition |
---|---|---|---|
17 | 9 | 0 | $string ||= '' |
18 | 4 | 5 | $opts ||= {} |
19 | 4 | 5 | $opts->{'max_length'} || 2000 |
20 | 1 | 8 | $opts->{'short_length'} || 100 |
21 | 1 | 8 | $opts->{'substr_regex'} || '\\S+' |