Branch Coverage

blib/lib/MARC/Crosswalk/DublinCore.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
484 0 3 if $options{'qualified'}
506 1 4 if @_
521 0 2 unless $marc->isa('MARC::Record')
523 1 1 $self->qualified ? :
527 4 333 $$rule{'tag'} eq 'Leader' ? :
528 0 30 unless defined $field
530 26 4 ref $field ? :
532 0 30 if ($$rule{'subfield_eq'})
535 0 0 unless $field->subfield(shift @eq) eq shift @eq
538 6 24 if ($$rule{'indicators'})
540 6 6 unless defined $$rule{'indicators'}[$_]
541 3 3 unless $field->indicator($_ + 1) == $$rule{'indicators'}[$_]
545 7 23 if ($$rule{'code'})
549 24 6 if ($content)
571 0 0 unless $dc->isa('DublinCore::Record')
573 0 0 $self->qualified ? :