Branch Coverage

blib/lib/No/Worries/DN.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
79 3 8 if ($string =~ m[^(/[a-z]+=[^=]*){3,}$]i) { }
1 7 elsif ($string =~ /^[a-z]+=[^=]*(,[a-z]+=[^=]*){2,}$/i) { }
4 3 elsif ($string =~ /^[a-z]+=[^=]*(, [a-z]+=[^=]*){2,}$/i) { }
89 3 5 if $sep eq "/"
92 37 0 if ($attr =~ /^($_TypeRE)=($_ValueRE)$/) { }
0 0 elsif (@dn and $attr =~ /^($_ValueRE)$/) { }
102 3 5 if $sep eq "/"
114 1 2 if $format eq "rfc2253"
115 1 1 if $format eq "java"
116 1 0 if $format eq "openssl"