Branch Coverage

blib/lib/Bib/CrossRef.pm
Criterion Covered Total %
branch 13 106 12.2


line true false branch
51 0 1 if ($self->{'html'}) { }
223 0 1 if ($res->is_success) { }
234 0 0 if (exists $json->[0]{'coins'})
241 0 0 if ($pieces[0] =~ /au$/)
266 0 0 if ($res->is_success) { }
272 0 0 if (exists $cite->{'conference'}) { }
0 0 elsif (exists $cite->{'journal'}) { }
0 0 elsif (exists $cite->{'book'}) { }
274 0 0 if (exists $cite->{'conference'}{'proceedings_metadata'}) { }
276 0 0 if (exists $cite->{'conference'}{'proceedings_metadata'}{'publication_date'})
280 0 0 if (exists $cite->{'conference'}{'proceedings_series_metadata'}{'publication_date'})
287 0 0 if (exists $cc->{'journal_volume'})
288 0 0 if (exists $cc->{'issue'})
291 0 0 if ($cite->{'book'}{'book_type'} ne 'other') { }
297 0 0 if (exists $cite->{'book'}{'book_series_metadata'}) { }
0 0 elsif (exists $cite->{'book'}{'book_metadata'}) { }
298 0 0 if (exists $cite->{'book'}{'book_series_metadata'}{'titles'}{'title'})
303 0 0 if (exists $cite->{'book'}{'book_series_metadata'}{'publication_date'})
306 0 0 if (exists $cite->{'book'}{'book_metadata'}{'series_metadata'}{'titles'}{'title'})
308 0 0 if (exists $cite->{'book'}{'book_metadata'}{'series_metadata'}{'volume'})
310 0 0 if (exists $cite->{'book'}{'book_metadata'}{'volume'})
311 0 0 if (exists $cite->{'book'}{'book_metadata'}{'publication_date'})
313 0 0 if (exists $cite->{'book'}{'book_set_metadata'}{'titles'}{'title'})
329 0 0 unless (defined $cc)
335 0 0 if (ref $cc->{'titles'} ne 'HASH') { }
342 0 0 if (ref $cc->{'publication_date'} eq 'HASH') { }
347 0 0 if ($d->{'media_type'} eq 'print')
352 0 0 if (not $found and $count > 0)
354 0 0 if (exists do { $cc }->{'pages'})
355 0 0 if (exists do { $$cc{'pages'} }->{'first_page'})
356 0 0 if (exists do { $$cc{'pages'} }->{'last_page'})
359 0 0 if (ref $cc eq 'HASH') { }
365 0 0 if ($au->{'contributor_role'} ne 'author')
380 0 0 if (defined $id)
391 1 0 if ($self->authcount > 0)
404 0 1 unless (defined $id)
405 1 0 unless (defined $add)
408 1 0 if ($self->{'html'}) { }
411 0 1 if ($self->score < 1) { }
421 1 0 if (defined $self->volume)
425 1 0 if (defined $self->issue)
429 1 0 if (defined $self->spage)
432 1 0 if (defined $self->epage)
436 1 0 if (defined $self->doi)
442 0 1 if (defined $self->url)
449 0 0 if (length $id > 0)
450 0 0 if ($self->score < 1) { }
458 0 0 if (defined $self->volume)
460 0 0 if (defined $self->issue)
464 0 0 if (defined $self->spage)
467 0 0 if (defined $self->epage)
470 0 0 if (defined $self->doi)
475 0 0 if (defined $self->url)