Branch Coverage

blib/lib/Lingua/EN/Numbers/Years.pm
Criterion Covered Total %
branch 40 44 90.9


line true false branch
22 1 0 unless defined &Lingua::EN::Numbers::Years::DEBUG
42 2 124 unless defined $y and length $y
44 121 3 if ($y =~ /\d/ and $y =~ /^(-?)(\d{1,5})$/s)
45 1 120 $1 ? :
47 1 120 if $_ eq '0'
48 21 99 if $DD{$_}
50 2 97 if /^(..)000$/
52 15 82 if (/^.0...$/)
57 0 15 if /^(.0)000$/
58 3 12 if /^(.0)00(.)$/
59 4 8 if /^(.0)0(..)$/
60 2 6 if /^(.0)(.)00$/
61 6 0 if /^(.0)(.)(..)$/
65 2 80 if /^(.)000$/
66 2 78 if /^(..)00$/
67 3 75 if /^(.)00$/
69 1 74 if /^(..)00(.)$/
70 6 68 if /^(..)0(..)$/
72 3 65 if /^(.)00(.)$/
75 31 34 if /^(..)(.)(..)$/
76 21 13 if /^(..)(..)$/
77 13 0 if /^(.)(..)$/