Branch Coverage

blib/lib/String/Dirify.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
120 4 8 if (ref $_[0]) { }
1 7 elsif ($_[0] eq 'String::Dirify') { }
143 0 12 unless defined $s
145 2 10 defined $sep && $sep ne '1' ? :
172 0 12 unless defined $text
173 2 10 if $text =~ /^<\!\[CDATA\[/i