| lib/Business/Tax/Withholding/JP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 78 | 12 | 24 | if $self->no_wh |
| 80 | 18 | 6 | if ($self->subtotal <= 1000000) { } |
| 91 | 2 | 46 | if $date < $t->strptime($history[0]{'since'}, "%Y-%m-%d") |
| 92 | 36 | 10 | if $date > $t->strptime($history[-1]{'until'}, "%Y-%m-%d") + 86400 |
| 95 | 14 | 8 | unless $date < $t->strptime($h->{'until'}, "%Y-%m-%d") + 86400 |
| 96 | 8 | 0 | if $date >= $t->strptime($h->{'since'}, "%Y-%m-%d") |
| 108 | 4 | 20 | if $date < $since or $until < $date |