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'}) { }
228 0 1 if ($res->is_success) { }
245 0 0 if ($ref->{'genre'} eq 'journal-article')
274 0 0 if ($res->is_success) { }
280 0 0 if (exists $cite->{'conference'}) { }
0 0 elsif (exists $cite->{'journal'}) { }
0 0 elsif (exists $cite->{'book'}) { }
282 0 0 if (exists $cite->{'conference'}{'proceedings_metadata'}) { }
284 0 0 if (exists $cite->{'conference'}{'proceedings_metadata'}{'publication_date'})
288 0 0 if (exists $cite->{'conference'}{'proceedings_series_metadata'}{'publication_date'})
295 0 0 if (exists $cc->{'journal_volume'})
296 0 0 if (exists $cc->{'issue'})
299 0 0 if ($cite->{'book'}{'book_type'} ne 'other') { }
305 0 0 if (exists $cite->{'book'}{'book_series_metadata'}) { }
0 0 elsif (exists $cite->{'book'}{'book_metadata'}) { }
306 0 0 if (exists $cite->{'book'}{'book_series_metadata'}{'titles'}{'title'})
311 0 0 if (exists $cite->{'book'}{'book_series_metadata'}{'publication_date'})
314 0 0 if (exists $cite->{'book'}{'book_metadata'}{'series_metadata'}{'titles'}{'title'})
316 0 0 if (exists $cite->{'book'}{'book_metadata'}{'series_metadata'}{'volume'})
318 0 0 if (exists $cite->{'book'}{'book_metadata'}{'volume'})
319 0 0 if (exists $cite->{'book'}{'book_metadata'}{'publication_date'})
321 0 0 if (exists $cite->{'book'}{'book_set_metadata'}{'titles'}{'title'})
337 0 0 unless (defined $cc)
343 0 0 if (ref $cc->{'titles'} ne 'HASH') { }
350 0 0 if (ref $cc->{'publication_date'} eq 'HASH') { }
355 0 0 if ($d->{'media_type'} eq 'print')
360 0 0 if (not $found and $count > 0)
362 0 0 if (exists do { $cc }->{'pages'})
363 0 0 if (exists do { $$cc{'pages'} }->{'first_page'})
364 0 0 if (exists do { $$cc{'pages'} }->{'last_page'})
367 0 0 if (ref $cc eq 'HASH') { }
373 0 0 if ($au->{'contributor_role'} ne 'author')
388 0 0 if (defined $id)
399 1 0 if ($self->authcount > 0)
412 0 1 unless (defined $id)
413 1 0 unless (defined $add)
416 1 0 if ($self->{'html'}) { }
419 0 1 if ($self->score < 1) { }
429 1 0 if (defined $self->volume)
433 1 0 if (defined $self->issue)
437 1 0 if (defined $self->spage)
440 1 0 if (defined $self->epage)
444 1 0 if (defined $self->doi)
450 0 1 if (defined $self->url)
457 0 0 if (length $id > 0)
458 0 0 if ($self->score < 1) { }
466 0 0 if (defined $self->volume)
468 0 0 if (defined $self->issue)
472 0 0 if (defined $self->spage)
475 0 0 if (defined $self->epage)
478 0 0 if (defined $self->doi)
483 0 0 if (defined $self->url)