Branch Coverage

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


line true false branch
43 0 24 if ($token)
53 1 4 if ($date)
63 1 4 if ($size)
73 1 4 if ($cursor)
90 0 4400 unless defined $self
91 4400 0 if $self->get_handler
98 34377 32217 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
100 12 32205 if ($element->{'LocalName'} eq 'resumptionToken') { }
0 32205 elsif ($self->{'_insideResumptionToken'}) { }
102 0 12 if $attr->{'{}expirationDate'}
103 12 0 if $attr->{'{}completeListSize'}
104 12 0 if $attr->{'{}cursor'}
116 34377 32217 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
118 12 32205 if ($element->{'LocalName'} eq 'resumptionToken') { }
0 32205 elsif ($self->{'_insideResumptionToken'}) { }
131 12 140624 if ($self->{'_insideResumptionToken'}) { }