Branch Coverage

blib/lib/WebService/SiftScience.pm
Criterion Covered Total %
branch 87 164 53.0


line true false branch
16 0 1 unless @_ > 0
0 1 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 1 if @_ > 1
21 0 40 unless @_ > 0
0 40 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 40 unless @_ > 1
0 40 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($type)
39 1 @_ > 2 ? :
0 40 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 40 if @_ > 3
30 0 4 unless @_ > 0
0 4 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 4 unless @_ > 1
0 4 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 4 if @_ > 2
34 0 4 unless @_ > 0
0 4 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 4 unless @_ > 1
0 4 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 4 if @_ > 2
38 0 6 unless @_ > 0
0 6 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 6 unless @_ > 1
0 6 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 6 if @_ > 2
42 0 2 unless @_ > 0
0 2 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
1 1 unless @_ > 1
1 0 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 0 if @_ > 2
46 0 3 unless @_ > 0
0 3 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
1 2 unless @_ > 1
1 1 if @_ > 2
50 0 4 unless @_ > 0
0 4 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 4 unless @_ > 1
0 4 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 4 if @_ > 2
54 0 4 unless @_ > 0
0 4 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 4 unless @_ > 1
0 4 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 4 if @_ > 2
58 0 4 unless @_ > 0
0 4 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 4 unless @_ > 1
0 4 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 4 if @_ > 2
62 0 4 unless @_ > 0
0 4 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 4 unless @_ > 1
0 4 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 4 if @_ > 2
66 0 5 unless @_ > 0
0 5 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
4 1 @_ > 1 ? :
0 5 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 5 if @_ > 2
70 0 1 unless @_ > 0
0 1 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 1 if @_ > 1
74 0 4 unless @_ > 0
0 4 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
1 3 unless @_ > 1
0 3 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($type)
0 3 unless @_ > 2
0 3 unless ($Method::Signatures::mutc{'cache'}{'Maybe[HashRef]'} ||= 'Method::Signatures'->_make_constraint('Maybe[HashRef]'))->check($data)
0 3 if @_ > 3
78 0 1 unless @_ > 0
0 1 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 1 unless @_ > 1
0 1 if @_ > 2
85 0 1 unless @_ > 0
0 1 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 1 if @_ > 1
90 0 1 unless @_ > 0
0 1 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 1 if @_ > 1
94 0 2 unless @_ > 0
0 2 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($user_id)
0 2 if @_ > 1