Condition Coverage

blib/lib/Net/OAI/Harvester.pm
Criterion Covered Total %
condition 11 27 40.7


and 3 conditions

line !l l&&!r l&&r condition
339 6 2 0 $opts{'recordHandler'} and $opts{'metadataHandler'}
450 7 2 0 $opts{'recordHandler'} and $opts{'metadataHandler'}
714 0 0 29 $parser and ref $parser
723 0 0 0 $parser and ref $parser

or 2 conditions

line l !l condition
670 0 5 $response->header('Retry-After') || ''
684 0 0 $response->header('Retry-After') || ''
692 0 0 $response->header('Retry-After') || ''

or 3 conditions

line l !l&&r !l&&!r condition
186 0 22 0 ref $class || $class
448 8 1 0 exists $opts{'metadataPrefix'} or defined $opts{'resumptionToken'}
522 5 1 0 exists $opts{'metadataPrefix'} or defined $opts{'resumptionToken'}