Branch Coverage

File:blib/lib/Text/Names/Abbreviate.pm
Coverage:88.1%

line%coveragebranch
106100TFunless (defined $name)
112100TFdefined $params->{'separator'} ? :
116100TFif ($name =~ /,/)
122100TFif not length $last and length $rest
124100TFif (length $last and length $rest) { }
100TFelsif (length $rest) { }
50TFelsif (length $last) { }
13950TFunless @parts
145100TFif ($had_leading_comma) { }
153100TFif ($style eq "last_first" and $format ne "default" and length $last_name)
159100TFif (@initials)
163100TFif ($format eq 'compact') { }
100TFelsif ($format eq 'initials') { }
100TFelsif ($format eq 'shortlast') { }
164100TFlength $last_name ? :
167100TFif length $last_name
17150TFif (@initials)
176100TFif (@initials)
17850TFif (length $joined)
179100TF$last_name ? :
50TF$style eq 'last_first' ? :