Branch Coverage

blib/lib/Web/Microformats2/Document.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
101 2 1 if (defined $deflated_item->{'value'})
112 2 6 if (ref $property_value)
128 1 0 if $item->has_type($type)
140 41 7 unless (&any(sub { $_ eq $url; } , @{$$self{'rels'}{$rel};}))
151 38 4 unless ($current_value = $self->rel_urls->{$url})
156 43 167 if (defined $rel_url_value_ref->{$_} and not defined $current_value->{$_})
166 41 7 unless (&any(sub { $_ eq $rel; } , @{$$current_value{'rels'};}))