Branch Coverage

blib/lib/Business/BalancedPayments/V10.pm
Criterion Covered Total %
branch 4 122 3.2


line true false branch
13 0 0 unless defined $id
19 0 0 unless $email
27 0 0 unless ref $account eq 'HASH'
29 0 0 if ($card)
30 0 0 unless ref $card eq 'HASH'
31 0 0 unless $$card{'uri'}
39 0 0 unless ref $account eq 'HASH'
40 0 0 unless $$account{'uri'} or $$account{'id'}
49 0 0 unless ref $card eq 'HASH'
50 0 0 unless ref $account eq 'HASH'
51 0 0 unless $$account{'cards_uri'}
58 0 0 unless ref $bank_account eq 'HASH'
60 0 0 unless ref $account eq 'HASH'
61 0 0 unless $$account{'bank_accounts_uri'}
68 0 2 unless ref $hold eq 'HASH'
69 1 1 unless $$hold{'amount'}
72 1 0 unless $account or $card
74 0 0 if ($card) { }
0 0 elsif ($account) { }
75 0 0 unless ref $card eq 'HASH'
78 0 0 unless ref $account eq 'HASH'
81 0 0 unless $holds_uri
82 0 0 if $card and $$card{'uri'}
88 0 0 unless $hold
89 0 0 if $params and ref $params ne 'HASH'
91 0 0 ref $hold eq 'HASH' ? :
98 0 0 unless ref $debit eq 'HASH'
99 0 0 unless $$debit{'amount'}
102 0 0 unless $account or $card
104 0 0 if ($card) { }
0 0 elsif ($account) { }
105 0 0 unless ref $card eq 'HASH'
108 0 0 unless ref $account eq 'HASH'
111 0 0 unless $debits_uri
112 0 0 if $card and $$card{'uri'}
118 0 0 unless defined $id
124 0 0 unless defined $id
130 0 0 unless defined $debit
136 0 0 unless ref $hold eq 'HASH'
137 0 0 unless $$hold{'uri'}
143 0 0 unless ref $debit eq 'HASH'
144 0 0 unless $$debit{'amount'}
145 0 0 unless $$debit{'uri'} or $$debit{'debit_uri'}
153 0 0 unless defined $id
154 0 0 unless defined $verification_id
157 0 0 unless my $amount_1 = $args{'amount_1'}
158 0 0 unless my $amount_2 = $args{'amount_2'}
164 0 0 unless defined $id
171 0 0 unless ref $bank eq 'HASH'
172 0 0 unless $$bank{'uri'} or $$bank{'id'}
180 0 0 unless defined $bank_id
188 0 0 unless ref $credit eq 'HASH'
189 0 0 unless exists $$credit{'amount'}
190 0 0 unless $account or $bank_account
193 0 0 if ($account)
194 0 0 unless ref $account eq 'HASH'
198 0 0 if ($bank_account)
199 0 0 unless ref $bank_account eq 'HASH'
201 0 0 unless $$bank_account{'uri'}
202 0 0 unless $$bank_account{'account'}{'credits_uri'}
207 0 0 unless $credits_uri