Condition Coverage

blib/lib/Lingua/EN/NameParse.pm
Criterion Covered Total %
condition 6 24 25.0


and 3 conditions

line !l l&&!r l&&r condition
577 19 8 1 $name->{'allow_reversed'} and $input_string =~ /,/
962 3 0 0 $name->{'comps'}{'precursor'} and $name->{'comps'}{'precursor'} =~ /ESTATE/
1096 0 0 0 $value and $comps{$value}
1243 0 0 47 $name and $name =~ /[AEIOUYJ]|^(NG|TSZ|MD|(C?H|[PTS])NG)$/i

or 3 conditions

line l !l&&r !l&&!r condition
962 0 0 3 $name->{'error'} or $name->{'comps'}{'precursor'} and $name->{'comps'}{'precursor'} =~ /ESTATE/
1019 0 0 0 $type eq 'Mr_&Ms_A_Smith' or $type eq 'Mr_A_&Ms_B_Smith'
0 0 0 $type eq 'Mr_&Ms_A_Smith' or $type eq 'Mr_A_&Ms_B_Smith' or $type eq 'Mr_&Ms_A_&B_Smith'
0 0 0 $type eq 'Mr_A_Smith_&Ms_B_Jones' or $type eq 'Mr_John_Smith_&Ms_Mary_Jones'