Branch Coverage

blib/lib/MARC/Convert/Wikidata/Item.pm
Criterion Covered Total %
branch 0 110 0.0


line true false branch
60 0 0 unless (defined $self->{'marc_record'})
63 0 0 unless (&blessed($self->{'marc_record'}) and $self->{'marc_record'}->isa("MARC::Record"))
69 0 0 unless (defined $self->{'date_retrieved'})
98 0 0 unless (defined $self->{'transform_object'}->ccnb)
119 0 0 unless (defined $self->{'transform_object'}->full_name)
146 0 0 unless (defined $self->{'transform_object'}->edition_number)
173 0 0 unless (defined $self->{'transform_object'}->end_time)
201 0 0 unless (defined $self->{'transform_object'}->dml)
226 0 0 unless (@{$self->{'transform_object'}->isbns;})
232 0 0 if ($isbn->type != 10)
237 0 0 defined $publisher ? :
0 0 defined $cover_qid ? :
277 0 0 unless (@{$self->{'transform_object'}->isbns;})
283 0 0 if ($isbn->type != 13)
288 0 0 defined $publisher ? :
0 0 defined $cover_qid ? :
328 0 0 unless ($self->{'transform_object'}->issn)
349 0 0 unless (defined $self->{'transform_object'}->full_name)
370 0 0 unless (@{$self->{'transform_object'}->languages;})
374 0 0 unless (defined $self->{'callback_lang'})
382 0 0 if (defined $language_qid)
407 0 0 unless (defined $self->{'transform_object'}->krameriuses)
413 0 0 if ($k->kramerius_id eq 'mzk') { }
451 0 0 unless (defined $self->{'transform_object'}->number_of_pages)
472 0 0 unless (defined $self->{'transform_object'}->oclc)
493 0 0 unless (@{$self->{'transform_object'}->$people_method;})
497 0 0 unless (defined $self->{'callback_people'})
505 0 0 if (defined $people_qid)
512 0 0 defined $property_snaks_ar ? :
548 0 0 unless (@{$self->{'transform_object'}->publishers;})
554 0 0 if (not defined $self->{'callback_publisher_place'}) { }
560 0 0 if ($place_qid)
566 0 0 unless (@places)
570 0 0 @places > 1 ? :
589 0 0 unless (defined $self->{'transform_object'}->publication_date)
604 0 0 unless (@{$self->{'transform_object'}->publishers;})
609 0 0 unless (@publisher_qids)
642 0 0 unless (defined $self->{'transform_object'}->ccnb)
682 0 0 unless (@{$self->{'transform_object'}->series;})
687 0 0 if (not defined $self->{'callback_series'}) { }
692 0 0 if ($series_qid)
702 0 0 unless (@series_qids)
708 0 0 $series_ar->[2] ? :
739 0 0 unless (defined $self->{'transform_object'}->start_time)
752 0 0 unless (@{$self->{'transform_object'}->subtitles;})
777 0 0 unless (defined $self->{'transform_object'}->title)
811 0 0 unless (defined $isbn_o->publisher)
818 0 0 unless (defined $publisher)
828 0 0 unless (defined $isbn_o->cover)
841 0 0 if ($marc_lang eq 'cze') { }
0 0 elsif ($marc_lang eq 'eng') { }
855 0 0 if (not defined $self->{'callback_publisher_name'}) { }
860 0 0 if ($publisher_qid)
873 0 0 if (not defined $self->{'callback_cover'}) { }
890 0 0 if ($MARC::Convert::Wikidata::Item::EVAL_ERROR)