Branch Coverage

blib/lib/Finance/Bank/Schwab.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
42 0 0 unless $_[0] =~ /uninitialized value in subroutine entry/
53 0 0 if $$row[1] =~ /Totals/
63 0 0 $$row[0] =~ /\d{4}-\d{4}/ ? :
93 0 0 if $opts{'content'}
95 0 0 unless exists $opts{'password'}
96 0 0 unless exists $opts{'username'}
99 0 0 unless $ua->get('https://client.schwab.com/Login/SignOn/CustomerCenterLogin.aspx')
104 0 0 unless my $login_form = $ua->form_name('aspnetForm')
106 0 0 unless $login_form->action('https://client.schwab.com/Login/SignOn/signon.ashx')
112 0 0 unless $ua->submit
117 0 0 if $opts{'log'}
126 0 0 unless $opts{'get_positions'}
138 0 0 if $opts{'content'}
141 0 0 unless $ua->get("https://client.schwab.com/Accounts/Positions/AccountPositionsSummary.aspx?selAcct=$acct")
147 0 0 if $opts{'log'}
161 0 0 unless $_[0] =~ /uninitialized value in subroutine entry/
175 0 0 if $$row[2] eq ''
176 0 0 if $$row[0] =~ /Total/
188 0 0 if /SymbolRouting/
189 0 0 if /TradeBondSuperPopUp/
190 0 0 if /Cash/
197 0 0 if ($$row[0] =~ /Cash/)
206 0 0 if ($type =~ /Bond/)
250 0 0 unless open my $fh, '>', $filename
258 0 0 unless open my $fh, '<', $filename