Condition Coverage

blib/lib/WebService/ILS/RecordedBooks.pm
Criterion Covered Total %
condition 0 25 0.0


and 3 conditions

line !l l&&!r l&&r condition
430 0 0 0 $content_type and $content_type =~ m[application/json]u

or 2 conditions

line l !l condition
217 0 0 shift() || {}
318 0 0 $facets{$f} ||= []
334 0 0 $facets{$f} ||= []
511 0 0 $res->{'message'} || 'Cannot checkout, unknown error'
531 0 0 $res->{'output'} || 'Cannot renew, unknown error'

or 3 conditions

line l !l&&r !l&&!r condition
256 0 0 0 $i->{'url'} ||= "https://$domain/#titles/$i->{'isbn'}"
414 0 0 0 $self->_error_from_json($data) || 'Cannot place hold: ' . &to_json($data)
436 0 0 0 $error || "Cannot place hold:\n$content"
453 0 0 0 $self->_error_from_json($data) || 'Cannot remove hold: ' . &to_json($data)