Branch Coverage

blib/lib/Web/Sitemap/Url.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
20 0 50044 if @bad_keys
28 50041 3 if (not ref $data) { }
3 0 elsif (ref $data eq 'HASH') { }
29 0 50041 unless defined $data
34 0 3 unless (defined $data->{'loc'})
55 0 50044 $self->{'changefreq'} ? :
0 50044 $self->{'mobile'} ? :
66 3 50041 if (defined $self->{'images'})
69 4 4 ref $image eq 'HASH' ? :
72 4 4 if (ref $image eq 'HASH' and defined $image->{'caption'}) { }
2 2 elsif (defined $self->{'images'}{'caption_format_simple'}) { }
2 0 elsif (defined $self->{'images'}{'caption_format'}) { }