| blib/lib/Number/Latin.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 28 | 67.8 |
| line | true | false | branch |
|---|---|---|---|
| 13 | 0 | 60 | unless defined $_[0] |
| 14 | 0 | 60 | if $_[0] == 0 |
| 15 | 30 | 30 | if $_[0] <= -1 |
| 21 | 0 | 2 | unless defined $_[0] |
| 22 | 0 | 2 | if $_[0] == 0 |
| 23 | 1 | 1 | if $_[0] <= -1 |
| 29 | 0 | 2 | unless defined $_[0] |
| 30 | 0 | 2 | if $_[0] == 0 |
| 31 | 1 | 1 | if $_[0] <= -1 |
| 47 | 0 | 96 | unless defined $_[0] |
| 48 | 0 | 96 | if $_[0] eq '0' or $_[0] =~ /^0+$/s |
| 50 | 32 | 64 | if $in =~ /^-([a-zA-Z]+)$/s |
| 51 | 0 | 64 | unless $_[0] =~ /^[a-zA-Z]+$/s |
| 65 | 80 | 64 | length $_[0] ? : |