blib/lib/String/Clean.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 18 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
120 | 15 | 0 | 0 | defined $$opt{'escape'} and $$opt{'escape'} =~ /^no$/ |
123 | 4 | 0 | 11 | defined $$opt{'replace'} and $$opt{'replace'} =~ /^word$/i |
169 | 8 | 0 | 0 | defined $$opt{'escape'} and $$opt{'escape'} =~ /^no$/ |
173 | 6 | 0 | 2 | defined $$opt{'strip'} && $$opt{'strip'} =~ /^word$/i |
302 | 12 | 8 | 2 | not defined $opt and defined $$self{'opt'} |
8 | 11 | 1 | defined $opt and defined $$self{'opt'} |