Branch Coverage

blib/lib/Lingua/FR/Hyphen.pm
Criterion Covered Total %
branch 40 40 100.0


line true false branch
51 1 6 if (defined $ref_arguments and ref $ref_arguments ne 'HASH')
56 3 3 if (defined $ref_arguments and defined $check_complet)
59 1 5 unless ($$this{"_$option"})
75 25756 9052 unless $_
86 8920 20214 unless ($ref_tree->{$_})
111 2 12 $_ eq '-' ? :
123 2 26 if length $word < $this->{'_min_word'}
127 2 24 if $word =~ /^\p{Uppercase}+$/
130 10 14 if ($this->{'_cut_proper_nouns'} eq 0)
131 2 8 if $this->{'_ref_proper_nouns'}{lc $word}
135 8 14 if ($this->{'_cut_compounds'} eq 0)
136 1 7 if $word =~ /-/
146 1 20 if ($word =~ /\s/)
152 3 1 if $spaces[$i]
158 19 1 unless ($ref_points)
169 196 391 unless $ref_tree->{$charactere}
173 112 279 if (my $ref_position = $ref_tree->{'_'})
178 90 303 if ($$ref_points[$index_charactere + $index_position_tree] < $ref_position->[$index_position_tree])
199 31 154 if $$ref_points[2 + $i] % 2
215 1 1 if $this->{'_cut_proper_nouns'} != 0