Condition Coverage

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

line%coveragecondition
23050
Adec
00
11
$rest //= ""
23150
Adec
00
11
$last //= ""
233100
ABdec
0X0
100
111
not length $last and length $rest
235100
ABdec
0X0
100
111
length $last and length $rest
27880
ABCDdec
0XXX0
10XX0
110X0
11100
11111
$style eq $STY_LAST and $format ne $FMT_DEFAULT and $format ne $FMT_SHORTLAST and length $last_name
30267
ABdec
000
011
1X1
$params->{'format'} // $FMT_DEFAULT
30367
ABdec
000
011
1X1
$params->{'style'} // $STY_FIRST
30467
ABdec
000
011
1X1
$params->{'separator'} // $DEFAULT_SEP
324100
ABdec
0X0
100
111
$style eq $STY_LAST and length $last_name
335100
ABdec
0X0
100
111
$style eq $STY_LAST && length $last_name