Branch Coverage

blib/lib/Finance/Bank/Barclays.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
20 0 0 unless exists $opts{'memnumber'}
21 0 0 unless exists $opts{'passcode'}
22 0 0 unless exists $opts{'surname'}
23 0 0 unless exists $opts{'password'}
29 0 0 unless $agent->status == 200
31 0 0 unless $agent->follow_link('url_regex', qr/Welcome.do$/i)
36 0 0 if ($mno =~ /^20(\d{10})$/)
42 0 0 if (defined $agent->find_link('tag', 'meta', 'n', 0))
51 0 0 if ($content =~ /letter (\d) of your memorable word.*letter (\d) of your memorable word/is) { }
68 0 0 if ($line =~ /\s*(\d\d-\d\d-\d\d)\s+(\d+)/) { }
0 0 elsif ($line =~ /\\s*(-?&\#163;[0-9,.]+)\s*\
77 0 0 unless $#sortcodes == $#balances
82 0 0 if ($#sortcodes == -1)
83 0 0 if ($agent->content =~ /input.*checkbox.*confirmation/is)
86 0 0 unless $agent->click('Next')
93 0 0 if ($line =~ /\s*(\d\d-\d\d-\d\d)\s+(\d+)/) { }
0 0 elsif ($line =~ /\\s*(-?&\#163;[0-9,.]+)\s*\
102 0 0 unless $#sortcodes == $#balances