blib/lib/Business/ID/NPWP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
16 | 18 | 81 | $_[0] > 9 ? : |
33 | 0 | 11 | unless my $npwp = $args{'npwp'} |
38 | 0 | 11 | if ($npwp =~ /^\d\./) |
42 | 0 | 11 | if (length $npwp == 12) |
43 | 0 | 11 | unless length $npwp == 15 |
46 | 0 | 11 | if ((_z(1 * $1) + _z(2 * $2) + _z(1 * $3) + _z(2 * $4) + _z(1 * $5) + _z(2 * $6) + _z(1 * $7) + _z(2 * $8) + _z(1 * $9)) % 10) |
57 | 0 | 11 | if $res->{'serial'} < 1 |