Branch Coverage

blib/lib/Bib/CrossRef.pm
Criterion Covered Total %
branch 13 104 12.5


line true false branch
53 0 1 if ($self->{'html'}) { }
229 0 1 if ($res->is_success) { }
246 0 0 if ($ref->{'genre'} =~ /journal-article/)
276 0 0 if ($res->is_success) { }
282 0 0 if (exists $cite->{'conference'}) { }
0 0 elsif (exists $cite->{'journal'}) { }
0 0 elsif (exists $cite->{'book'}) { }
284 0 0 if (exists $cite->{'conference'}{'proceedings_metadata'}) { }
286 0 0 if (exists $cite->{'conference'}{'proceedings_metadata'}{'publication_date'})
290 0 0 if (exists $cite->{'conference'}{'proceedings_series_metadata'}{'publication_date'})
297 0 0 if (exists $cc->{'journal_volume'})
298 0 0 if (exists $cc->{'issue'})
301 0 0 if ($cite->{'book'}{'book_type'} ne 'other') { }
307 0 0 if (exists $cite->{'book'}{'book_series_metadata'}) { }
0 0 elsif (exists $cite->{'book'}{'book_metadata'}) { }
308 0 0 if (exists $cite->{'book'}{'book_series_metadata'}{'titles'}{'title'})
313 0 0 if (exists $cite->{'book'}{'book_series_metadata'}{'publication_date'})
316 0 0 if (exists $cite->{'book'}{'book_metadata'}{'series_metadata'}{'titles'}{'title'})
318 0 0 if (exists $cite->{'book'}{'book_metadata'}{'series_metadata'}{'volume'})
320 0 0 if (exists $cite->{'book'}{'book_metadata'}{'volume'})
321 0 0 if (exists $cite->{'book'}{'book_metadata'}{'publication_date'})
323 0 0 if (exists $cite->{'book'}{'book_set_metadata'}{'titles'}{'title'})
339 0 0 unless (defined $cc)
345 0 0 if (ref $cc->{'titles'} ne 'HASH') { }
352 0 0 if (ref $cc->{'publication_date'} eq 'HASH') { }
357 0 0 if ($d->{'media_type'} eq 'print')
362 0 0 if (not $found and $count > 0)
364 0 0 if (exists do { $cc }->{'pages'})
365 0 0 if (exists do { $$cc{'pages'} }->{'first_page'})
366 0 0 if (exists do { $$cc{'pages'} }->{'last_page'})
369 0 0 if (ref $cc eq 'HASH') { }
375 0 0 if ($au->{'contributor_role'} ne 'author')
390 0 0 if (defined $id)
401 1 0 if ($self->authcount > 0)
414 0 1 unless (defined $id)
415 1 0 unless (defined $add)
418 1 0 if ($self->{'html'}) { }
421 0 1 if ($self->score < 1) { }
431 1 0 if (defined $self->volume)
435 1 0 if (defined $self->issue)
439 1 0 if (defined $self->spage)
442 1 0 if (defined $self->epage)
446 1 0 if (defined $self->doi)
452 0 1 if (defined $self->url)
459 0 0 if (length $id > 0)
460 0 0 if ($self->score < 1) { }
468 0 0 if (defined $self->volume)
470 0 0 if (defined $self->issue)
474 0 0 if (defined $self->spage)
477 0 0 if (defined $self->epage)
480 0 0 if (defined $self->doi)
485 0 0 if (defined $self->url)