| line | true | false | branch | 
 
| 51 | 0 | 3 | if (defined $ratelimit and $ratelimit >= 0) | 
 
| 70 | 0 | 0 | if ($self->{'html'}) { } | 
 
| 87 | 3 | 2 | if (not defined $doi or length $doi == 0) | 
 
| 90 | 1 | 0 | if ($ref2->doi eq $doi) | 
 
| 94 | 1 | 1 | if (not $found) { } | 
 
| 136 | 0 | 0 | if ($res->is_success) { } | 
 
| 143 | 0 | 0 | if ($len1 != $len2 or $len1 != $len3 or $len2 != $len3) | 
 
| 154 | 0 | 0 | if (length $year == 4 and $r->date ne $1) | 
 
| 174 | 0 | 0 | if ($res->is_success) { } | 
 
| 180 | 0 | 0 | if ($len1 != $len2) | 
 
| 186 | 0 | 0 | if (length $str > 5) | 
 
| 200 | 0 | 0 | if (ref $cite->{'author'} eq 'HASH') { } | 
 
| 219 | 0 | 0 | unless (defined $maxnum) | 
 
| 225 | 0 | 0 | if ($res->is_success) { } | 
 
| 229 | 0 | 0 | if (defined $data->{'r'}) { } | 
 
|  | 0 | 0 | elsif (defined $data->{'article'}) { } | 
 
| 239 | 0 | 0 | if ($maxnum > 0 and $num > $maxnum) | 
 
| 243 | 0 | 0 | if ($ee =~ /dx.doi.org/) | 
 
| 248 | 0 | 0 | if ($r->score >= 1) | 
 
| 249 | 0 | 0 | if (not defined $r->authcount or $r->authcount == 0) | 
 
| 258 | 0 | 0 | if (defined $cite->{'journal'}) { } | 
 
|  | 0 | 0 | elsif (defined $cite->{'booktitle'}) { } | 
 
| 264 | 0 | 0 | if (ref $cite->{'author'} eq 'HASH') { } | 
 
| 271 | 0 | 0 | if ($r->score >= 1) | 
 
| 279 | 0 | 0 | if (exists $cite->{'publtype'}) { } | 
 
|  | 0 | 0 | elsif ($k[0] =~ /article/) { } | 
 
|  | 0 | 0 | elsif ($k[0] =~ /inproceedings/) { } | 
 
|  | 0 | 0 | elsif ($k[0] =~ /informal/) { } | 
 
| 292 | 0 | 0 | if (defined $cite->{'volume'}) | 
 
| 293 | 0 | 0 | if (defined $cite->{'number'}) | 
 
| 294 | 0 | 0 | if (defined $cite->{'pages'}) | 
 
| 296 | 0 | 0 | if (defined $bits[0]) | 
 
| 297 | 0 | 0 | if (defined $bits[1]) | 
 
