Branch Coverage

blib/lib/Business/BalancedPayments/V11.pm
Criterion Covered Total %
branch 0 234 0.0


line true false branch
25 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($card)
0 0 unless exists $args{'customer'}
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($customer)
0 0 if keys %args
0 0 if @_ > 3
26 0 0 unless my $card_href = $$card{'href'}
27 0 0 unless my $cust_href = $$customer{'href'}
35 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($customer)
0 0 if @_ > 1
36 0 0 unless my $cust_href = $$customer{'href'}
40 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($id)
0 0 if @_ > 1
42 0 0 $res ? :
45 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($hold)
0 0 unless exists $args{'card'}
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($card)
0 0 if keys %args
0 0 if @_ > 3
46 0 0 unless $$hold{'amount'}
47 0 0 unless my $card_href = $$card{'href'}
51 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($hold)
0 0 exists $args{'debit'} ? :
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($debit)
0 0 if keys %args
0 0 if @_ > 3
52 0 0 unless my $hold_href = $$hold{'href'}
56 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($hold)
0 0 if @_ > 1
57 0 0 unless my $hold_href = $$hold{'href'}
61 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($debit)
0 0 unless exists $args{'card'}
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($card)
0 0 if keys %args
0 0 if @_ > 3
62 0 0 unless $$debit{'amount'}
63 0 0 unless my $card_href = $$card{'href'}
69 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($debit)
0 0 if @_ > 1
70 0 0 unless my $debit_href = $$debit{'href'}
78 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($bank)
0 0 unless exists $args{'customer'}
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($customer)
0 0 if keys %args
0 0 if @_ > 3
79 0 0 unless my $bank_href = $$bank{'href'}
80 0 0 unless my $cust_href = $$customer{'href'}
85 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($credit)
0 0 if exists $args{'bank_account'} and not +($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($bank_account)
0 0 if exists $args{'card'} and not +($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($card)
0 0 if keys %args
0 0 if @_ > 5
86 0 0 unless $$credit{'amount'}
87 0 0 if ($bank_account) { }
0 0 elsif ($card) { }
88 0 0 unless my $bank_href = $$bank_account{'href'}
92 0 0 unless my $card_href = $$card{'href'}
101 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($bank)
0 0 if @_ > 1
102 0 0 unless my $bank_href = $$bank{'href'}
106 0 0 unless exists $args{'bank_account'}
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($bank_account)
0 0 if keys %args
0 0 if @_ > 2
107 0 0 unless my $bank_href = $$bank_account{'href'}
113 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($id)
0 0 if @_ > 1
115 0 0 $res ? :
118 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($verification)
0 0 unless exists $args{'amount_1'}
0 0 unless ($Method::Signatures::mutc{'cache'}{'Int'} ||= 'Method::Signatures'->_make_constraint('Int'))->check($amount_1)
0 0 unless exists $args{'amount_2'}
0 0 unless ($Method::Signatures::mutc{'cache'}{'Int'} ||= 'Method::Signatures'->_make_constraint('Int'))->check($amount_2)
0 0 if keys %args
0 0 if @_ > 5
119 0 0 unless my $ver_href = $$verification{'href'}
125 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($rec)
0 0 if @_ > 1
126 0 0 unless defined $$rec{'name'}
127 0 0 unless $$rec{'address'}{'line1'}
129 0 0 unless $$rec{'address'}{'postal_code'}
135 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($id)
0 0 if @_ > 1
137 0 0 $res ? :
140 0 0 @_ > 0 ? :
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($query)
0 0 if @_ > 1
144 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($credit)
0 0 unless exists $args{'check_recipient'}
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($check_recipient)
0 0 if keys %args
0 0 if @_ > 3
145 0 0 unless my $rec_id = $$check_recipient{'id'}
147 0 0 unless $$credit{'amount'}
152 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($data)
0 0 if @_ > 1
154 0 0 unless $key
163 0 0 if @_ > 0
165 0 0 if @_ > 0
167 0 0 if @_ > 0
177 0 0 if $res