Branch Coverage

blib/lib/Net/OAI/Record/OAI_DC.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
105 603 0 if (grep /$sub/, @OAI_DC_ELEMENTS)
106 0 603 if (wantarray) { }
120 0 0 unless $self->{$element}
133 601 12056 if ($element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/oai_dc/' and $elname eq 'dc') { }
0 12056 elsif ($element->{'NamespaceURI'} ne 'http://purl.org/dc/elements/1.1/') { }
12056 0 elsif (grep /$elname/, @OAI_DC_ELEMENTS) { }
149 601 12056 if ($element->{'NamespaceURI'} eq 'http://www.openarchives.org/OAI/2.0/oai_dc/' and $elname eq 'dc') { }
0 12056 elsif ($element->{'NamespaceURI'} ne 'http://purl.org/dc/elements/1.1/') { }
12056 0 elsif (grep /$elname/, @OAI_DC_ELEMENTS) { }
0 0 elsif ($self->{'chars'} =~ /\S/) { }
164 27559 1204 if $self->{'_insideRecord'}