Branch Coverage

blib/lib/Net/OAI/ResumptionToken.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
42 0 24 if ($token)
52 1 4 if ($date)
62 1 4 if ($size)
72 1 4 if ($cursor)
89 0 4400 unless defined $self
90 4400 0 if $self->get_handler
97 34377 32217 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
99 12 32205 if ($element->{'LocalName'} eq 'resumptionToken') { }
0 32205 elsif ($self->{'_insideResumptionToken'}) { }
101 0 12 if $attr->{'{}expirationDate'}
102 12 0 if $attr->{'{}completeListSize'}
103 12 0 if $attr->{'{}cursor'}
115 34377 32217 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
117 12 32205 if ($element->{'LocalName'} eq 'resumptionToken') { }
0 32205 elsif ($self->{'_insideResumptionToken'}) { }
130 12 140624 if ($self->{'_insideResumptionToken'}) { }