Branch Coverage

blib/lib/Net/OAI/Error.pm
Criterion Covered Total %
branch 28 34 82.3


line true false branch
37 28 5 unless exists $self->{'errorCode'}
38 28 5 unless exists $self->{'errorString'}
103 0 54 if ($code)
116 0 4 if ($str)
130 9 24 exists $self->{'HTTPError'} ? :
144 0 0 exists $self->{'HTTPRetryAfter'} ? :
169 0 4449 unless $self->get_handler
175 34515 32370 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
178 27 32343 if ($tagName eq 'request') { }
27 32316 elsif ($tagName eq 'responseDate') { }
4 32312 elsif ($tagName eq 'error') { }
182 0 64 if $_->{'Prefix'}
203 34515 32370 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
206 27 32343 if ($tagName eq 'request') { }
27 32316 elsif ($tagName eq 'responseDate') { }
4 32312 elsif ($tagName eq 'error') { }
225 58 141144 if (exists $self->{'_insideSelf'}) { }