| 299 | 0 | 0 | if ($cite->{'ee'} =~ m[^http://]) | 
 
| 318 | 0 | 0 | if (ref $c eq 'HASH') { } | 
 
| 320 | 0 | 0 | if ($c->{'work-external-identifier-type'} =~ /doi/) | 
 
| 327 | 0 | 0 | if ($id->{'work-external-identifier-type'} =~ /doi/) | 
 
| 344 | 0 | 0 | if (ref $c eq 'HASH') { } | 
 
| 346 | 0 | 0 | if ($c->{'contributor-attributes'}{'contributor-role'} =~ /author/) | 
 
| 350 | 0 | 0 | if ($au->{'contributor-attributes'}{'contributor-role'} =~ /author/) | 
 
| 363 | 0 | 0 | if (defined $c) | 
 
| 366 | 0 | 0 | if (ref $c eq 'HASH') { } | 
 
| 368 | 0 | 0 | if ($c->{'contributor-attributes'}{'contributor-role'} =~ /author/) | 
 
| 375 | 0 | 0 | if ($au->{'contributor-attributes'}{'contributor-role'} =~ /author/) | 
 
| 382 | 0 | 0 | if ($authcount > 0) | 
 
| 385 | 0 | 0 | if (defined $entry) | 
 
| 399 | 0 | 0 | if ($res->is_success) { } | 
 
| 406 | 0 | 0 | if ($cite->{'work-citation'}{'work-citation-type'} =~ /bibtex/) | 
 
| 412 | 0 | 0 | unless ($entry->parse_ok) | 
 
| 415 | 0 | 0 | if (defined $doi and length $doi > 5) | 
 
| 419 | 0 | 0 | if ($r->score >= 1) | 
 
| 420 | 0 | 0 | if (not defined $r->authcount or $r->authcount == 0) | 
 
| 430 | 0 | 0 | if (exists $cite->{'publication-date'}{'year'}) | 
 
| 431 | 0 | 0 | if (exists $cite->{'work-title'}{'title'}) | 
 
| 432 | 0 | 0 | if (exists $cite->{'journal-title'}) | 
 
| 435 | 0 | 0 | if (length $temp > 10 and length $date > 0 and length($atitle) + length($auth) > 0) | 
 
| 438 | 0 | 0 | if ($r->score >= 1) | 
 
| 447 | 0 | 0 | if (exists $cite->{'work-type'}) | 
 
| 467 | 0 | 0 | if ($item->{'Name'} eq $name) | 
 
| 483 | 0 | 0 | if ($res->is_success) | 
 
| 484 | 0 | 0 | if $res->decoded_content =~ m[(\S+)] | 
 
| 485 | 0 | 0 | if $res->decoded_content =~ m[(\d+)] | 
 
| 488 | 0 | 0 | if ($res->is_success) | 
 
| 494 | 0 | 0 | if (ref $c ne 'ARRAY') | 
 
| 497 | 0 | 0 | if (defined $doi) | 
 
| 519 | 0 | 0 | if (ref $aulist ne 'ARRAY') { } | 
 
| 558 | 0 | 1 | unless (defined $r and defined $entry and $entry->parse_ok) | 
 
| 574 | 0 | 1 | unless (defined $r and defined $entry and $entry->parse_ok) | 
 
| 577 | 0 | 1 | if ($genre eq 'inproceedings' or $genre eq 'proceedings') { } | 
 
| 582 | 1 | 0 | if (defined $entry->field('title')) | 
 
| 583 | 1 | 0 | if (defined $entry->author) | 
 
| 584 | 1 | 0 | if (defined $entry->field('url')) | 
 
| 585 | 1 | 0 | if (defined $entry->field('year')) | 
 
| 586 | 1 | 0 | if (defined $entry->field('volume')) | 
 
| 587 | 0 | 1 | if (defined $entry->field('issue')) | 
 
| 588 | 0 | 1 | if (defined $entry->field('pages')) | 
 
| 591 | 0 | 0 | if (defined $s) | 
 
| 592 | 0 | 0 | if (defined $e) | 
 
| 594 | 1 | 0 | if (defined $entry->field('journal')) { } | 
 
|  | 0 | 0 | elsif (defined $entry->field('booktitle')) { } | 
 
| 599 | 0 | 1 | if (defined $entry->field('doi')) | 
 
| 607 | 1 | 0 | unless (defined $opt) | 
 
| 611 | 0 | 1 | unless ($entry->parse_ok) | 
 
| 613 | 0 | 0 | if (defined $doi and length $doi > 5 and $opt) | 
 
| 617 | 0 | 0 | if ($r->score >= 1) | 
 
| 618 | 0 | 0 | if (not defined $r->authcount or $r->authcount == 0) | 
 
| 646 | 0 | 0 | if (length $line < 5) | 
 
| 690 | 0 | 2 | if ($self->num == 0) | 
 
| 692 | 1 | 1 | if ($self->{'html'}) | 
 
| 694 | 1 | 1 | if ($self->{'html'}) { } | 
 
| 698 | 1 | 1 | if ($self->{'html'}) | 
 
| 708 | 0 | 1 | if ($self->num_nodoi == 0) | 
 
| 710 | 0 | 1 | if ($self->{'html'}) | 
 
| 712 | 0 | 1 | if ($self->{'html'}) { } | 
 
| 715 | 0 | 1 | if ($self->{'html'}) | 
 
| 725 | 0 | 1 | if ($self->num == 0 and $self->num_nodoi == 0) | 
 
| 734 | 0 | 1 | if ($self->num_nodoi > 0) |