Branch Coverage

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


line true false branch
53 3 2000 unless ($self->{'headerFileHandle'})
55 0 3 unless $self->{'headerFileHandle'} = 'IO::File'->new($self->{'headerFilename'})
58 2 2001 if ($self->{'headerFileHandle'}->eof)
60 0 2 unless $self->{'headerFileHandle'}->close
72 0 23163 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
74 5000 18163 if ($element->{'LocalName'} eq 'header') { }
5 18158 elsif ($element->{'LocalName'} eq 'ListIdentifiers') { }
85 0 23163 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
87 5000 18163 if ($element->{'LocalName'} eq 'header') { }
5 18158 elsif ($element->{'LocalName'} eq 'ListIdentifiers') { }