Branch Coverage

blib/lib/Lingua/EN/Nickname.pm
Criterion Covered Total %
branch 34 40 85.0


line true false branch
89 0 7 if not /[a-z]/ and length $_ > 2
90 2 5 if $Lingua::EN::Nickname::match{$_}
92 4 1 if exists $Lingua::EN::Nickname::root{$_}
94 0 1 unless @root
105 2 183 if $dest eq $step
110 159 34 $Lingua::EN::Nickname::akin{$_} ? :
112 3 180 if $match
119 0 34 unless /[a-z]/
120 0 17 if $a eq $b
121 1 16 if exists $Lingua::EN::Nickname::root{$b} and $a eq $Lingua::EN::Nickname::root{$b}
122 2 14 if exists $Lingua::EN::Nickname::root{$a} and $b eq $Lingua::EN::Nickname::root{$a}
123 7 7 if $regex = &nickroot($b) and $a =~ /^($regex)$/ or $regex = &nickroot($a) and $b =~ /^($regex)$/
125 0 7 unless $regex = nickmatch $a
126 4 3 if $b =~ /$regex/
127 2 1 if $match = nickfollow($a, $b) || nickfollow($b, $a)
134 0 211 if not /[a-z]/ and length $_ > 2
135 164 47 if $Lingua::EN::Nickname::match{$_}
137 19 28 if exists $Lingua::EN::Nickname::root{$_}
139 5 5 wantarray ? :
10 18 if $Lingua::EN::Nickname::multi{$_}