| blib/lib/Business/Tax/VAT/Validation.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 20 | 30.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 409 | 85 | 0 | 59 | not $mscc and $vatn =~ s/^($self->{'members'}) ?/$null;/e |
| 465 | 0 | 0 | 0 | $faultcode eq "soap:Server" and $faultstring eq "TIMEOUT" |
| 0 | 0 | 0 | $faultcode eq "soap:Server" and $faultstring eq "MS_UNAVAILABLE" |
| line | l | !l | condition |
|---|---|---|---|
| 126 | 0 | 3 | $arg{'baseurl'} || 'https://ec.europa.eu/taxation_customs/vies/services/checkVatService' |
| 0 | 3 | $arg{'hmrc_baseurl'} || 'https://api.service.hmrc.gov.uk/organisations/vat/check-vat-number/lookup/' | |
| 212 | 0 | 0 | $countryCode ||= "" |
| 235 | 85 | 59 | $mscc ||= "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 446 | 0 | 0 | 0 | $v eq "true" or $v eq 1 |