Branch Coverage

blib/lib/Biblio/ILL/ISO/Request.pm
Criterion Covered Total %
branch 46 128 35.9


line true false branch
115 1 1 unless $Biblio::ILL::ISO::ISO::_asn_initialized
130 0 0 if ($key ne 'ASN_TYPE')
146 23 1 if ($key ne 'ASN_TYPE')
183 0 0 if ($k =~ /^protocol-version-num$/) { }
0 0 elsif ($k =~ /^transaction-id$/) { }
0 0 elsif ($k =~ /^service-date-time$/) { }
0 0 elsif ($k =~ /^requester-id$/ or $k =~ /^responder-id$/) { }
0 0 elsif ($k =~ /^transaction-type$/) { }
0 0 elsif ($k =~ /^delivery-service$/) { }
0 0 elsif ($k =~ /^billing-address$/ or $k =~ /^delivery-address$/) { }
0 0 elsif ($k =~ /^iLL-service-type$/) { }
0 0 elsif ($k =~ /^requester-optional-messages$/) { }
0 0 elsif ($k =~ /^search-type$/) { }
0 0 elsif ($k =~ /^supply-medium-info-type$/) { }
0 0 elsif ($k =~ /^place-on-hold$/) { }
0 0 elsif ($k =~ /^client-id$/) { }
0 0 elsif ($k =~ /^item-id$/) { }
0 0 elsif ($k =~ /^cost-info-type$/) { }
0 0 elsif ($k =~ /^copyright-compliance$/ or $k =~ /^requester-note$/ or $k =~ /^forward-note$/) { }
0 0 elsif ($k =~ /^third-party-info-type$/) { }
0 0 elsif ($k =~ /^retry-flag$/ or $k =~ /^forward-flag$/) { }
0 0 elsif ($k =~ /^iLL-request-extensions$/) { }
295 0 1 unless $parm
323 0 1 unless $parm
324 0 1 unless ref $parm eq 'Biblio::ILL::ISO::TransactionId'
353 0 1 unless $sdt
354 0 1 unless ref $sdt eq 'Biblio::ILL::ISO::ServiceDateTime'
382 0 1 unless $parm
383 0 1 unless ref $parm eq 'Biblio::ILL::ISO::SystemId'
410 0 1 unless $parm
411 0 1 unless ref $parm eq 'Biblio::ILL::ISO::SystemId'
438 0 1 unless $parm
440 0 1 unless ref $parm eq 'Biblio::ILL::ISO::TransactionType'
478 0 1 unless $parm
479 0 1 unless ref $parm eq 'Biblio::ILL::ISO::DeliveryAddress'
507 0 1 unless $parm
508 0 1 unless ref $parm eq 'Biblio::ILL::ISO::DeliveryService'
546 0 1 unless $parm
547 0 1 unless ref $parm eq 'Biblio::ILL::ISO::DeliveryAddress'
581 0 1 unless $parm
582 0 1 unless ref $parm eq 'Biblio::ILL::ISO::ILLServiceTypeSequence'
583 0 1 if $parm->count > 5
614 0 1 unless $parm
615 0 1 unless ref $parm eq 'Biblio::ILL::ISO::RequesterOptionalMessageType'
646 0 1 unless $parm
647 0 1 unless ref $parm eq 'Biblio::ILL::ISO::SearchType'
676 0 1 unless $parm
677 0 1 unless ref $parm eq 'Biblio::ILL::ISO::SupplyMediumInfoTypeSequence'
678 0 1 if $parm->count > 7
705 0 1 unless $parm
706 0 1 unless ref $parm eq 'Biblio::ILL::ISO::PlaceOnHoldType'
736 0 1 unless $parm
737 0 1 unless ref $parm eq 'Biblio::ILL::ISO::ClientId'
774 0 1 unless $parm
775 0 1 unless ref $parm eq 'Biblio::ILL::ISO::ItemId'
802 0 1 unless $parm
803 0 1 unless ref $parm eq 'Biblio::ILL::ISO::CostInfoType'
829 0 1 unless $parm
882 0 1 unless $parm
883 0 1 unless ref $parm eq 'Biblio::ILL::ISO::ThirdPartyInfoType'
909 0 1 unless $parm
934 0 1 unless $parm
959 0 1 unless $parm
985 0 1 unless $parm