Condition Coverage

blib/lib/PICA/Field.pm
Criterion Covered Total %
condition 15 27 55.5


and 3 conditions

line !l l&&!r l&&r condition
93 4088 0 0 $tag_filter_func and not &$tag_filter_func($tagno)
149 0 0 1 $occurrence >= 0 and $occurrence <= 99
300 0 0 6 @_ and UNIVERSAL::isa($self, 'PICA::Field')
346 0 4 3 defined $_ and $_ ne ''
554 1 13 4364 defined $tagno and $tagno =~ /$FIELD_TAG_REGEXP/
555 1254 0 3124 defined $occurrence and $occurrence =~ /$FIELD_OCCURRENCE_REGEXP/

or 3 conditions

line l !l&&r !l&&!r condition
34 4088 66 0 ref $class || $class
78 0 4088 0 ref $class || $class
424 1379 0 2 not $subfields or $code =~ /^[$subfields]$/