Branch Coverage

blib/lib/Finance/BankVal/UK.pm
Criterion Covered Total %
branch 4 32 12.5


line true false branch
60 1 0 if ($size == 4)
66 0 0 if ($size == 3)
71 0 0 if ($size == 2)
76 0 0 if ($size == 1)
85 1 0 if ($error)
114 0 0 if ($response->code < 200 or $response->code > 399) { }
135 0 0 if ($response->code < 200 or $response->code > 399) { }
149 1 0 unless ($sortcode =~ /^\d\d\d\d\d\d$/)
155 0 0 if (length $account < 6 or length $account > 12 or not $account =~ /^\d+\d$/)
164 0 0 unless ($pin =~ /^\d\d\d\d\d$/)
170 0 0 if (not $uid =~ /^[a-zA-Z\-_][a-zA-Z][a-zA-Z]*\D\d\d\d$/)
180 0 0 if (not $fileOpened) { }
186 0 0 if ($_ =~ /^UserID/) { }
0 0 elsif ($_ =~ /^PIN/) { }
198 0 0 unless ($uid =~ /\w/ and $pin =~ /\w/)
213 1 0 if (substr($responseString, 0, 7) eq 'INVALID') { }