Branch Coverage

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


line true false branch
24 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
25 0 0 unless my $card_href = $$card{'href'}
26 0 0 unless my $cust_href = $$customer{'href'}
34 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($customer)
0 0 if @_ > 1
35 0 0 unless my $cust_href = $$customer{'href'}
39 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($id)
0 0 if @_ > 1
41 0 0 $res ? :
44 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
45 0 0 unless $$hold{'amount'}
46 0 0 unless my $card_href = $$card{'href'}
50 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
51 0 0 unless my $hold_href = $$hold{'href'}
55 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($hold)
0 0 if @_ > 1
56 0 0 unless my $hold_href = $$hold{'href'}
60 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
61 0 0 unless $$debit{'amount'}
62 0 0 unless my $card_href = $$card{'href'}
68 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($debit)
0 0 if @_ > 1
69 0 0 unless my $debit_href = $$debit{'href'}
77 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
78 0 0 unless my $bank_href = $$bank{'href'}
79 0 0 unless my $cust_href = $$customer{'href'}
84 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
85 0 0 unless $$credit{'amount'}
86 0 0 if ($bank_account) { }
0 0 elsif ($card) { }
87 0 0 unless my $bank_href = $$bank_account{'href'}
91 0 0 unless my $card_href = $$card{'href'}
100 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($bank)
0 0 if @_ > 1
101 0 0 unless my $bank_href = $$bank{'href'}
105 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
106 0 0 unless my $bank_href = $$bank_account{'href'}
112 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($id)
0 0 if @_ > 1
114 0 0 $res ? :
117 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
118 0 0 unless my $ver_href = $$verification{'href'}
124 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($rec)
0 0 if @_ > 1
125 0 0 unless defined $$rec{'name'}
126 0 0 unless $$rec{'address'}{'line1'}
128 0 0 unless $$rec{'address'}{'postal_code'}
134 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($id)
0 0 if @_ > 1
136 0 0 $res ? :
145 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
146 0 0 unless my $rec_id = $$check_recipient{'id'}
148 0 0 unless $$credit{'amount'}
153 0 0 unless @_ > 0
0 0 unless ($Method::Signatures::mutc{'cache'}{'HashRef'} ||= 'Method::Signatures'->_make_constraint('HashRef'))->check($data)
0 0 if exists $args{'page_handler'} and not +($Method::Signatures::mutc{'cache'}{'Maybe[CodeRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[CodeRef]'))->check($page_handler)
0 0 if keys %args
0 0 if @_ > 3
155 0 0 unless $key
159 0 0 if $page_handler
165 0 0 if @_ > 0
167 0 0 if @_ > 0
169 0 0 if @_ > 0
179 0 0 if $res
188 0 0 if $params{'page_handler'} and 'CODE' eq ref $params{'page_handler'}