Condition Coverage

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

line%coveragecondition
28150
Adec
00
11
$rest //= ""
28250
Adec
00
11
$last //= ""
284100
ABdec
0X0
100
111
not length $last and length $rest
286100
ABdec
0X0
100
111
length $last and length $rest
328100
ABdec
0X0
100
111
$particles and @parts
33067
ABdec
0X0
100
111
@parts and $is_particle{$parts[-1]}
33980
ABCDdec
0XXX0
10XX0
110X0
11100
11111
$style eq $STY_LAST and $format ne $FMT_DEFAULT and $format ne $FMT_SHORTLAST and length $last_name
36367
ABdec
000
011
1X1
$params->{'format'} // $FMT_DEFAULT
36467
ABdec
000
011
1X1
$params->{'style'} // $STY_FIRST
36567
ABdec
000
011
1X1
$params->{'separator'} // $DEFAULT_SEP
392100
ABdec
0X0
100
111
$style eq $STY_LAST and length $last_name
403100
ABdec
0X0
100
111
$style eq $STY_LAST && length $last_name