Condition Coverage

blib/lib/BibTeX/Parser.pm
Criterion Covered Total %
condition 18 36 50.0


and 3 conditions

line !l l&&!r l&&r condition
147 0 2 0 $key ne "j-tugboat" and defined $old_value
2 0 0 $key ne "j-tugboat" and defined $old_value and $old_value ne $value
252 0 0 0 $no_warn_ack and $1 =~ /^ack-/
312 27 2 345 $numbraces != 0 and pos $string < length $string
341 0 0 0 ref $_[0] && $_[0] =~ /.*HASH.*/
360 0 0 0 ref $_[0] && $_[0] =~ /.*ARRAY.*/

or 2 conditions

line l !l condition
19 0 16 $opts || {}
181 2 0 pos $_ || 0
190 0 2 pos $_ || 0
241 0 180 $no_warn_ack ||= 0
255 10 0 $strings_ref->{$1} || ''
329 113 116 pos $string || 0

or 3 conditions

line l !l&&r !l&&!r condition
138 1 1 41 $type eq "COMMENT" or $type eq "PREAMBLE"
302 247 175 16 not defined pos $string or pos $string < length $string