Branch Coverage

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

line%coveragebranch
228100TFif ($raw =~ /,/)
233100TFif not length $last and length $rest
235100TFif (length $last and length $rest) { }
100TFelsif (length $rest) { }
100TFelsif (length $last) { }
265100TFunless @parts
269100TFif ($had_leading_comma) { }
278100TFif ($style eq $STY_LAST and $format ne $FMT_DEFAULT and $format ne $FMT_SHORTLAST and length $last_name)
300100TFunless defined $params->{'name'}
307100TFunless length $name
311100TFif ($format eq $FMT_COMPACT)
312100TFlength $last_name ? :
316100TFif ($format eq $FMT_INITIALS)
318100TFif length $last_name
322100TFif ($format eq $FMT_SHORTLAST)
323100TF@{$initials;} ? :
324100TFif ($style eq $STY_LAST and length $last_name)
325100TFlength $joined ? :
327100TFlength $last_name ? :
100TFlength $joined ? :
333100TFunless @{$initials;}
335100TFlength $last_name ? :
100TF$style eq $STY_LAST && length $last_name ? :