Branch Coverage

blib/lib/Mail/Addressbook/Convert/Ldif.pm
Criterion Covered Total %
branch 33 54 61.1


line true false branch
214 2 70 if ($i =~ /^objectclass: groupOfNames|^objectclass: groupOfUniqueNames/)
218 4 68 if ($i =~ /^objectclass: person/)
222 6 66 if ($i =~ /^xnavnickname:|^xmozillanickname:/)
228 4 68 if ($i =~ /^mail\:/)
235 5 67 if ($i =~ /^member\:|^uniquemember\:/)
241 4 1 if ($rawMember =~ /,mail=/) { }
253 4 1 if ($aliasOf{$rawMember})
261 7 65 if ($i =~ /^dn/)
276 6 66 unless ($i =~ /\S/)
280 5 1 if (not $isGroup and $alias)
282 0 5 if $xalias
286 5 0 if (not $fullName =~ /@/) { }
344 0 7 if ($aliasid{$alias} and $line[0] ne 'note') { }
354 7 0 if ($line[0] eq 'alias') { }
359 2 5 if ($commas_outside_quotes1) { }
372 5 0 if ($rest =~ /
0 0 elsif ($rest =~ /\(/) { }
419 0 5 if ($note{$alias1})
421 0 0 if ($note{$alias1} =~ /name:(.+)>/)
424 0 0 if length($hold[0]) =~ /\S/
441 0 5 if ($note{$alias1})
444 0 0 if ($note{$alias1} =~ /phone:(.+)>/)
451 0 5 if ($note{$alias1} and $note{$alias1} =~ /fax:(.+)>/)
457 0 5 if ($note{$alias1} and $note{$alias1} =~ /Home phone.+:(.+)/)
487 5 0 if (not /\@/) { }
497 0 5 if ($aliasid{$localalias})
500 0 0 if ($isGroup{$localalias}) { }