blib/lib/App/ValidateBankAccount.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 10 | 50.0 |
line | true | false | branch |
---|---|---|---|
148 | 0 | 1 | unless defined $country |
151 | 0 | 1 | unless ($sort_code =~ /^\d+$/) |
157 | 0 | 1 | unless ($account_number =~ /^\d+$/) |
162 | 1 | 0 | if ($country eq $DEFAULT_COUNTRY) { } |
165 | 1 | 0 | if ($validator->is_valid($sort_code, $account_number)) { } |