Branch Coverage

blib/lib/Lingua/POR/Words2Nums.pm
Criterion Covered Total %
branch 7 30 23.3


line true false branch
90 0 8 if (s/(.+)mil(?=.*(?:$expr))//u)
97 0 8 if (s/(.+)(?:$expr)//u)
106 2 2 if (s/(.+?)mil//u)
108 0 2 if ($thousands =~ /^\s*e?\s*$/u) { }
122 1 3 if ($result == 0 and not $task =~ /\Azero\z/msux)
149 0 0 if exists $irregular->{$input}
152 0 0 unless $input =~ s/\351sim[oa]\z//msux
158 0 0 if ($input =~ /z\z/msux) { }
0 0 elsif ($input =~ /oit\z/msux) { }
0 0 elsif ($input =~ /set\z/msux) { }
0 0 elsif ($input =~ /vint\z/msux) { }
0 0 elsif ($input =~ /nt\z/msux) { }
0 0 elsif ($input =~ /c\z/msux) { }
0 0 elsif ($input =~ /ov\z/msux) { }
0 0 elsif ($input =~ /tr\z/msux) { }