Branch Coverage

lib/Finance/Bank/HDFC.pm
Criterion Covered Total %
branch 16 32 50.0


line true false branch
100 0 1 unless (exists $args{'cust_id'} or not exists $args{'password'})
119 0 1 if ($response->is_error)
123 0 1 if ($response->code != 200)
128 1 0 if ($response->content =~ //) { }
159 0 1 if ($$self{'session_id'} eq '')
175 0 1 if ($response->is_error)
179 0 1 if ($response->code != 200)
183 1 0 if ($response->content =~ /accounts\[count\] = "\s*(\d+)\s*"/) { }
192 1 0 if ($response->content =~ /balance\[count\] = "(.*)"/) { }
221 0 1 if ($$self{'session_id'} eq '')
226 0 1 if ($$self{'acct_no'} eq '')
246 0 1 if ($response->is_error)
250 0 1 if ($response->code != 200)
279 0 1 if ($$self{'session_id'} eq '')
295 0 1 if ($response->is_error)
299 0 1 if ($response->code != 200)