Condition Coverage

blib/lib/Business/Tax/VAT/Validation.pm
Criterion Covered Total %
condition 6 20 30.0


and 3 conditions

line !l l&&!r l&&r condition
409 85 0 59 not $mscc and $vatn =~ s/^($self->{'members'}) ?/$null;/e
461 0 0 0 $faultcode eq "soap:Server" and $faultstring eq "TIMEOUT"
0 0 0 $faultcode eq "soap:Server" and $faultstring eq "MS_UNAVAILABLE"

or 2 conditions

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 ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
442 0 0 0 $v eq "true" or $v eq 1