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
429 0 0 0 $content_type and $content_type =~ m[application/json]u

or 2 conditions

line l !l condition
217 0 0 shift() || {}
317 0 0 $facets{$f} ||= []
333 0 0 $facets{$f} ||= []
510 0 0 $res->{'message'} || 'Cannot checkout, unknown error'
530 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'}"
413 0 0 0 $self->_error_from_json($data) || 'Cannot place hold: ' . &to_json($data)
435 0 0 0 $error || "Cannot place hold:\n$content"
452 0 0 0 $self->_error_from_json($data) || 'Cannot remove hold: ' . &to_json($data)