Branch Coverage

blib/lib/Text/BibTeX/BibFormat.pm
Criterion Covered Total %
branch 26 60 43.3


line true false branch
77 0 0 length $s2 < 3 ? :
88 2 0 unless ref $markup eq 'ARRAY' and @$markup == 2
90 0 2 unless defined $markup
93 2 0 $self->exists($field) ? :
103 23 0 unless ref $markup eq 'ARRAY' and @$markup == 2
105 0 23 unless defined $markup
119 0 9 unless $self->exists('author')
131 0 0 unless $self->exists('editor')
133 0 0 @editors == 1 ? :
145 0 9 unless $order eq 'first' or $order eq 'last'
147 0 9 unless $style =~ /^(full|abbrev|nopunct|nospace)$/
150 3 6 $order eq 'first' ? :
153 4 5 if $style eq 'nopunct' or $style eq 'nospace'
155 3 6 if $style eq 'nospace'
161 0 16 if $name eq 'others'
174 6 1 if $lower
228 0 0 if ($pages =~ /[,+-]/) { }
246 7 0 if defined $vol
247 0 7 if defined $num
248 7 0 if defined $pages
258 0 2 if ($self->exists('volume')) { }
261 0 0 if $self->exists('series')
276 0 2 if ($self->exists('volume')) { }
284 0 2 if ($self->exists('number')) { }
288 0 0 $mid_sentence ? :
290 0 0 if ($self->exists('series')) { }
315 2 0 unless $self->exists('edition')
316 0 0 $mid_sentence ? :
424 2 0 $self->exists('author') ? :
473 0 9 unless ($method)