Branch Coverage

blib/lib/HTTP/OAI/Record.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
32 1 0 if defined $self->metadata
40 32 165 unless ($self->{'in_record'})
43 0 32 if ($elem eq 'record' and $hash->{'Attributes'}{'{}status'}{'Value'}) { }
10 22 elsif ($elem eq 'header') { }
12 10 elsif ($elem =~ /^metadata|about$/) { }
70 22 175 if ($self->{'in_record'} == $hash->{'Depth'})