Condition Coverage

blib/lib/HTTP/OAI/Repository.pm
Criterion Covered Total %
condition 11 22 50.0


and 3 conditions

line !l l&&!r l&&r condition
75 8 1 0 defined $params{'from'} and defined $params{'until'}
87 19 5 0 $type == 2 and defined $params{$arg}
119 18 6 0 $type == 1 and !defined($params{$arg}) || $params{$arg} eq ''

or 2 conditions

line l !l condition
147 1 0 $2 || 1
1 0 $3 || 1

or 3 conditions

line l !l&&r !l&&!r condition
119 0 0 6 !defined($params{$arg}) || $params{$arg} eq ''
148 0 0 1 $m < 1 or $m > 12
149 0 0 1 $d < 1 or $d > 31