Branch Coverage

blib/lib/Biblio/ILL/ISO/SupplyDetails.pm
Criterion Covered Total %
branch 19 116 16.3


line true false branch
98 2 0 if (@_)
103 2 0 if ($date_shipped)
104 0 2 if (ref $date_shipped eq 'Biblio::ILL::ISO::ISODate') { }
112 2 0 if ($date_due)
113 0 2 if (ref $date_due eq 'Biblio::ILL::ISO::DateDue') { }
122 2 0 if ($chargeable_units)
123 0 2 unless $chargeable_units > 0 and $chargeable_units <= 9999
127 2 0 if ($cost)
128 0 2 if (ref $cost eq 'Biblio::ILL::ISO::Amount') { }
136 2 0 if ($shipped_conditions)
137 0 2 unless ref $shipped_conditions eq 'Biblio::ILL::ISO::ShippedConditions'
141 2 0 if ($shipped_via)
142 0 2 unless ref $shipped_via eq 'Biblio::ILL::ISO::ShippedVia'
146 2 0 if ($insured_for)
147 2 0 if (ref $insured_for eq 'Biblio::ILL::ISO::Amount') { }
155 2 0 if ($return_insurance_require)
156 0 2 if (ref $return_insurance_require eq 'Biblio::ILL::ISO::Amount') { }
164 2 0 if ($no_of_units_per_medium)
165 0 2 unless ref $no_of_units_per_medium eq 'Biblio::ILL::ISO::UnitsPerMediumTypeSequence'
202 0 0 if ($date_shipped)
203 0 0 if (ref $date_shipped eq 'Biblio::ILL::ISO::ISODate') { }
207 0 0 if $date_shipped
211 0 0 if ($date_due)
212 0 0 if (ref $date_due eq 'Biblio::ILL::ISO::DateDue') { }
221 0 0 if ($chargeable_units)
222 0 0 unless $chargeable_units > 0 and $chargeable_units <= 9999
226 0 0 if ($cost)
227 0 0 if (ref $cost eq 'Biblio::ILL::ISO::Amount') { }
235 0 0 if ($shipped_conditions)
236 0 0 unless ref $shipped_conditions eq 'Biblio::ILL::ISO::ShippedConditions'
240 0 0 if ($shipped_via)
241 0 0 unless ref $shipped_via eq 'Biblio::ILL::ISO::ShippedVia'
245 0 0 if ($insured_for)
246 0 0 if (ref $insured_for eq 'Biblio::ILL::ISO::Amount') { }
254 0 0 if ($return_insurance_require)
255 0 0 if (ref $return_insurance_require eq 'Biblio::ILL::ISO::Amount') { }
263 0 0 if ($no_of_units_per_medium)
264 0 0 unless ref $no_of_units_per_medium eq 'Biblio::ILL::ISO::UnitsPerMediumTypeSequence'
288 0 0 if ($k =~ /^client-name$/ or $k =~ /^client-status$/ or $k =~ /^client-identifier$/) { }
319 0 0 unless $date_shipped
320 0 0 if (ref $date_shipped eq 'Biblio::ILL::ISO::ISODate') { }
324 0 0 if $date_shipped
345 0 0 unless $date_due
346 0 0 unless ref $date_due eq 'Biblio::ILL::ISO::DateDue'
366 0 0 unless $chargeable_units
367 0 0 unless $chargeable_units > 0 and $chargeable_units <= 9999
387 0 0 unless $cost
388 0 0 if (ref $cost eq 'Biblio::ILL::ISO::Amount') { }
412 0 0 unless $shipped_conditions
413 0 0 unless ref $shipped_conditions eq 'Biblio::ILL::ISO::ShippedConditions'
433 0 0 unless $shipped_via
434 0 0 unless ref $shipped_via eq 'Biblio::ILL::ISO::ShippedVia'
454 0 0 unless $insured_for
455 0 0 if (ref $insured_for eq 'Biblio::ILL::ISO::Amount') { }
479 0 0 unless $return_insurance_require
480 0 0 if (ref $insured_for eq 'Biblio::ILL::ISO::Amount') { }
504 0 0 unless $no_of_units_per_medium
505 0 0 unless ref $no_of_units_per_medium eq 'Biblio::ILL::ISO::UnitsPerMediumType'