Branch Coverage

blib/lib/Lingua/SV/Num2Word.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
22 36 0 $_[0] >= 0 ? :
28 6 30 if $positive < 20
30 3 27 if ($positive < 100) { }
14 13 elsif ($positive < 1000) { }
9 4 elsif ($positive < 1000000) { }
3 1 elsif ($positive < 1000000000) { }
34 3 0 if $num[1]
40 1 13 if (int $num[1] . $num[2] < 20 and int $num[1] . $num[2] > 0) { }
43 11 2 if $num[1]
44 11 2 if $num[2]
52 6 3 if int join('', @sub) > 0
59 3 0 if int join('', @sub) > 0