Condition Coverage

blib/lib/Text/BibTeX/Structure.pm
Criterion Covered Total %
condition 6 36 16.6


and 3 conditions

line !l l&&!r l&&r condition
579 0 0 9 @$constraint == 3 and ref $fields eq 'ARRAY'
582 0 0 9 $min >= 0 and $max >= $min
0 0 9 $min >= 0 and $max >= $min and $max <= @$fields
1076 0 0 0 $min == 0 and $max > 0
0 0 0 $min < @$fields and $max == @$fields
1153 0 0 0 $self->check_required_fields($warn, $coerce) && $self->check_field_constraints($warn, $coerce)

or 3 conditions

line l !l&&r !l&&!r condition
506 0 1 0 delete $options{'module'} || 'Text::BibTeX::' . $name
519 0 1 0 $structure_class ||= $module . 'Structure'
520 0 1 0 $entry_class ||= $module . 'Entry'
987 0 0 0 $coerce || $num_errors == 0
1072 0 0 0 $num_seen < $min or $num_seen > $max
1130 0 0 0 $coerce || $num_errors == 0