Branch Coverage

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


line true false branch
104 603 0 if (grep /$sub/, @OAI_DC_ELEMENTS)
105 0 603 if (wantarray) { }
119 0 0 unless $self->{$element}
132 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) { }
148 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/) { }
163 27559 1204 if $self->{'_insideRecord'}