Branch Coverage

blib/lib/Net/OAI/Error.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
38 29 5 unless exists $self->{'errorCode'}
39 29 5 unless exists $self->{'errorString'}
104 0 58 if ($code)
117 0 4 if ($str)
131 9 27 exists $self->{'HTTPError'} ? :
145 0 0 exists $self->{'HTTPRetryAfter'} ? :
175 34532 32380 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
178 28 32352 if ($tagName eq 'request') { }
28 32324 elsif ($tagName eq 'responseDate') { }
4 32320 elsif ($tagName eq 'error') { }
182 0 67 if $_->{'Prefix'}
203 34532 32380 unless $element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/'
206 28 32352 if ($tagName eq 'request') { }
28 32324 elsif ($tagName eq 'responseDate') { }
4 32320 elsif ($tagName eq 'error') { }
225 60 141199 if (exists $self->{'_insideSelf'}) { }