Branch Coverage

blib/lib/PBib/ReferenceConverter.pm
Criterion Covered Total %
branch 53 80 66.2


line true false branch
52 0 1 $minor < 10 ? :
94 0 2 if $args{'verbose'}
97 0 2 if $args{'verbose'} and $args{'verbose'} > 1
108 2 0 if defined $self->refStyle
109 2 0 if defined $self->labelStyle
110 2 0 if defined $self->bibStyle
111 2 0 if defined $self->itemStyle
149 30 2 if $$self{'messages'}
160 0 6 unless $$self{'quiet'}
166 0 24 if $$self{'verbose'}
180 0 0 $_ > 255 ? :
216 448 16 if defined $$refs{$ref}
232 4 112 unless defined $$refs{$ref}
255 1099 2 if defined $$self{'foundInfo'}
303 972 115 unless $par =~ /\[/
308 116 46 unless defined $$foundInfo{$ref}
310 111 51 unless defined $$parInfo{$i}
340 0 2 if $inDoc
341 0 2 if $outDoc
343 0 2 unless $inDoc
378 111 976 if (exists $self->parInfo->{$i})
379 0 111 unless $$self{'quiet'}
391 0 1087 if ($final)
392 0 0 unless $$self{'quiet'}
394 0 0 if ($par =~ /($todoMarker)/)
414 2 135 if ($text =~ /^$bibPattern$/) { }
0 135 elsif ($text =~ /^$optionPattern$/) { }
116 19 elsif ($text =~ /^$refPattern$/) { }
2 17 elsif ($text =~ /^$todoPattern$/) { }
433 2 2 unless defined $$self{'todo'}
474 2984 0 if ($ref) { }
477 584 2400 if (exists $$ref{'CrossRef'})
493 874 1624 unless ($e)
494 0 874 if ($check)
496 0 0 if $self->refOptions->{'debug-undef-entries'}
501 4 1620 if ($e eq '{}')
504 1620 0 defined $e && $e ne '' ? :
534 574 10 if (exists $$ref{'CrossRef__expanded__'})
539 0 10 if (not defined $$ref{'CiteType'} and defined $$xref{'CiteType'})
546 37 91 unless (exists $$ref{$entry})