Branch Coverage

blib/lib/XML/OPDS.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
288 0 0 if (ref $entries eq 'ARRAY')
298 0 19 unless $navs and @$navs
314 47 3 if ($uniques{$rel}) { }
326 19 0 if (my $acquisitions = (shift())->acquisitions) { }
338 2 39 if ($nav->rel =~ /\A(next|previous|first|last)\z/)
351 0 19 unless $main
358 2 28 if (ref $nav eq 'ARRAY') { }
367 2 17 if (my $icon = $self->icon)
370 2 17 if (my $logo = $self->logo)
373 19 0 if (my $author_name = $self->author)
376 19 0 if (my $author_uri = $self->author_uri)
384 13 6 if (my $pager = $self->search_result_pager)
388 12 1 if (my $term = $self->search_result_terms)
399 17 2 if ($self->is_acquisition) { }
404 0 0 if $rels{$link->rel}
406 15 2 unless ($self->_is_paged)
444 6 0 if ($navigation->rel eq 'self')