Branch Coverage

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


line true false branch
103 2 1 if (defined $deflated_item->{'value'})
114 2 6 if (ref $property_value)
130 1 0 if $item->has_type($type)
142 41 7 unless (&any(sub { $_ eq $url; } , @{$$self{'rels'}{$rel};}))
153 38 4 unless ($current_value = $self->rel_urls->{$url})
158 43 167 if (defined $rel_url_value_ref->{$_} and not defined $current_value->{$_})
168 41 7 unless (&any(sub { $_ eq $rel; } , @{$$current_value{'rels'};}))