Condition Coverage

blib/lib/PICA/XMLParser.pm
Criterion Covered Total %
condition 3 28 10.7


and 3 conditions

line !l l&&!r l&&r condition
147 0 0 0 $$self{'limit'} && $self->counter >= $$self{'limit'}
172 0 0 0 $ns and $ns ne $PICA::Record::XMLNAMESPACE
197 0 0 0 $occurrence and not $occurrence =~ /$PICA::Field::FIELD_OCCURRENCE_REGEXP/
247 0 0 0 $$self{'offset'} && $$self{'read_counter'} < $$self{'offset'}

or 2 conditions

line l !l condition
25 0 3 $params{'Limit'} || 0
0 3 $params{'Offset'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
23 0 3 0 ref $class || $class
117 0 0 0 ref $file eq 'GLOB' or eval { do { $file->isa('IO::Handle') } }
174 0 0 0 $name eq 'field' or $name eq 'datafield'
220 0 0 0 $name eq 'field' or $name eq 'datafield'