Branch Coverage

blib/lib/PBib/BibItemStyle.pm
Criterion Covered Total %
branch 62 178 34.8


line true false branch
52 0 1 $minor < 10 ? :
91 0 0 defined $opt ? :
238 0 242 unless (defined $Type)
244 18 218 if (exists $PBib::BibItemStyle::CiteTypeAliases{$Type})
247 236 0 if (exists $PBib::BibItemStyle::SupportedCiteTypes{$Type})
264 0 112 unless defined $blocks
265 0 112 if $self->option('debug-blocks')
267 338 0 ref $_ eq 'ARRAY' ? :
272 0 112 if ($self->includeLabel)
295 112 0 if ($self->itemBookmark)
304 298 62 ref $_ eq 'ARRAY' ? :
305 162 176 unless @sentence
314 0 298 unless $phrases
315 0 298 unless @{$phrases;}
342 0 112 if $self->option('debug-sortkey')
353 0 0 unless defined $names
362 118 0 unless defined $initials_space
363 118 0 unless defined $etal_no
366 0 118 if ($n[-1] eq 'et al.')
373 0 118 if ($etal)
388 0 0 unless $initials
400 2 302 unless $initials
425 6 6 if ($default_type eq $self->CiteType)
428 6 0 if defined $default
443 0 0 unless @all_names
453 0 4 unless $names
459 0 0 if $names
460 0 0 $org ? :
465 0 0 if $names
466 0 0 $org ? :
471 112 0 $Year ? :
476 112 0 $Title ? :
482 0 112 if ($self->entryNotEmpty('Key'))
483 0 0 if $self->forceKey
484 0 0 unless $self->forceKey
486 2 110 unless $notempty
488 110 2 if $notempty
489 0 112 if ($self->includeLabel)
507 0 0 unless defined $eds
510 0 0 $num == 1 ? :
0 0 $num == 0 ? :
517 4 0 $self->entryNotEmpty('Authors') ? :
524 0 0 $Title ? :
535 2 0 $Title ? :
543 10 66 $Volume ? :
551 4 0 $Series ? :
4 0 $Volume ? :
563 0 0 $Number ? :
574 68 8 unless (defined $Number)
576 8 0 $Series ? :
587 4 76 if ($series and not $number)
595 78 2 unless defined $Edition
599 2 0 unless defined $num
605 0 0 $Year ? :
0 0 $Year && $Month ? :
610 64 0 $self->multi_page_check($Pages) ? :
64 8 $Pages ? :
621 0 0 unless $Volume or $Number
624 0 0 $Volume ? :
0 0 $Number ? :
0 0 $Pages ? :
631 72 2 unless $Chapter
633 0 2 $Pages ? :
640 0 0 $SuperTitle ? :
646 0 0 $SuperTitle ? :
647 0 0 unless $SuperTitle
648 0 0 $self->entryNotEmpty('Editors') ? :
656 0 6 $Number ? :
665 0 14 $self->entryNotEmpty('Address') ? :
691 0 0 if ($self->entryNotEmpty('HowPublished'))
694 0 0 if ($self->entryNotEmpty('SuperTitle'))
704 114 0 unless defined $lang
706 0 0 $lang eq $default_lang ? :
714 0 0 $date ? :
718 50 62 unless $url
736 112 0 $include{'URL'} ? :
112 0 $include{'Annote'} ? :
845 0 0 $self->entryNotEmpty('Organization') || $self->entryNotEmpty('Publisher') ? :
0 0 $self->entryNotEmpty('Address') || $self->entryNotEmpty('Location') ? :
892 0 0 if ($author)
894 0 0 $org || $addr ? :
913 0 0 if ($org)
928 0 0 if ($addr)
1004 0 0 $editor ? :
0 0 $editor ? :
0 0 $org || $publ ? :
0 0 $publ ? :
0 0 $editor ? :
0 0 $addr ? :