Branch Coverage

blib/lib/Net/OAI/ListIdentifiers.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
54 3 2000 unless ($self->{'headerFileHandle'})
56 0 3 unless $self->{'headerFileHandle'} = 'IO::File'->new($self->{'headerFilename'})
59 2 2001 if ($self->{'headerFileHandle'}->eof)
61 0 2 unless $self->{'headerFileHandle'}->close
73 0 23163 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
75 5000 18163 if ($element->{'LocalName'} eq 'header') { }
5 18158 elsif ($element->{'LocalName'} eq 'ListIdentifiers') { }
86 0 23163 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
88 5000 18163 if ($element->{'LocalName'} eq 'header') { }
5 18158 elsif ($element->{'LocalName'} eq 'ListIdentifiers') { }