Branch Coverage

blib/lib/String/Clean.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
91 1 4 if (ref $opt eq 'HASH')
120 15 0 unless defined $$opt{'escape'} and $$opt{'escape'} =~ /^no$/
121 0 15 unless defined $qmkey
123 11 4 if (defined $$opt{'replace'} and $$opt{'replace'} =~ /^word$/i) { }
169 8 0 unless defined $$opt{'escape'} and $$opt{'escape'} =~ /^no$/
173 2 6 defined $$opt{'strip'} && $$opt{'strip'} =~ /^word$/i ? :
273 4 0 unless defined $$self{'yaml'}{$yaml}
277 3 3 if (ref $doc eq 'ARRAY') { }
3 0 elsif (ref $doc eq 'HASH') { }
297 5 13 defined $opt ? :
302 2 20 if (not defined $opt and defined $$self{'opt'}) { }
1 19 elsif (defined $opt and defined $$self{'opt'}) { }
320 1 17 defined $b ? :