Branch Coverage

blib/lib/WebService/Europeana.pm
Criterion Covered Total %
branch 15 36 41.6


line true false branch
24 0 1 if exists $args{'query'} and not +($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($query)
0 1 exists $args{'profile'} ? :
0 1 unless ($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($profile)
1 0 exists $args{'rows'} ? :
0 1 unless ($Method::Signatures::mutc{'cache'}{'Int'} ||= 'Method::Signatures'->_make_constraint('Int'))->check($rows)
0 1 exists $args{'start'} ? :
0 1 unless ($Method::Signatures::mutc{'cache'}{'Int'} ||= 'Method::Signatures'->_make_constraint('Int'))->check($start)
0 1 if exists $args{'reusability'} and not +($Method::Signatures::mutc{'cache'}{'Str'} ||= 'Method::Signatures'->_make_constraint('Str'))->check($reusability)
0 1 if exists $args{'qf'} and not +($Method::Signatures::mutc{'cache'}{'Str|ArrayRef'} ||= 'Method::Signatures'->_make_constraint('Str|ArrayRef'))->check($qf)
0 1 if keys %args
0 1 if scalar @_ > 12
35 0 1 if $reusability
38 0 1 if (ref $qf eq 'ARRAY') { }
43 0 1 if $qf
50 0 1 if ($response->is_success) { }
69 0 0 if ($result_ref)
70 0 0 if ($result_ref->{'success'} and $result_ref->{'success'} == 1)
76 0 0 if ($result_ref->{'itemsCount'}) { }